/* ============================= */
/* DASHBOARD RESTAURATEUR         */
/* ============================= */

.dashboard {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.dashboard h1 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 10px;
}

.dashboard h2 {
    text-align: center;
    margin-bottom: 10px;
}

.dashboard > p {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

/* Cartes du dashboard */

.dashboard-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.dashboard-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.10);

    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.dashboard-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    text-decoration: none;
}

.dashboard-card p {
    color: #666;
    line-height: 1.5;
    text-decoration: none;
}


/* ============================= */
/* MOBILE                        */
/* ============================= */

@media (max-width: 700px) {

    .dashboard-menu {
        grid-template-columns: 1fr;
    }

    .dashboard h1 {
        font-size: 32px;
    }

}

/* ============================= */
/* PAGE RESTAURANT               */
/* ============================= */

.restaurant-card {
    max-width: 700px;
    margin: 40px auto;
    background: white;
    padding: 35px;
    border-radius: 15px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.10);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    box-sizing: border-box;

    padding: 12px 15px;

    border: 1px solid #ddd;
    border-radius: 8px;

    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: #555;

    box-shadow: 0 0 5px rgba(0, 0, 0, 0.10);
}

.restaurant-card button {
    display: block;
    width: 100%;

    padding: 14px;

    border: none;
    border-radius: 8px;

    background: #333;
    color: white;

    font-size: 17px;
    cursor: pointer;
}

.restaurant-card button:hover {
    opacity: 0.85;
}

.restaurant-actions {
    margin-top: 20px;
}

.restaurant-actions a {
    display: inline-block;

    padding: 10px 16px;

    border-radius: 8px;

    text-decoration: none;
    font-weight: bold;

    background: #f1f1f1;
    color: #333;
}

/* ============================= */
/* MOBILE                        */
/* ============================= */

@media (max-width: 700px) {

    .restaurant-card {
        margin: 25px 10px;
        padding: 25px 20px;
    }

}

.success-message {
    max-width: 700px;
    margin: 20px auto;
    padding: 15px 20px;

    background: #e8f7e8;
    border-radius: 10px;

    text-align: center;
    font-weight: bold;
}

/* ============================= */
/* PLATS                         */
/* ============================= */

.form-group textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 12px 15px;

    border: 1px solid #ddd;
    border-radius: 8px;

    font-size: 16px;

    resize: vertical;
}

.form-group textarea:focus {
    outline: none;

    border-color: #555;

    box-shadow: 0 0 5px rgba(0, 0, 0, 0.10);
}

/* ============================= */
/* LISTE DES PLATS               */
/* ============================= */

.plats-list {
    max-width: 700px;
    margin: 40px auto;
}

.plats-list h2 {
    margin-bottom: 20px;
}

.plat-card {
    background: white;
    padding: 25px;
    margin-bottom: 20px;

    border-radius: 15px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.10);
}

.plat-card h3 {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 10px;
}

.plat-card p {
    color: #666;
    line-height: 1.5;
}

.plat-price {
    font-size: 20px;
    font-weight: bold;
    margin-top: 15px;
}

.plat-status {
    display: inline-block;

    margin-top: 12px;
    padding: 5px 10px;

    border-radius: 6px;

    font-size: 13px;
    font-weight: bold;
}

.plat-actions {
    margin-top: 20px;
}

.plat-actions a {
    display: inline-block;

    padding: 10px 16px;

    border-radius: 8px;

    text-decoration: none;
    font-weight: bold;

    background: #f1f1f1;
    color: #333;
}

/* ============================= */
/* PAGE DE CONNEXION E-MENU      */
/* ============================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}


/* ============================= */
/* CONTENEUR PRINCIPAL            */
/* ============================= */

.login-page {
    min-height: 100vh;

    display: flex;

    background-color: #f5f5f5;
}


/* ============================= */
/* PARTIE GAUCHE                 */
/* ============================= */

.welcome-section {
    width: 55%;
    min-height: 100vh;

    padding: 60px 80px;

    background-color: #1f6f8b;

    color: white;

    position: relative;

    display: flex;
    flex-direction: column;
}


/* Logo */

.brand {
    font-size: 38px;
    font-weight: 800;

    letter-spacing: 5px;
}


/* Contenu central */

.welcome-content {
    margin-top: auto;
    margin-bottom: auto;

    max-width: 600px;
}

.welcome-title {
    font-size: 48px;

    font-weight: 800;

    line-height: 1.15;

    color: red;

    margin-bottom: 25px;
}

.welcome-description {
    font-size: 19px;

    line-height: 1.6;

    max-width: 500px;

    color: rgba(255, 255, 255, 0.85);
}


/* Décoration */

.food-decoration {
    position: absolute;

    right: 70px;
    bottom: 50px;

    font-size: 100px;

    opacity: 0.25;
}


/* ============================= */
/* PARTIE DROITE                 */
/* ============================= */

.login-section {
    width: 45%;

    min-height: 100vh;

    display: flex;

    justify-content: center;
    align-items: center;

    padding: 50px;
}


/* Carte de connexion */

.login-card {
    width: 100%;
    max-width: 460px;

    background-color: white;

    padding: 50px;

    border-radius: 20px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.10);
}


/* Titre */

.login-card h2 {
    font-size: 32px;

    margin-bottom: 10px;

    color: #222222;
}


/* Description */

.login-description {
    font-size: 15px;

    color: #777777;

    margin-bottom: 35px;
}


/* ============================= */
/* CHAMPS                        */
/* ============================= */

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;

    font-size: 14px;

    font-weight: 600;

    color: #333333;

    margin-bottom: 9px;
}

.input-group input {
    width: 100%;

    height: 52px;

    padding: 0 16px;

    border: 1px solid #dddddd;

    border-radius: 10px;

    font-size: 15px;

    outline: none;

    transition: 0.2s;
}

.input-group input:focus {
    border-color: #1f6f8b;

    box-shadow: 0 0 0 3px rgba(31, 111, 139, 0.12);
}


/* ============================= */
/* BOUTON                       */
/* ============================= */

.login-button {
    width: 100%;

    height: 52px;

    border: none;

    border-radius: 10px;

    background-color: #1f6f8b;

    color: white;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.2s;
}

.login-button:hover {
    background-color: #17566b;

    transform: translateY(-2px);
}


/* ============================= */
/* FOOTER                        */
/* ============================= */

.footer-text {
    text-align: center;

    margin-top: 30px;

    font-size: 13px;

    color: #999999;
}


/* ============================= */
/* TELEPHONE                     */
/* ============================= */

@media (max-width: 800px) {

    .login-page {
        flex-direction: column;
    }

    .welcome-section {
        width: 100%;

        min-height: 40vh;

        padding: 35px;
    }

    .welcome-content {
        margin-top: 60px;
        margin-bottom: 30px;
    }

    .welcome-title {
        font-size: 34px;
    }

    .welcome-description {
        font-size: 16px;
    }

    .food-decoration {
        display: none;
    }

    .login-section {
        width: 100%;

        min-height: 60vh;

        padding: 30px 20px;
    }

    .login-card {
        padding: 35px 25px;
    }
}