/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== HEADER ===== */
header {
    background: #ffffff;
    color: #333;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 150px;
    width: auto;
    border-radius: 50%;
    object-fit: cover;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    color: #333;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

nav ul li a:hover,
nav ul li a.active {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

/* ===== HERO SECTION (Accueil) ===== */
.hero {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/background.jpg') no-repeat center center/cover;
    filter: brightness(0.55);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 900px;
    padding: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.9;
    line-height: 1.8;
}

/* ===== SEARCH BOX ===== */
.search-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 20px;
}

.search-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
    justify-content: center;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 130px;
    flex: 1;
}

.search-field label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-field label i {
    color: #e74c3c;
    margin-right: 5px;
}

.search-field input,
.search-field select {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    outline: none;
    transition: all 0.3s ease;
}

.search-field input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-field input:focus,
.search-field select:focus {
    border-color: #e74c3c;
    background: rgba(255, 255, 255, 0.25);
}

.search-field select option {
    background: #333;
    color: white;
}

.search-field input#date-range {
    min-width: 140px;
    width: 100%;
    font-size: 0.85rem;
}

.btn-search {
    padding: 10px 20px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 41px;
    white-space: nowrap;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.btn {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
}

.login-section {
    padding: 80px 20px 40px;
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: #f9f9f9;
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 440px;
    padding: 40px;
}

.login-card h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #1a1a1a;
    text-align: center;
}

.login-card p {
    color: #7f8c8d;
    margin-bottom: 30px;
    text-align: center;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.login-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
}

.login-field input {
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fafafa;
    font-size: 1rem;
    color: #222;
    outline: none;
    transition: all 0.3s ease;
}

.login-field input:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
    background: #fff;
}

.login-actions {
    margin-top: 10px;
    text-align: center;
}

.login-alert {
    margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.95rem;
    text-align: center;
}

.login-alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.login-alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.login-footer {
    margin-top: 20px;
    text-align: center;
    color: #7f8c8d;
    font-size: 0.95rem;
}

.login-footer a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
}

.btn-outline {
    background: transparent;
    border: 2px solid #e74c3c;
    box-shadow: none;
    margin-left: 0;
}

.btn-outline:hover {
    background: #e74c3c;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.btn-cancel {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.btn-cancel:hover {
    background: #c0392b;
    color: white;
}

/* ===== SECTION GENERIC ===== */
.section {
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.latest-properties {
    background-color: transparent;
    border-radius: 20px;
    padding: 40px 20px;
}

.admin-panel {
    padding-top: 20px;
}

/* ===== ADMIN LAYOUT (menus latéral) ===== */
.admin-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 30px;
    align-items: start;
    padding-top: 20px;
}

.admin-sidebar {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    overflow: hidden;
    position: sticky;
    top: 90px;
}

.admin-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.admin-menu li a:hover {
    background: rgba(231, 76, 60, 0.05);
    color: #e74c3c;
}

.admin-menu li a.active {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border-left: 3px solid #e74c3c;
}

.admin-menu li a i {
    width: 20px;
    text-align: center;
    color: #e74c3c;
}

.menu-badge {
    margin-left: auto;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.admin-content {
    min-width: 0;
}

.admin-content-title {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.admin-content-desc {
    color: #7f8c8d;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Statuts réservation */
.status-select {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    outline: none;
    background: #fafafa;
}

.status-select:focus {
    border-color: #e74c3c;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-pending,
.status-select.badge-pending,
.filter-option.badge-pending {
    background: #fff3e0;
    color: #ef6c00;
    border: 1px solid #ffe0b2;
}
.filter-option.badge-pending input:checked ~ .filter-custom-check {
    background-color: #ef6c00;
}

.badge-confirmed,
.status-select.badge-confirmed,
.filter-option.badge-confirmed {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}
.filter-option.badge-confirmed input:checked ~ .filter-custom-check {
    background-color: #2e7d32;
}

.badge-cancelled,
.status-select.badge-cancelled,
.filter-option.badge-cancelled {
    background: #fff0f0;
    color: #c62828;
    border: 1px solid #ffcdd2;
}
.filter-option.badge-cancelled input:checked ~ .filter-custom-check {
    background-color: #c62828;
}

.badge-completed,
.status-select.badge-completed,
.filter-option.badge-completed {
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}
.filter-option.badge-completed input:checked ~ .filter-custom-check {
    background-color: #1565c0;
}

/* Détails réservation */
.res-details-row td {
    padding: 0;
}

.res-details-open {
    display: table-row !important;
}

.res-details-content {
    padding: 20px 25px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin: 10px;
}

.res-detail-item {
    font-size: 0.9rem;
    color: #2c3e50;
}

.res-detail-item strong {
    color: #1a1a1a;
}

.btn-small {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
}

/* Page changement mot de passe */
.password-change-card {
    background: white;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    max-width: 500px;
}

.password-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.password-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
}

.password-field label i {
    color: #e74c3c;
    width: 20px;
    margin-right: 5px;
}

.password-field input {
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    color: #222;
    background: #fafafa;
    outline: none;
    transition: all 0.3s ease;
}

.password-field input:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.08);
    background: #fff;
}

.admin-alert {
    margin-bottom: 20px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
}

.admin-alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.admin-alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.admin-table th,
.admin-table td {
    padding: 18px 16px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.admin-table th {
    background: #f7f7f7;
    font-weight: 700;
    color: #333;
}

.admin-table tbody tr:nth-child(odd) {
    background: #ffffff;
}

.admin-table tbody tr:nth-child(even) {
    background: #f7f7f7;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table th:last-child,
.admin-table td:last-child {
    background: #f2f2f2;
    width: 250px;
    white-space: nowrap;
}

.admin-actions {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    gap: 0;
    align-items: center;
}

.admin-table td .admin-actions {
    justify-content: center;
}

.admin-delete {
    border-color: #e74c3c;
    color: #e74c3c;
    margin-left: 0;
}

.admin-empty {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.admin-edit-card {
    background: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    max-width: 1000px;
    margin: 0 auto;
}

.admin-owner-contact {
    background: #fff7ed;
    border-left: 4px solid #e74c3c;
    padding: 18px 22px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    max-width: 1000px;
    margin: 0 auto 22px;
}

.admin-owner-contact h3 {
    color: #2c3e50;
}

.admin-owner-contact p {
    font-size: 0.98rem;
    color: #333;
}

.admin-owner-contact .fas {
    width: 20px;
    color: #e74c3c;
    margin-right: 6px;
}

.admin-edit-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.admin-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-field.admin-fullwidth {
    grid-column: 1 / -1;
}

.admin-field label {
    font-weight: 600;
    color: #2c3e50;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    color: #222;
    background: #fafafa;
    outline: none;
    transition: all 0.3s ease;
}

.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.08);
    background: #fff;
}

.admin-photo-section .photo-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 10px;
}

.photo-preview-card {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.photo-preview-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.photo-preview-card .btn {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-preview-card .photo-reorder {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.photo-preview-card .btn-reorder {
    width: 32px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: rgba(44,62,80,0.75);
    color: #fff;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.photo-preview-card .btn-reorder:hover {
    background: rgba(44,62,80,0.95);
}

.photo-preview-card .photo-order-num {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    z-index: 2;
}

.admin-photo-section input[type="file"] {
    padding: 8px 0;
}

.admin-photo-section .hint-text {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 8px;
}

.admin-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    align-items: flex-start;
}

.admin-checkboxes label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 0.95rem;
}

.admin-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 14px;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.admin-actions .btn {
    min-width: 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.admin-actions .btn i {
    margin: 0;
}

.section-title {
    text-align: center;
    /* font-size: 2.2rem; */
    color: #1a1a1a;
    margin-bottom: 15px;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* ===== SERVICES (Accueil) ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #e74c3c;
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #e74c3c;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.feature-card p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* ===== PROPERTIES GRID ===== */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.property-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.property-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.property-info {
    padding: 20px;
}

.property-info h3 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.property-info .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #c0392b;
    margin-bottom: 10px;
}

.property-info .location {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.property-info .description {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.property-info .btn-small {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.property-info .btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.4);
}

/* ===== PROPERTY CARD WITH OVERLAY ===== */
.property-card-overlay {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.property-card-overlay:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.property-card-overlay img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.4) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.property-overlay h3 {
    font-size: 1.3rem;
    font-weight: 600;
    text-align: left;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.overlay-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.overlay-location {
    font-size: 0.9rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.overlay-location i {
    margin-right: 5px;
    color: #e74c3c;
}

.overlay-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    text-align: right;
}

/* ===== ABOUT PAGE ===== */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-section .about-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text h2 {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.about-text p {
    color: #555;
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ===== CONTACT / OWNER SECTION ===== */
.owner-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
}

.owner-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #e74c3c;
    padding: 3px;
}

.owner-info h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.owner-info p {
    color: #7f8c8d;
    margin-bottom: 8px;
    font-size: 1rem;
}

.contact-info {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 0.95rem;
}

.contact-info span i {
    color: #e74c3c;
    font-size: 1.2rem;
    width: 25px;
}

/* ===== FOOTER ===== */
footer {
    position: relative;
    color: #bdc3c7;
    text-align: center;
    padding: 20px 30px;
    margin-top: 50px;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/background.jpg') no-repeat bottom center/cover;
    filter: brightness(0.35) blur(5px);
    z-index: 0;
    transform: scale(1.1); /* Pour éviter les bords blancs du flou */
}

footer > * {
    position: relative;
    z-index: 1;
}

footer p {
    font-size: 0.9rem;
}

footer a {
    color: #e74c3c;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FICHE BIEN (Détail) ===== */
.fiche-bien {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Breadcrumb */
.fiche-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.fiche-breadcrumb a {
    color: #7f8c8d;
    transition: color 0.3s ease;
}

.fiche-breadcrumb a:hover {
    color: #e74c3c;
}

.fiche-breadcrumb .current {
    color: #1a1a1a;
    font-weight: 600;
}

.fiche-breadcrumb i.fa-chevron-right {
    font-size: 0.7rem;
    color: #bdc3c7;
}

/* Galerie */
.fiche-gallery {
    margin-bottom: 30px;
}

.fiche-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 8px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 450px;
}

.fiche-main-photo {
    position: relative;
    overflow: hidden;
}

.fiche-main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Logo LemurLoc en haut à droite de la photo */
.fiche-logo-corner {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    padding: 5px;
}

.fiche-logo-corner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

/* Overlays sur la photo principale */
.fiche-photo-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 25px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, transparent 100%);
    z-index: 2;
}

.fiche-photo-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fiche-photo-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    margin: 0;
    line-height: 1.3;
}

.fiche-photo-location {
    color: white;
    font-size: 0.9rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    margin: 0;
}

.fiche-photo-location i {
    color: #e74c3c;
    margin-right: 5px;
}

.fiche-photo-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    white-space: nowrap;
}

.fiche-photo-price span {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.85;
    margin-left: 3px;
}

/* Specs sur la photo (bas gauche) */
.fiche-photo-specs {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 3;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.fiche-photo-spec {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 6px;
}

.fiche-photo-spec i {
    color: #e74c3c;
    font-size: 0.85rem;
}

.fiche-photo-count {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
}

.fiche-side-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, 1fr);
    gap: 8px;
    overflow: hidden;
}

.fiche-side-thumb {
    cursor: pointer;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
    border-radius: 6px;
    position: relative;
}

.fiche-side-thumb:hover,
.fiche-side-thumb.active {
    border-color: #e74c3c;
    opacity: 1;
}

.fiche-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fiche-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b0b0;
    font-size: 1.5rem;
    border-radius: 4px;
}

/* Layout 2 colonnes */
.fiche-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    margin-top: 10px;
}

/* Colonne principale */
.fiche-main {
    min-width: 0;
}

.fiche-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.fiche-title {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.fiche-location {
    color: #7f8c8d;
    font-size: 1rem;
}

.fiche-location i {
    color: #e74c3c;
    margin-right: 5px;
}

.fiche-price-box {
    text-align: right;
    white-space: nowrap;
}

.fiche-price {
    font-size: 2rem;
    font-weight: 800;
    color: #e74c3c;
    line-height: 1;
}

.fiche-price-unit {
    display: block;
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 4px;
}

/* Caractéristiques */
.fiche-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.fiche-spec {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    min-width: 140px;
}

.fiche-spec i {
    font-size: 1.5rem;
    color: #e74c3c;
}

.spec-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.spec-label {
    display: block;
    font-size: 0.8rem;
    color: #7f8c8d;
}

/* Sections */
.fiche-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    margin-bottom: 0;
}

.fiche-section h3 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
}

.fiche-section h3 i {
    color: #e74c3c;
    margin-right: 10px;
}

.fiche-description {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
}

/* Équipements */
.fiche-equipments {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.fiche-equipment {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.fiche-equipment:hover {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}

.fiche-equipment i {
    color: #3498db;
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.fiche-equipment span {
    font-size: 0.9rem;
    color: #2c3e50;
    font-weight: 500;
}

/* Carte */
.fiche-map {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
}

/* Colonne latérale */
.fiche-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fiche-contact-card,
.fiche-summary-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.fiche-contact-card h3,
.fiche-summary-card h3 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
}

.fiche-contact-card h3 i,
.fiche-summary-card h3 i {
    color: #e74c3c;
    margin-right: 8px;
}

.fiche-owner-photo {
    text-align: center;
    margin-bottom: 15px;
}

.fiche-owner-photo img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e74c3c;
    padding: 2px;
}

.fiche-owner-name {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.fiche-owner-nickname {
    text-align: center;
    font-size: 0.85rem;
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 20px;
}

.fiche-contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fiche-contact-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.fiche-contact-btn i {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
}

.fiche-contact-btn.phone {
    background: linear-gradient(135deg, #27ae60, #219a52);
}

.fiche-contact-btn.phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

.fiche-contact-btn.email {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.fiche-contact-btn.email:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.fiche-contact-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.fiche-contact-btn.whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* Réservation */
.fiche-reservation-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    position: sticky;
    top: 90px;
}

.fiche-reservation-card h3 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
}

.fiche-reservation-card h3 i {
    color: #e74c3c;
    margin-right: 8px;
}

.fiche-reservation-price {
    text-align: center;
    margin-bottom: 20px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
}

.res-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #e74c3c;
}

.res-unit {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-left: 3px;
}

.fiche-reservation-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.res-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.res-field label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2c3e50;
}

.res-field label i {
    color: #e74c3c;
    margin-right: 5px;
    width: 18px;
}

.res-field input,
.res-field select {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease;
    width: 100%;
}

.res-field input:focus,
.res-field select:focus {
    border-color: #e74c3c;
}

.res-field input[readonly] {
    background: #f8f9fa;
    color: #555;
    cursor: default;
}

.res-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.res-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.res-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #eee;
}

.res-total-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
}

.res-total-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: #e74c3c;
}

/* Bouton retour */
.fiche-back {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* ===== PAGE RÉSERVATION ===== */
.reservation-page {
    padding-top: 20px;
}

.reservation-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.reservation-form-card {
    background: white;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.reservation-form-card h3 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
}

.reservation-form-card h3 i {
    color: #e74c3c;
    margin-right: 10px;
}

.res-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.res-form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
}

.res-form-group label i {
    color: #e74c3c;
    width: 20px;
    margin-right: 5px;
}

.res-form-group input[type="text"],
.res-form-group input[type="tel"] {
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    color: #222;
    background: #fafafa;
    outline: none;
    transition: all 0.3s ease;
    width: 100%;
}

.res-form-group input:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.08);
    background: #fff;
}

.phone-group {
    display: flex;
    gap: 10px;
}

.indicatif-select {
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 0.9rem;
    background: #fafafa;
    outline: none;
    cursor: pointer;
    min-width: 100px;
    flex-shrink: 0;
}

.indicatif-select:focus {
    border-color: #e74c3c;
}

.phone-group input[type="tel"] {
    flex: 1;
}

.res-upload-area {
    border: 2px dashed #ddd;
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
    position: relative;
}

.res-upload-area:hover {
    border-color: #e74c3c;
    background: #fff9f9;
}

.res-upload-area i {
    font-size: 2rem;
    color: #bdc3c7;
    margin-bottom: 10px;
}

.res-upload-area p {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 5px;
}

.res-upload-area span {
    font-size: 0.8rem;
    color: #999;
}

.res-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    cursor: pointer;
}

/* Carte récapitulatif */
.reservation-summary-card {
    background: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    position: sticky;
    top: 90px;
}

.reservation-summary-card h3 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
}

.reservation-summary-card h3 i {
    color: #e74c3c;
    margin-right: 10px;
}

.res-summary-property {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.res-summary-property img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.res-summary-info h4 {
    font-size: 1.05rem;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.res-summary-info p {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 2px;
}

.res-summary-info p i {
    color: #e74c3c;
    width: 16px;
    margin-right: 4px;
}

.res-summary-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.res-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #2c3e50;
}

.res-summary-row i {
    color: #e74c3c;
    width: 18px;
    margin-right: 5px;
}

.res-summary-divider {
    height: 1px;
    background: #eee;
    margin: 5px 0;
}

.res-summary-total {
    font-size: 1.1rem;
    font-weight: 700;
}

.res-total-amount {
    color: #e74c3c;
    font-size: 1.3rem;
    font-weight: 800;
}

.res-summary-note {
    margin-top: 20px;
    padding: 12px;
    background: #fef9f0;
    border-radius: 10px;
    font-size: 0.8rem;
    color: #856404;
    border: 1px solid #ffeeba;
}

.res-summary-note i {
    color: #f39c12;
    margin-right: 5px;
}

/* ===== ADMIN RESERVATIONS ===== */
.reservations-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reservation-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    overflow: hidden;
    transition: all 0.3s ease;
}

.reservation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.res-card-header {
    background: #fcfcfc;
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.res-card-id {
    font-weight: 700;
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
}

.res-card-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.res-card-actions-top {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-tiny {
    padding: 4px 10px;
    font-size: 0.7rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-tiny.btn-outline {
    background: transparent;
    border: 1px solid #e74c3c;
    color: #e74c3c;
}

.btn-tiny:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.res-card-body {
    padding: 15px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.res-card-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.res-card-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.res-card-label i {
    color: #e74c3c;
    font-size: 0.8rem;
}

.res-card-client-name,
.res-card-prop-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
}

.res-card-contact,
.res-card-dates,
.res-card-guests,
.res-card-price {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.3;
}

.res-card-contact i,
.res-card-dates i,
.res-card-guests i,
.res-card-price i {
    width: 20px;
    color: #e74c3c;
}

.res-card-price strong {
    font-size: 1.1rem;
    color: #c0392b;
}

.res-card-extra {
    padding: 15px 20px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.res-extra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.res-extra-item {
    font-size: 0.9rem;
}

.res-extra-item strong {
    display: block;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 2px;
}

.res-card-footer {
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: #fcfcfc;
}

/* ===== ADMIN USERS ===== */
.admin-users-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.admin-users-list {
    flex: 1;
    min-width: 0;
}

.admin-users-form-panel {
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
    overflow: hidden;
}

.admin-users-form-card {
    width: 350px;
    overflow: hidden;
    transition: width 0.4s ease, opacity 0.3s ease;
}

.admin-users-fold {
    cursor: pointer;
    flex-shrink: 0;
    width: 42px;
    border: none;
    background: #e74c3c;
    color: #fff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 12px;
    gap: 14px;
    transition: background 0.25s ease;
}
.admin-users-fold:hover {
    background: #c62828;
}
.admin-users-fold-icon {
    font-size: 1.1rem;
    line-height: 1;
}
.admin-users-fold-icon i {
    display: inline-block;
    transition: transform 0.35s ease;
}
.admin-users-fold-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Panneau replié vers la droite : la carte se rétracte */
.admin-users-form-panel.collapsed .admin-users-form-card {
    width: 0;
    opacity: 0;
}
.admin-users-form-panel.collapsed .admin-users-fold-icon i {
    transform: rotate(180deg);
}

@media (max-width: 992px) {
    .admin-users-layout {
        flex-direction: column;
    }
    .admin-users-form-panel {
        width: 100%;
        flex-direction: column;
    }
    .admin-users-fold {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        padding: 12px 16px;
    }
    .admin-users-fold-label {
        writing-mode: horizontal-tb;
    }
    .admin-users-form-card {
        width: 100%;
        max-height: 2000px;
        transition: max-height 0.4s ease, opacity 0.3s ease;
    }
    .admin-users-form-panel.collapsed .admin-users-form-card {
        width: 100%;
        max-height: 0;
        opacity: 0;
    }
}

/* ===== STATUS FILTER ===== */
.status-filter-box {
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.filter-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-label i {
    color: #e74c3c;
}

.filter-options {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding: 4px 12px 4px 30px;
    user-select: none;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.filter-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.filter-custom-check {
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    height: 16px;
    width: 16px;
    background-color: rgba(0,0,0,0.1);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.filter-option:hover input ~ .filter-custom-check {
    background-color: rgba(0,0,0,0.2);
}

.filter-option input:checked ~ .filter-custom-check {
    background-color: #e74c3c;
}

.filter-custom-check:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-option input:checked ~ .filter-custom-check:after {
    display: block;
}

.filter-reset {
    color: #999;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
    margin-left: 5px;
}

.filter-reset:hover {
    color: #e74c3c;
}

/* ===== RESERVATION CHECKLIST ===== */
.res-checklist-box {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.check-item:hover {
    background: #fff3e0;
    border-color: #ffe0b2;
}

.check-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #e74c3c;
}

.check-label {
    font-size: 0.85rem;
    color: #444;
    font-weight: 500;
}

.check-item input:checked + .check-label {
    color: #e74c3c;
    font-weight: 700;
}

/* ===== CALENDAR PAGE ===== */
.calendar-grid-6months {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.calendar-month-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.calendar-month-name {
    text-align: center;
    font-size: 1.1rem;
    color: #e74c3c;
    margin-bottom: 15px;
    font-weight: 700;
}

.calendar-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #999;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-day {
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.9rem;
    position: relative;
    transition: all 0.2s ease;
    border: 1px solid #f9f9f9;
}

.calendar-day.empty {
    border: none;
}

.calendar-day .day-number {
    font-weight: 600;
    color: #333;
    z-index: 2;
}

.calendar-day.has-res {
    background: #fff;
    cursor: pointer;
}

.day-badges {
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 3px;
}

.day-badge-mini {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.day-badge-mini.badge-pending { background: #ef6c00; }
.day-badge-mini.badge-confirmed { background: #2e7d32; }
.day-badge-mini.badge-cancelled { background: #c62828; }
.day-badge-mini.badge-completed { background: #1565c0; }

.text-pending { color: #ef6c00 !important; }
.text-confirmed { color: #2e7d32 !important; }
.text-cancelled { color: #c62828 !important; }
.text-completed { color: #1565c0 !important; }

/* Popover details on hover */
.day-popover {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 10px;
    border-radius: 8px;
    width: 180px;
    font-size: 0.75rem;
    z-index: 100;
    display: none;
    pointer-events: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.day-popover::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.calendar-day:hover .day-popover {
    display: block;
}

.popover-item {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.popover-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .search-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-field {
        min-width: 100%;
    }
    
    .btn-search {
        width: 100%;
        justify-content: center;
    }
    
    .about-section {
        grid-template-columns: 1fr;
    }
    
    .owner-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .section {
        padding: 50px 20px;
    }

    /* Fiche Bien responsive */
    .fiche-gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 280px auto;
        height: auto;
    }

    .fiche-side-photos {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
        max-height: 120px;
        overflow-y: auto;
        gap: 4px;
    }

    .fiche-side-thumb {
        height: 60px;
    }

    .fiche-content {
        grid-template-columns: 1fr;
    }

    .fiche-header {
        flex-direction: column;
    }

    .fiche-price-box {
        text-align: left;
    }

    .fiche-title {
        font-size: 1.5rem;
    }

    .fiche-specs {
        gap: 10px;
    }

    .fiche-spec {
        min-width: 120px;
        padding: 12px 15px;
    }

    .fiche-section {
        padding: 20px;
    }

    /* Réservation responsive */
    .reservation-layout {
        grid-template-columns: 1fr;
    }

    .reservation-summary-card {
        position: static;
    }

    .phone-group {
        flex-direction: column;
    }

    .indicatif-select {
        width: 100%;
    }

    /* Admin responsive */
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
    }

    .admin-menu {
        display: flex;
        flex-wrap: wrap;
    }

    .admin-menu li {
        flex: 1;
        min-width: 120px;
    }

    .admin-menu li a {
        justify-content: center;
        border-bottom: none;
        border-left: none !important;
        border-bottom: 3px solid transparent;
        padding: 12px 15px;
        font-size: 0.85rem;
    }

    .admin-menu li a.active {
        border-bottom-color: #e74c3c;
    }

    .menu-badge {
        margin-left: 5px;
    }

    .res-details-content {
        grid-template-columns: 1fr;
    }

    .res-card-body {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .admin-table th:nth-child(4),
    .admin-table td:nth-child(4),
    .admin-table th:nth-child(6),
    .admin-table td:nth-child(6) {
        display: none;
    }
}

/* ===== MES R�SERVATIONS PAGE ===== */ 
".centered-article {" 
"    display: flex;" 
"    justify-content: center;" 
"    align-items: center;" 
"    text-align: center;" 
"    margin: 0 auto;" 
"    max-width: 100%;" 
"}" 
"" 
"/* ===== NOUVELLE PAGE � PROPOS ===== */" 
".about-intro {" 
"    padding: 60px 20px;" 
"}" 
".about-main-content {" 
"    display: flex;" 
"    justify-content: center;" 
"    margin-top: 40px;" 
"}" 
".about-text-container {" 
"    max-width: 900px;" 
"    width: 100%;" 
"    background: white;" 
"    padding: 40px;" 
"    border-radius: 20px;" 
"    box-shadow: 0 10px 40px rgba(0,0,0,0.08);" 
"    text-align: center;" 
"}" 
".about-main-title {" 
"    font-size: 2.2rem;" 
"    color: #e74c3c;" 
"    margin-bottom: 25px;" 
"    position: relative;" 
"}" 
".about-main-title::after {" 
"    content: '';" 
"    position: absolute;" 
"    bottom: -10px;" 
"    left: 50%;" 
"    transform: translateX(-50%);" 
"    width: 60px;" 
"    height: 4px;" 
"    background: #e74c3c;" 
"    border-radius: 2px;" 
"}" 
".about-description {" 
"    font-size: 1.1rem;" 
"    line-height: 1.8;" 
"    color: #555;" 
"}" 
".about-description p {" 
"    margin-bottom: 20px;" 
"}" 
".app-showcase {" 
"    text-align: center;" 
"    margin: 40px auto;" 
"    max-width: 1100px;" 
"}" 
".app-image-container {" 
"    position: relative;" 
"    display: inline-block;" 
"}" 
".app-image {" 
"    width: 100%;" 
"    max-width: 1000px;" 
"    border-radius: 20px;" 
"    box-shadow: 0 15px 40px rgba(0,0,0,0.12);" 
"}" 
".how-it-works {" 
"    background: #f1f3f5;" 
"    border-radius: 20px;" 
"    padding: 60px 20px;" 
"}" 
".features-grid {" 
"    display: grid;" 
"    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));" 
"    gap: 30px;" 
"    margin-top: 40px;" 
"}" 
".feature-card {" 
"    background: white;" 
"    padding: 35px 25px;" 
"    border-radius: 15px;" 
"    text-align: center;" 
"    box-shadow: 0 5px 20px rgba(0,0,0,0.05);" 
"    border: 1px solid #eee;" 
"    transition: all 0.3s ease;" 
"}" 
".feature-card:hover {" 
"    transform: translateY(-5px);" 
"    box-shadow: 0 10px 30px rgba(0,0,0,0.1);" 
"    border-color: #e74c3c;" 
"}" 
".feature-icon {" 
"    font-size: 2.5rem;" 
"    margin-bottom: 20px;" 
"    color: #e74c3c;" 
"}" 
".feature-title {" 
"    font-size: 1.4rem;" 
"    color: #2c3e50;" 
"    margin-bottom: 15px;" 
"}" 
".feature-content {" 
"    color: #555;" 
"    line-height: 1.6;" 
"}" 
".feature-note {" 
"    margin-top: 15px;" 
"    font-style: italic;" 
"    color: #e74c3c;" 
"    font-size: 0.9rem;" 
"}" 
".tracking-app {" 
"    padding: 40px 20px;" 
"}" 
".tracking-steps-grid {" 
"    display: grid;" 
"    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));" 
/* Styles pour les noms de fichiers photo dans admin */ 
.photo-filename { 
    text-align: center; 
    padding: 8px 5px; 
    background: rgba(0,0,0,0.7); 
    color: white; 
    font-size: 0.75rem; 
    border-radius: 0 0 8px 8px; 
    word-break: break-all; 
    overflow: hidden; 
} 
.photo-filename span { 
    display: inline-block; 
    max-width: 100%; 
    text-overflow: ellipsis; 
    overflow: hidden; 
} 
/* Styles harmonis�s pour les champs admin (rouge clair) */ 
.admin-field input, 
.admin-field textarea, 
.admin-field select { 
    padding: 12px 14px; 
    border: 1px solid #e74c3c; 
    border-radius: 12px; 
    font-size: 1rem; 
    color: #222; 
    background: #fff0f0; 
    outline: none; 
    transition: all 0.3s ease; 
} 
.admin-field input:focus, 
.admin-field textarea:focus, 
.admin-field select:focus { 
    border-color: #c0392b; 
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15); 
    background: #fff; 
} 
/* Style pour les checkboxes admin */ 
.admin-checkboxes input[type="checkbox"] { 
    width: 18px; 
    height: 18px; 
    cursor: pointer; 
    accent-color: #e74c3c; 
} 

/* ===== MOBILE NAVBAR FIX ===== */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 20px;
        margin-top: 10px;
        border-radius: 10px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    .navbar-nav {
        padding: 0;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 15px;
        border-radius: 8px;
        margin-bottom: 5px;
    }
    
    .navbar-toggler {
        border: 2px solid #e74c3c;
        padding: 8px 12px;
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(231, 76, 60, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

/* ===== RESPONSIVE FORMULAIRES (proprio.php) ===== */
@media (max-width: 768px) {
    /* Grilles de formulaire en 1 colonne sur mobile */
    .section form > div[style*="grid-template-columns: 1fr 1fr"],
    .section form > div[style*="grid-template-columns: 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Réduire les marges sur mobile */
    .section > div[style*="max-width: 900px"] {
        padding: 30px 20px !important;
    }
    
    /* Ajuster les titres de sections */
    .section h3[style*="font-size: 1.3rem"] {
        font-size: 1.1rem !important;
    }
    
    /* Ajuster les inputs */
    .section input[type="text"],
    .section input[type="password"],
    .section input[type="email"],
    .section input[type="number"],
    .section select,
    .section textarea {
        font-size: 0.95rem !important;
    }
    
    /* Ajuster les checkboxes d'équipements */
    .section form > div[style*="repeat(auto-fill, minmax(180px, 1fr)"] {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
    }
}
