/* ============================ */
/* === GENERAL STYLES === */
/* ============================ */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600&display=swap');

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Exo 2', sans-serif;
}

/* Fond d'écran */
body {
   background: url('image_mobile/background_mobile.jpg') no-repeat center center fixed;
    background-size: cover;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    min-height: 100vh;
}


/* ============================ */
/* === MAIN CONTAINER === */
/* ============================ */

.container {
    background: rgba(10, 10, 20, 0.95);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
    width: 90%;
    max-width: 400px;
    text-align: center;
    backdrop-filter: blur(3px);
    margin-top: 20px;
}

/* Titre */
h1 {
    color: #00bfff;
    font-size: 24px;
    margin-bottom: 10px;
}

/* ============================ */
/* === FORM STYLES === */
/* ============================ */

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Labels */
label {
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    display: block;
    margin-bottom: 5px;
}

/* Inputs et Sélecteurs */
input, select {
    padding: 12px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    background: rgba(34, 34, 34, 0.8);
    color: white;
    width: 100%;
    text-align: center;
}

/* Effet au focus */
input:focus, select:focus {
    background: rgba(50, 50, 50, 1);
    outline: none;
    box-shadow: 0 0 8px rgba(0, 191, 255, 0.5);
}

/* ============================ */
/* === BUTTON STYLES === */
/* ============================ */

button {
    background: linear-gradient(45deg, #00bfff, #0088cc);
    color: white;
    font-weight: bold;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

button:hover {
    background: linear-gradient(45deg, #0088cc, #006699);
    box-shadow: 0 0 12px rgba(0, 191, 255, 0.7);
}

/* ============================ */
/* === RESULT DISPLAY === */
/* ============================ */

#result {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    background: rgba(34, 34, 34, 0.9);
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
    display: none; /* Caché par défaut */
}

/* Message de rappel pour Fast et Express */
#transport-reminder {
    margin-top: 10px;
    font-size: 14px;
    color: #ffcc00;
    font-weight: bold;
    display: none; /* Caché par défaut */
}

/* ============================ */
/* === INIT & FREIGHT LOGOS === */
/* ============================ */

/* Conteneur des logos */
.logo-container {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
}

/* INIT Freight Logo */
.freight-logo {
    height: 40px;
    width: auto;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.freight-logo:hover {
    transform: scale(1.08);
}

/* ============================ */
/* === FLOATING DISCORD LOGO === */
/* ============================ */

.discord-banner {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 60px;
    height: auto;
    z-index: 10000;
    transition: transform 0.3s ease-in-out;
}

/* Style du logo Discord */
.discord-banner img {
    width: 100%;
    height: auto;
    background: #5865F2;
    padding: 8px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 2px 0 12px rgba(88, 101, 242, 0.8);
}

/* Effet au survol */
.discord-banner:hover {
    transform: translateY(-50%) scale(1.1);
}

/* ============================ */
/* === FOOTER STYLES === */
/* ============================ */

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 20, 0.95);
    text-align: center;
    padding: 8px 0;
    box-shadow: 0 -2px 10px rgba(0, 191, 255, 0.5);
    z-index: 10000;
}

/* Bouton About */
.about-button {
    color: #00bfff;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    padding: 6px 12px;
    transition: 0.3s;
    display: inline-block;
    border-radius: 5px;
}

.about-button:hover {
    color: #ffcc00;
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.8);
}

/* ============================ */
/* === RESPONSIVE DESIGN === */
/* ============================ */

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 15px;
    }

    h1 {
        font-size: 20px;
    }

    button {
        padding: 10px;
        font-size: 14px;
    }

    input, select {
        padding: 10px;
        font-size: 14px;
    }

    .freight-logo {
        height: 30px;
    }

    .discord-banner {
        width: 50px;
    }

    footer {
        padding: 6px 0;
    }
}

/* ============================ */
/* === ABOUT PAGE STYLES === */
/* ============================ */

.about-container {
    background: rgba(10, 10, 20, 0.95); /* Fond sombre */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
    width: 90%;
    max-width: 400px;
    text-align: center;
    backdrop-filter: blur(3px);
    margin-top: 20px;
}

/* Titre */
h1.about-title {
    color: #00bfff;
    font-size: 22px;
    margin-bottom: 15px;
}

/* ============================ */
/* === TABLE STYLES === */
/* ============================ */

.about-table {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;
    background: rgba(20, 20, 30, 0.95);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

/* En-tête du tableau */
.about-table th {
    background: #00bfff;
    color: white;
    font-size: 18px;
    padding: 10px;
    text-transform: uppercase;
}

/* Contenu des cellules */
.about-table td {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: white;
    text-align: center;
}

/* ============================ */
/* === RETURN BUTTON STYLES === */
/* ============================ */

.return-button {
    display: inline-block;
    background: linear-gradient(45deg, #00bfff, #0088cc);
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    margin-top: 15px;
}

.return-button:hover {
    background: linear-gradient(45deg, #0088cc, #006699);
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.7);
}

/* ============================ */
/* === RETURN BUTTON STYLES === */
/* ============================ */

.return-button {
    display: block; /* Permet de bien l'afficher */
    width: fit-content;
    margin: 15px auto; /* Centre horizontalement */
    background: linear-gradient(45deg, #00bfff, #0088cc);
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: 0.3s;
}

.return-button:hover {
    background: linear-gradient(45deg, #0088cc, #006699);
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.7);
}
