/* ===========================================
   MESRÉSERVATIONS & MDPOUBLI - Master-Village FONCÉ
   =========================================== */

/* RESET BODY */
body.reservations-fond {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh;
    background-image: url(fondiaordi.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: 'Arial', sans-serif;
    color: white;
    font-weight: bold;
    overflow-x: hidden;
}

/* TOP BANNER */
.top-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 0;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.h1inscri {
    font-size: 24px;
    margin: 0;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* FOOTER NAV */
.footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.5);
}

.footer-nav .lignecobis {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-nav .lignecobis li {
    margin: 0;
}

.footer-nav .lignecobis a {
    color: #F4D03F;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 25px;
    border-radius: 25px;
    background: rgba(244, 208, 63, 0.15);
    transition: all 0.3s ease;
    border: 1px solid rgba(244, 208, 63, 0.3);
    display: inline-block;
}

.footer-nav .lignecobis a:hover {
    background: #F4D03F;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 208, 63, 0.4);
}

/* CONFIRMATION MESSAGE (mesreservations.php) */
.confirmation-message {
    text-align: center;
    margin: 80px 20px 20px;
}

.confirmation-message p {
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
}

.confirmation-message p[style*="color: green"] {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
}

.confirmation-message p[style*="color: red"] {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
}

/* ERROR MESSAGE (mdpoubli.php) */
.error-message {
    text-align: center;
    margin: 10px 0;
    font-size: 14px;
    color: #ff4d4d;
    background: rgba(255, 77, 77, 0.1);
    padding: 10px;
    border-radius: 10px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* SECTIONS (mesreservations.php) */
.reservations-received, .reservations-sent {
    margin: 20px;
    padding: 80px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* RECUP SECTION (mdpoubli.php) */
.recup-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    padding: 80px 20px 60px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.containerRecup {
    background: rgba(20, 25, 35, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recup-info {
    font-size: 16px;
    color: #e0e0e0;
    text-align: center;
    margin-bottom: 20px;
}

.recup-info strong {
    color: #F4D03F;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    color: #e0e0e0;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    text-align: left;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 16px;
    color: white;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #F4D03F;
    box-shadow: 
        0 0 0 3px rgba(244, 208, 63, 0.2),
        inset 0 1px 0 rgba(244, 208, 63, 0.2);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.submit-button {
    background: linear-gradient(45deg, #F4D03F, #ffed4e);
    color: #333;
    font-weight: bold;
    font-size: 14px;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 208, 63, 0.4);
}

/* SECTIONS (mesreservations.php) */
.section-title {
    font-size: 20px;
    color: #F4D03F;
    margin: 0 0 20px;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.reservations-container {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* CONTAINER ANN (mesreservations.php) */
.containerAnn {
    background: rgba(20, 25, 35, 0.95);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.containerAnn p {
    margin: 10px 0;
    font-size: 16px;
    color: white;
}

#ras {
    color: #F4D03F;
    font-weight: bold;
    font-size: 16px;
    margin: 0;
}

.premiere-ligne {
    font-size: 18px;
    font-weight: bold;
    color: #F4D03F;
}

.p-annonce {
    font-size: 16px;
    margin: 10px 0;
}

.styleannonce {
    font-size: 14px;
    color: #e0e0e0;
    margin: 10px 0;
}

.bronoff {
    display: none;
}

/* BUTTON GROUP (mesreservations.php) */
.button-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.modif-button-annonce {
    background: linear-gradient(45deg, #F4D03F, #ffed4e);
    color: #333;
    font-weight: bold;
    font-size: 14px;
    border: none;
    border-radius: 10px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modif-button-annonce:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 208, 63, 0.4);
}

.delete-button-annonce {
    background: linear-gradient(45deg, #ff4d4d, #ff6666);
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    border: none;
    border-radius: 10px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delete-button-annonce:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 77, 77, 0.4);
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 6px;
    background-color: #1A1A1A;
}

::-webkit-scrollbar-thumb {
    background-color: #444444;
    border-radius: 3px;
}

::-webkit-scrollbar-corner {
    background-color: #1A1A1A;
}

/* MOBILE */
@media (max-width: 767px) {
    body.reservations-fond {
        background-image: url(bureauphone.png);
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        padding: 0;
        overflow-x: hidden;
    }

    .top-banner {
        padding: 15px 0;
    }

    .h1inscri {
        font-size: 20px;
    }

    .recup-section {
        margin: 10px;
        padding: 60px 10px 60px;
    }

    .containerRecup {
        width: 100%;
        max-width: 350px;
        padding: 25px 20px;
    }

    .form-group label {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .form-group input {
        padding: 10px 12px;
        font-size: 15px;
    }

    .submit-button {
        padding: 10px;
        font-size: 13px;
    }

    .error-message {
        font-size: 13px;
        padding: 8px;
    }

    /* mesreservations.php */
    .reservations-received, .reservations-sent {
        margin: 10px;
        padding: 60px 10px 60px;
    }

    .reservations-container {
        max-width: 100%;
    }

    .containerAnn {
        margin: 10px;
        padding: 15px;
    }

    .section-title {
        font-size: 18px;
    }

    .p-annonce, .styleannonce {
        font-size: 14px;
    }

    .premiere-ligne {
        font-size: 16px;
    }

    .button-group {
        flex-direction: column;
        gap: 8px;
    }

    .modif-button-annonce, .delete-button-annonce {
        width: 100%;
        padding: 10px;
        font-size: 13px;
    }

    .footer-nav .lignecobis a {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Animation pulse */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.submit-button:hover, .modif-button-annonce:hover, .delete-button-annonce:hover {
    animation: pulse 0.6s ease;
}