/* ========================
   Admin Pension Anahata
   ======================== */

.admin-body {
    font-family: 'Montserrat', sans-serif;
    background: #f4f6f9;
    color: #2c3e50;
    line-height: 1.5;
}

.admin-header {
    background: #1a2634;
    color: #fff;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.admin-header h1 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
}

.admin-header a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.admin-header a:hover {
    color: #fff;
}

.admin-container {
    max-width: 1280px;
    margin: 30px auto;
    padding: 0 20px;
}

.admin-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 25px;
    align-items: start;
}

.admin-menu {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: sticky;
    top: 90px;
}

.admin-menu-link {
    display: block;
    padding: 12px 16px;
    color: #5a6672;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    transition: all .2s;
}

.admin-menu-link:hover,
.admin-menu-link.active {
    background: #eef2f7;
    color: #1a2634;
}

.admin-content {
    background: #fff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    min-height: 60vh;
}

.admin-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    margin: 0 0 25px;
    color: #1a2634;
}

.admin-content h3 {
    font-size: 18px;
    margin: 30px 0 15px;
    color: #34495e;
}

/* Tableaux */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}

th, td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid #eef2f7;
}

th {
    background: #f8f9fa;
    font-weight: 600;
    color: #5a6672;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

tr:hover td {
    background: #fafbfc;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-pending { background: #fff3cd; color: #856404; }
.badge-confirmed { background: #d1ecf1; color: #0c5460; }
.badge-paid { background: #d4edda; color: #155724; }
.badge-cancelled { background: #f8d7da; color: #721c24; }

/* Formulaires */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #5a6672;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: #2c3e50;
    background: #fff;
    transition: border .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
    outline: none;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.form-group input[type="color"] {
    height: 42px;
    padding: 4px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Boutons */
button,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all .2s;
}

.btn-primary,
button[type="submit"] {
    background: #3498db;
    color: #fff;
}

.btn-primary:hover,
button[type="submit"]:hover {
    background: #2980b9;
}

.btn-outline {
    background: #fff;
    color: #3498db;
    border: 1px solid #3498db;
}

.btn-outline:hover {
    background: #f0f7fc;
}

.actions form {
    display: inline;
}

.actions button,
.admin-content table .btn,
.admin-content table button {
    padding: 6px 12px;
    font-size: 12px;
    margin: 2px;
    border-radius: 6px;
}

.btn-confirm { background: #3498db; color: #fff; }
.btn-pay { background: #2ecc71; color: #fff; }
.btn-cancel { background: #e67e22; color: #fff; }
.cancellation-panel{margin-top:32px;padding:22px;border:1px solid #efc6bd;border-radius:10px;background:#fff7f5}.cancellation-panel h3{margin-top:0;color:#9b3429}.cancellation-panel form{max-width:620px}.cancellation-panel .btn-cancel{padding:11px 16px;border:0;border-radius:5px;cursor:pointer}
.btn-delete,
.admin-content table a[onclick*="confirm"] {
    background: #fff;
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.btn-delete:hover,
.admin-content table a[onclick*="confirm"]:hover {
    background: #fdf3f2;
}

/* Dashboard */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #1a2634, #2c3e50);
    color: #fff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.stat-card h3 {
    font-size: 36px;
    margin: 0 0 5px;
}

.stat-card p {
    margin: 0;
    opacity: 0.85;
    font-size: 14px;
}

/* Alertes */
.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

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

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

/* Galerie */
.gallery-admin {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.gallery-admin-item {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.gallery-admin-item img {
    max-width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.gallery-admin-preview{position:relative;display:block;width:100%;padding:0;overflow:hidden;border:0;border-radius:8px;background:#edf1ef;cursor:pointer}
.gallery-admin-preview img{display:block;width:100%;max-width:none;margin-bottom:0}
.gallery-admin-preview span{position:absolute;inset:auto 0 0;padding:8px;background:rgba(20,43,34,.82);color:#fff;font-size:11px;font-weight:700;opacity:0;transition:opacity .2s}
.gallery-admin-preview:hover span,.gallery-admin-preview:focus-visible span{opacity:1}
body.gallery-admin-modal-open{overflow:hidden}
.gallery-admin-modal{position:fixed;z-index:15000;inset:0;display:grid;place-items:center;padding:25px}
.gallery-admin-modal[hidden]{display:none}
.gallery-admin-modal-backdrop{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:rgba(12,22,18,.82)}
.gallery-admin-modal-panel{position:relative;z-index:1;width:min(920px,calc(100vw - 50px));max-height:calc(100vh - 50px);padding:28px;overflow:auto;border-radius:14px;background:#fff;box-shadow:0 25px 80px rgba(0,0,0,.38)}
.gallery-admin-modal-panel h3{margin:0 45px 22px 0}
.gallery-admin-modal-close{position:absolute;top:13px;right:13px;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:#263d34;color:#fff;font-size:27px;cursor:pointer}
.gallery-admin-modal-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:28px;align-items:start}
.gallery-admin-large-image{display:grid;min-height:320px;place-items:center;background:#edf1ef}
.gallery-admin-large-image img{display:block;max-width:100%;max-height:62vh;width:auto;height:auto;margin:0;object-fit:contain}
.gallery-admin-edit-form textarea{width:100%;min-height:105px;padding:11px;border:1px solid #ccd5d0;border-radius:6px;resize:vertical;font:inherit}
@media(max-width:760px){.gallery-admin-modal{padding:8px}.gallery-admin-modal-panel{width:calc(100vw - 16px);max-height:calc(100vh - 16px);padding:20px}.gallery-admin-modal-layout{grid-template-columns:1fr}.gallery-admin-large-image{min-height:220px}.gallery-admin-large-image img{max-height:42vh}}

.editor-list-heading{margin:18px 12px 7px;color:#66766f;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.editor-list-heading:first-child{margin-top:5px}
.editor-page-list .direct-editor-link{display:flex;align-items:center;justify-content:space-between;gap:8px}
.editor-page-list .direct-editor-link small{color:#7b8983;font-size:10px;white-space:nowrap}
.editor-list-empty{display:block;padding:8px 12px 15px;color:#87938e;font-size:12px;font-style:italic}
.legal-editor-tabs{display:flex;gap:10px;margin:0 0 22px}.legal-editor-tabs a{padding:10px 14px;border:1px solid #dbe2de;border-radius:7px;background:#fff}.legal-editor-tabs a.active{background:#28483b;color:#fff}
.legal-rich-toolbar{position:sticky;z-index:2;top:0;display:flex;flex-wrap:wrap;gap:5px;padding:9px;border:1px solid #cfd8d3;border-bottom:0;border-radius:7px 7px 0 0;background:#f3f6f4}.legal-rich-toolbar button{min-width:34px;padding:7px 9px;border:1px solid #cbd5d0;border-radius:5px;background:#fff;color:#263d34;cursor:pointer}.legal-rich-toolbar button:hover{background:#e4ece8}.legal-rich-editor{min-height:560px;padding:24px;border:1px solid #cfd8d3;border-radius:0 0 7px 7px;background:#fff;line-height:1.65;outline:none;overflow:auto}.legal-rich-editor:focus{border-color:#527565;box-shadow:0 0 0 3px rgba(82,117,101,.13)}.legal-rich-editor h2{margin:30px 0 12px;padding-bottom:8px;border-bottom:1px solid #dde4e0}.legal-rich-editor .legal-facts{display:grid}.legal-rich-editor .legal-facts>div{display:grid;grid-template-columns:180px 1fr;gap:15px;padding:8px 0;border-bottom:1px solid #e5e9e7}

/* Header partagé */
.admin-header .container {
    padding: 0 20px;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

.admin-brand:hover {
    color: #fff;
}

.admin-logo {
    width: 36px;
    height: 36px;
    background: #3498db;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(52,152,219,0.35);
}

.admin-brand-text {
    letter-spacing: 0.5px;
}

.admin-topnav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.admin-user {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

.admin-logout {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 6px;
    transition: all .2s;
}

.admin-logout:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

/* Menu */
.admin-menu {
    padding: 16px;
}

.admin-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-menu-link .admin-icon {
    width: 28px;
    height: 28px;
    background: #eef2f7;
    color: #1a2634;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    transition: all .2s;
}

.admin-menu-link:hover .admin-icon,
.admin-menu-link.active .admin-icon {
    background: #3498db;
    color: #fff;
}

.admin-menu .admin-menu-link.active {
    background: #1a2634;
    color: #fff;
}

.admin-label {
    flex: 1;
}

/* Login */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a2634 0%, #2c3e50 100%);
    padding: 20px;
}

.login-box {
    background: #fff;
    border-radius: 16px;
    padding: 45px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.login-box h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin: 0 0 10px;
    color: #1a2634;
    text-align: center;
}

.login-box .form-group {
    margin-bottom: 20px;
}

.login-box button {
    width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .admin-menu {
        position: static;
        margin-bottom: 20px;
    }

    .admin-content {
        padding: 25px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    th, td {
        padding: 10px;
        font-size: 13px;
    }
}

/* Calendar */
.calendar-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.calendar-months {
    display: flex;
    gap: 5px;
    width: 100%;
    margin-bottom: 16px;
    overflow: hidden;
}

.calendar-month-button {
    flex: 1 1 0;
    min-width: 0;
    padding: 7px 3px;
    overflow: hidden;
    border: 1px solid #dce3eb;
    border-radius: 6px;
    background: #fff;
    color: #4d5c69;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.calendar-month-button:hover,
.calendar-month-button.active {
    border-color: #3498db;
    background: #3498db;
    color: #fff;
}

.calendar-toolbar h2 {
    margin: 0;
    font-size: 22px;
    text-transform: capitalize;
}

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #5a6672;
    margin-bottom: 20px;
}

.legend-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    margin-right: 5px;
    vertical-align: middle;
}

.calendar-wrapper {
    overflow-x: auto;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.calendar-grid {
    display: grid;
    grid-template-rows: auto;
}

.calendar-row {
    display: grid;
    grid-template-columns: 130px repeat(var(--half-days), minmax(12px, 1fr));
    position: relative;
    min-height: 46px;
    border-bottom: 1px solid #eef2f7;
}

.calendar-row:last-child {
    border-bottom: none;
}

.header-row {
    background: #f8f9fa;
    min-height: 44px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.bungalow-row {
    align-items: center;
}

.calendar-bungalow-header,
.calendar-bungalow-name {
    padding: 6px 8px;
    font-weight: 600;
    color: #1a2634;
    border-right: 1px solid #eef2f7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 130px;
    background: #fff;
    position: sticky;
    left: 0;
    z-index: 5;
}

.header-row .calendar-bungalow-header {
    background: #f8f9fa;
    justify-content: center;
}

.calendar-bungalow-name small {
    font-weight: 400;
    color: #7a8793;
    font-size: 12px;
}

.calendar-day-header,
.calendar-day-cell {
    border-right: 1px solid #eef2f7;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    position: relative;
}

.calendar-day-header {
    flex-direction: column;
    padding: 4px 2px;
    font-size: 10px;
    color: #5a6672;
    font-weight: 600;
    text-transform: uppercase;
    background: linear-gradient(to right, #f8f9fa 0 50%, #e9edf1 50% 100%);
}

.calendar-day-header .day-num {
    font-size: 12px;
    margin-bottom: 2px;
}

.calendar-day-header .day-name {
    font-size: 9px;
}

.calendar-day-cell {
    height: 44px;
    background: linear-gradient(to right, #fff 0 50%, #eef1f4 50% 100%);
}

.day-number-mobile {
    display: none;
    font-size: 10px;
    color: #bdc3c7;
}

.calendar-day-cell.today,
.calendar-day-header.today {
    background: linear-gradient(to right, #fff8e6 0 50%, #eee2c4 50% 100%);
}

.calendar-day-parts {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: 12px;
    font-size: 12px;
}

.calendar-day-parts i {
    width: 16px;
    height: 16px;
    border: 1px solid #d9dfe5;
    border-radius: 4px;
}

.calendar-day-parts .morning {
    background: #fff;
}

.calendar-day-parts .afternoon {
    margin-left: 5px;
    background: #eef1f4;
}

.calendar-event {
    display: flex;
    align-items: center;
    grid-row: 1;
    align-self: center;
    height: 26px;
    margin: 3px 1px;
    border-radius: 5px;
    padding: 0 5px;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    z-index: 2;
    transition: transform .15s, box-shadow .15s;
}

.calendar-event:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    z-index: 3;
}

.calendar-event .event-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.event-confirmed { background: #7dd87d; color: #1a4721; }
.event-paid { background: #5cb85c; color: #fff; }
.event-pending { background: #f0ad4e; color: #fff; }
.event-cancelled { background: #d9534f; color: #fff; }

/* Calendrier éditorial inspiré de la lisibilité du planning Wix. */
.calendar-months{gap:8px;margin-bottom:22px}
.calendar-month-button{padding:10px 6px;border-color:#d4dde5;border-radius:8px;font-size:12px;font-weight:700}
.calendar-month-button:hover,.calendar-month-button.active{border-color:#2d91d5;background:#2d91d5}
.calendar-toolbar h2{font-family:Georgia,"Times New Roman",serif;font-size:25px;font-weight:400}
.calendar-wrapper{border-color:#d8e0e7;border-radius:10px;box-shadow:0 8px 24px rgba(31,50,67,.07)}
.calendar-row{grid-template-columns:180px repeat(var(--half-days),minmax(18px,1fr));min-height:62px;border-bottom-color:#dfe6ec}
.header-row{min-height:62px;background:#fff}
.calendar-bungalow-header,.calendar-bungalow-name{min-width:180px;padding:10px 16px;border-right-color:#d9e1e8}
.header-row .calendar-bungalow-header{background:#fff;font-size:17px}
.calendar-bungalow-name strong{font-size:18px;line-height:1.2}
.calendar-bungalow-name small{margin-top:4px}
.calendar-day-header,.calendar-day-cell{min-width:18px;border-right-color:#dfe6ec}
.calendar-day-header{background:linear-gradient(to right,#fff 0 50%,#f2f5f7 50% 100%)}
.calendar-day-header .day-num{margin-bottom:4px;font-size:14px}
.calendar-day-header .day-name{font-size:10px}
.calendar-day-cell{height:60px;background:linear-gradient(to right,#fff 0 50%,#f4f6f8 50% 100%)}
.calendar-day-cell.today,.calendar-day-header.today{background:linear-gradient(to right,#e8f4fb 0 50%,#d9eaf4 50% 100%)}
.calendar-event{height:40px;margin:2px 1px;padding:0 8px;border:1px solid rgba(25,73,45,.08);border-radius:4px;color:#163f2a;font-size:12px}
.calendar-event:hover{box-shadow:0 5px 14px rgba(32,62,48,.18)}
.event-confirmed{background:#a8dda5;color:#163f2a}.event-paid{background:#7fca8c;color:#123b25}.event-pending{background:#f4c77c;color:#5b3b08}.event-cancelled{background:#eda5a2;color:#692321}
.calendar-months{overflow-x:auto}
.calendar-month-button{flex:1 0 52px;min-width:52px;padding:6px 4px;font-size:10px}
@media(max-width:900px){.calendar-month-button:nth-child(n){display:block!important}}
.admin-account-section{margin:0 0 26px;padding:22px;border:1px solid #e2e7ec;border-radius:10px;background:#fff}.admin-account-section h3{margin-top:0}.account-actions{display:flex;align-items:center;gap:8px}.account-actions form{margin:0}.inline-security-form{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.inline-security-form input{min-width:230px;padding:10px;border:1px solid #dce3eb;border-radius:6px}.totp-setup{padding:16px;border-left:4px solid #3498db;background:#f2f8fc}.totp-qrcode{display:block;width:220px;height:220px;margin:14px 0;padding:8px;border:1px solid #dce3eb;background:#fff}.totp-qrcode-inline svg{display:block;width:100%;height:100%}.totp-setup code{display:inline-block;padding:9px;background:#1a2634;color:#fff;letter-spacing:2px}.security-ok{color:#218838;font-weight:700}.table-responsive{overflow-x:auto}

@media (max-width: 900px) {
    .calendar-month-button:nth-child(n+11):not(.active) {
        display: none;
    }

    .calendar-toolbar {
        flex-wrap: wrap;
    }

    .calendar-toolbar h2 {
        width: 100%;
        text-align: center;
        order: -1;
    }

    .calendar-row {
        grid-template-columns: 120px repeat(var(--half-days), minmax(18px, 1fr));
    }

    .calendar-bungalow-header,
    .calendar-bungalow-name {
        min-width: 120px;
        padding: 8px;
        font-size: 12px;
    }

    .calendar-event {
        height: 24px;
        font-size: 9px;
        padding: 0 4px;
    }

    .calendar-day-header .day-name {
        display: none;
    }
}

@media (max-width: 620px) {
    .calendar-month-button:nth-child(n+8):not(.active) {
        display: none;
    }
}
/* Éditeur du contenu et des tarifs */
.admin-page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.admin-page-heading h2{margin-bottom:5px}.admin-page-heading p{margin-top:0;color:#6c7782}
.admin-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.admin-page-card{display:flex;min-height:130px;flex-direction:column;padding:22px;border:1px solid #e2e7ec;border-radius:10px;color:#1a2634;text-decoration:none}.admin-page-card:hover{border-color:#3498db;box-shadow:0 6px 18px rgba(0,0,0,.08)}.admin-page-card strong{font-size:17px}.admin-page-card span{margin-top:10px;color:#5f6c78}.admin-page-card small{margin-top:auto;color:#84909b}
.admin-tabs-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.admin-tabs-grid section{padding:22px;background:#f8fafc;border-radius:10px}.admin-rich-text{min-height:300px!important;font-family:monospace!important}.seo-field{min-height:75px!important}.admin-hero-preview{display:block;width:min(520px,100%);max-height:240px;margin-bottom:18px;object-fit:cover}.admin-warning{margin:25px 0;padding:18px;border-left:4px solid #e0a800;background:#fff8df}.admin-warning p{margin:6px 0 0;font-size:13px}
.pricing-admin-list h3{padding-bottom:8px;border-bottom:2px solid #eef2f7;text-transform:capitalize}.pricing-row{display:grid;grid-template-columns:1.4fr 1.4fr 110px 1fr 1fr auto auto;gap:9px;align-items:center;margin-bottom:10px}.pricing-row input{min-width:0;padding:9px;border:1px solid #dce3eb;border-radius:6px}.pricing-row label{font-size:12px;white-space:nowrap}
@media(max-width:1000px){.admin-card-grid{grid-template-columns:repeat(2,1fr)}.pricing-row{grid-template-columns:1fr 1fr}.admin-tabs-grid{grid-template-columns:1fr}}@media(max-width:700px){.admin-card-grid{grid-template-columns:1fr}.admin-page-heading{display:block}.pricing-row{grid-template-columns:1fr}}
.admin-current-preview{margin:20px 0 32px;padding:18px;background:#eef3f7;border-radius:12px}.admin-preview-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.admin-preview-title h3{margin:0}.admin-current-preview iframe{width:100%;height:620px;border:1px solid #d8e0e8;border-radius:8px;background:#fff}.media-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:12px;max-height:560px;margin:15px 0 22px;padding:14px;overflow:auto;border:1px solid #dce3eb;border-radius:10px;background:#f8fafc}.media-choice{position:relative;display:block;padding:5px;border:3px solid transparent;border-radius:8px;background:#fff;cursor:pointer}.media-choice:hover,.media-choice.is-selected{border-color:#3498db}.media-choice input{position:absolute;opacity:0;pointer-events:none}.media-choice img{display:block;width:100%;height:100px;object-fit:cover;border-radius:5px}.media-choice span{display:block;margin-top:6px;overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.media-choice.is-selected:after{content:"✓";position:absolute;top:9px;right:9px;width:25px;height:25px;border-radius:50%;background:#3498db;color:#fff;font-weight:bold;text-align:center;line-height:25px}@media(max-width:700px){.admin-current-preview iframe{height:440px}.admin-preview-title{align-items:flex-start;flex-direction:column}.media-library{grid-template-columns:repeat(2,1fr)}}
.editor-page-list{display:flex;gap:8px;margin:18px 0 28px;padding:12px;overflow-x:auto;border:1px solid #dce3eb;border-radius:10px;background:#f8fafc}.editor-page-list a{flex:0 0 auto;padding:9px 13px;border-radius:7px;background:#fff;color:#34495e;text-decoration:none;white-space:nowrap}.editor-page-list a:hover,.editor-page-list a.active{background:#3498db;color:#fff}.photo-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:28px}.photo-heading h3{margin:0}.admin-hero-clickable{cursor:pointer;transition:opacity .2s,transform .2s}.admin-hero-clickable:hover{opacity:.8;transform:scale(.995)}.media-library-collapsed{display:none}@media(max-width:700px){.photo-heading{align-items:flex-start;flex-direction:column}}
.translation-toolbar{display:flex;align-items:center;gap:14px;margin:14px 0 22px;padding:14px 16px;border-radius:9px;background:#eef8f2}.translation-toolbar label{font-weight:600}.translation-toolbar #translation-status{color:#4c6655;font-size:13px}.english-review{padding:18px;border:1px solid #dce3eb;border-radius:10px;background:#f8fafc}.english-review summary{cursor:pointer;font-weight:700;color:#34495e}@media(max-width:700px){.translation-toolbar{align-items:flex-start;flex-direction:column}}
/* Interface d’édition à panneau unique */
html,body{max-width:100%;overflow-x:hidden}.admin-content{min-width:0}.editor-shell{display:grid;grid-template-columns:210px minmax(0,1fr);gap:22px;align-items:start;max-width:100%}.editor-page-list{position:sticky;top:18px;display:flex;flex-direction:column;gap:5px;margin:0;padding:10px;overflow:visible;border:1px solid #dce3eb;border-radius:10px;background:#f8fafc}.editor-page-list a{width:100%;box-sizing:border-box;padding:10px 12px;white-space:normal}.editor-main{min-width:0;max-width:100%;transition:opacity .2s}.editor-main.is-loading{opacity:.45;pointer-events:none}.admin-current-preview{margin-top:0}.admin-current-preview iframe{height:360px}.admin-tabs-grid{display:block}.admin-tabs-grid>section{min-width:0}.english-review{margin-top:18px}.admin-editor-form input,.admin-editor-form textarea,.admin-editor-form select{max-width:100%;box-sizing:border-box}.media-library{position:fixed;inset:5vh 4vw;z-index:1000;display:block;max-height:none;margin:0;padding:55px 18px 20px;overflow:auto;border:0;border-radius:14px;background:#fff;box-shadow:0 20px 80px rgba(0,0,0,.38)}.media-library:before{content:"Bibliothèque de photos";position:absolute;top:18px;left:22px;font-size:20px;font-weight:700}.media-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px}.media-library-collapsed{display:none}.media-close{position:absolute;top:12px;right:16px;z-index:2;width:38px;height:38px;border:0;border-radius:50%;background:#eef2f5;color:#273746;font-size:27px;cursor:pointer}.media-library .form-group{position:sticky;bottom:-20px;margin:20px -18px -20px;padding:16px 20px;background:#fff;border-top:1px solid #dce3eb}.form-grid{min-width:0}@media(max-width:900px){.editor-shell{grid-template-columns:1fr}.editor-page-list{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.admin-current-preview iframe{height:300px}}@media(max-width:520px){.editor-page-list{grid-template-columns:1fr}.media-library{inset:2vh 2vw}.media-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.admin-current-preview iframe{height:72vh;min-height:620px}.admin-current-preview>.admin-preview-title h3:after{content:" — cliquez directement sur un texte ou une photo";font-size:13px;font-family:Arial,sans-serif;font-weight:400;color:#60717e}.advanced-editor{margin-top:24px;padding:15px;border:1px solid #dce3eb;border-radius:10px}.advanced-editor>summary{cursor:pointer;font-weight:700;color:#34495e}@media(max-width:700px){.admin-current-preview iframe{height:68vh;min-height:520px}}

/* Import du calendrier Wix */
.calendar-import-action{display:flex;justify-content:flex-end;margin:0 0 20px}.wix-import-page{max-width:820px}.wix-import-form,.wix-import-preview{display:grid;gap:18px;margin-top:24px;padding:28px;border:1px solid #dce3e9;background:#fff}.wix-import-form input[type=file]{width:100%;padding:14px;border:1px dashed #aeb8c2;background:#f7f9fb}.wix-import-form .btn,.wix-import-preview .btn{justify-self:start}.wix-import-preview ul{margin:0;padding-left:22px}@media(max-width:700px){.calendar-import-action{justify-content:stretch}.calendar-import-action .btn{width:100%;text-align:center}}



/* ========================================================================== */
/* Compléments 6.1 — connexions, messagerie et interface Gérance stable       */
/* ========================================================================== */
.login-box{padding:28px 36px}
.login-access-description{margin:0 0 20px;color:#667784;font-size:.88rem;line-height:1.45;text-align:center}
.login-logo{display:block;width:72px;height:72px;object-fit:contain;margin:0 auto 12px}
@media(max-height:700px){.admin-login{padding:10px}.login-box{padding:18px 24px}.login-box .form-group{margin-bottom:12px}.login-logo{width:56px;height:56px;margin-bottom:6px}}
.first-password-card{max-width:460px!important;margin:1.5vh auto!important;padding:1rem 1.5rem!important}
.first-password-card .login-logo{width:48px!important;height:48px!important;margin:0 auto 3px!important}
.first-password-card .admin-logo{display:none}.first-password-card .eyebrow{margin:0 0 .2rem;font-size:.7rem}
.first-password-card h1{font-size:1.45rem!important;margin:0 0 .35rem!important}
.first-password-card .lead{font-size:.82rem;line-height:1.25;margin:0 0 .7rem!important}
.first-password-card .form-group{margin-bottom:.55rem}.first-password-card label{font-size:.84rem}
.first-password-card input{padding:.55rem .65rem;font-size:.9rem}.first-password-card .password-rules{margin:.55rem 0 .7rem;padding:.55rem .8rem;font-size:.78rem}
.first-password-card .password-rules li{margin:.1rem 0}.first-password-card button{padding:.65rem .8rem;font-size:.88rem}

.chat-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.chat-filter a{padding:8px 12px;border-radius:20px;background:#edf2f5;color:#4b5f6d;font-size:.78rem;font-weight:700;text-decoration:none}.chat-filter a.active{background:#1f3442;color:#fff}
.chat-admin-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:18px;align-items:start}
.chat-admin-layout>section{min-width:0}.chat-admin-list{display:grid;gap:7px;max-height:680px;overflow:auto}
.chat-admin-list a{position:relative;display:grid;gap:4px;padding:12px;border:1px solid #dce4e7;border-radius:9px;color:#273b47;text-decoration:none}
.chat-admin-list a.active{border-color:#277d79;background:#e8f3f1}.chat-admin-list a span,.chat-admin-list a small{color:#687984;font-size:.75rem}
.chat-admin-list .unread{position:absolute;top:12px;right:12px;width:9px;height:9px;border-radius:50%;background:#d9772d}
.chat-thread{display:grid;gap:10px;max-height:460px;padding:14px;overflow:auto;border:1px solid #dce4e7;border-radius:10px;background:#f5f8f9}
.chat-admin-message{max-width:82%;padding:10px 12px;border-radius:10px;background:#fff;box-shadow:0 2px 8px rgba(20,40,50,.06)}
.chat-admin-message.staff{margin-left:auto;background:#dff0ed}.chat-admin-message p{margin:0 0 5px}.chat-admin-message small{color:#687984}
.chat-admin-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.chat-admin-actions form{margin:0}

/* Gabarit commun Gérance et Administration. */
.admin-body{
 --admin-ink:#172733;--admin-ink-soft:#223846;--admin-accent:#277d79;--admin-accent-dark:#1d625f;
 --admin-accent-pale:#e5f2f0;--admin-bg:#edf1f3;--admin-surface:#fff;--admin-line:#dce4e7;
 --admin-muted:#63747f;--admin-danger:#b74642;--admin-radius:14px;
 min-height:100vh;margin:0;overflow-x:hidden;background:var(--admin-bg);color:var(--admin-ink);
 font-family:"Nunito Sans",Arial,sans-serif;font-size:15px;line-height:1.5
}
.admin-body *,.admin-body *:before,.admin-body *:after{box-sizing:border-box}
.admin-body .admin-header{position:sticky;z-index:1000;top:0;min-height:72px;padding:0;border-bottom:1px solid rgba(255,255,255,.09);background:var(--admin-ink);box-shadow:0 8px 28px rgba(23,39,51,.16)}
.admin-header-inner{display:flex;width:min(1760px,calc(100% - 40px));min-height:72px;margin:0 auto;align-items:center;justify-content:space-between;gap:24px}
.admin-body .admin-brand{display:inline-flex;min-width:0;align-items:center;gap:12px;color:#fff;text-decoration:none}
.admin-brand-logo{display:grid;width:44px;height:44px;flex:0 0 44px;place-items:center;overflow:hidden;border:1px solid rgba(255,255,255,.2);border-radius:12px;background:#fff}
.admin-brand-logo img{display:block;width:37px;height:37px;object-fit:contain}
.admin-brand-copy{display:grid;min-width:0;line-height:1.15}.admin-brand-copy strong{overflow:hidden;font-family:Georgia,serif;font-size:1.12rem;font-weight:400;letter-spacing:.035em;text-overflow:ellipsis;white-space:nowrap}
.admin-brand-copy small{margin-top:4px;color:rgba(255,255,255,.66);font-size:.7rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.admin-body .admin-topnav{display:flex;align-items:center;gap:18px}.admin-body .admin-user{display:grid;color:#fff;line-height:1.15;text-align:right}
.admin-user small{color:rgba(255,255,255,.58);font-size:.66rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.admin-user strong{max-width:240px;margin-top:4px;overflow:hidden;font-size:.86rem;text-overflow:ellipsis;white-space:nowrap}
.admin-body .admin-logout{display:inline-flex;min-height:38px;align-items:center;padding:8px 14px;border:1px solid rgba(255,255,255,.26);border-radius:9px;color:#fff;font-size:.78rem;font-weight:700;text-decoration:none}
.admin-body .admin-container{width:min(1760px,calc(100% - 40px));max-width:none;margin:0 auto;padding:28px 0 42px}
.admin-body .admin-grid{display:grid;grid-template-columns:268px minmax(0,1fr);gap:24px;align-items:start}
.admin-body .admin-menu{position:sticky;top:100px;max-height:calc(100vh - 122px);margin:0;padding:12px;overflow-y:auto;border:1px solid rgba(23,39,51,.06);border-radius:var(--admin-radius);background:#fff;box-shadow:0 10px 35px rgba(23,39,51,.08)}
.admin-menu-heading{display:flex;padding:8px 10px 13px;align-items:center;justify-content:space-between;color:var(--admin-muted);font-size:.67rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.admin-menu-heading small{padding:4px 7px;border-radius:20px;background:var(--admin-accent-pale);color:var(--admin-accent-dark);font-size:.62rem}
.admin-menu-list{display:grid;gap:4px}.admin-body .admin-menu-link{display:flex;min-height:43px;margin:0;padding:7px 10px;align-items:center;gap:11px;border:1px solid transparent;border-radius:10px;color:#4e616d;font-size:.87rem;font-weight:600;text-decoration:none}
.admin-body .admin-menu-link:hover{border-color:#e2e9eb;background:#f4f7f8;color:var(--admin-ink)}
.admin-body .admin-menu .admin-menu-link.active{border-color:var(--admin-ink-soft);background:var(--admin-ink-soft);color:#fff;box-shadow:0 7px 18px rgba(23,39,51,.15)}
.admin-body .admin-menu-link .admin-icon{display:grid;width:29px;height:29px;flex:0 0 29px;place-items:center;border-radius:8px;background:#edf2f4;color:var(--admin-ink);font-size:.72rem;font-weight:800}
.admin-body .admin-menu-link.active .admin-icon{background:var(--admin-accent);color:#fff}
.admin-body .admin-label{display:flex;min-width:0;flex:1;align-items:center;justify-content:space-between;gap:8px}
.admin-body .admin-menu-count{display:inline-grid;min-width:22px;height:22px;place-items:center;padding:2px 5px;border-radius:50%;background:var(--admin-danger);color:#fff;font-size:.65rem;line-height:1}
.admin-body .admin-menu-count.agency-request-count{min-width:24px;height:24px;border:1px solid rgba(255,255,255,.35);border-radius:5px;background:#d9772d}
.admin-body .admin-content{min-width:0;min-height:calc(100vh - 142px);padding:clamp(24px,2.4vw,40px);overflow:visible;border:1px solid rgba(23,39,51,.06);border-radius:var(--admin-radius);background:#fff;box-shadow:0 10px 35px rgba(23,39,51,.08)}
.admin-body .admin-content>h2,.admin-body .admin-page-heading h2{margin:0 0 24px;color:var(--admin-ink);font-family:Georgia,serif;font-size:clamp(1.7rem,2.2vw,2.25rem);font-weight:400}
.admin-body .admin-page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px;padding-bottom:22px;border-bottom:1px solid var(--admin-line)}
.admin-body .admin-page-heading h2{margin-bottom:6px}.admin-body .admin-page-heading p{max-width:760px;margin:0;color:var(--admin-muted)}
.admin-body .admin-content h3{color:var(--admin-ink-soft);font-family:Georgia,serif;font-size:1.35rem;font-weight:400}
.admin-body .admin-table-scroll,.admin-body .table-responsive{width:100%;margin:18px 0 4px;overflow-x:auto;border:1px solid var(--admin-line);border-radius:11px;background:#fff}
.admin-body .admin-table-scroll table,.admin-body .table-responsive table{width:100%;min-width:760px;margin:0;border-collapse:separate;border-spacing:0;font-size:.86rem}
.admin-body table th,.admin-body table td{padding:13px 14px;border:0;border-bottom:1px solid #e8edef;text-align:left;vertical-align:middle}
.admin-body table th{position:sticky;z-index:2;top:0;background:#f2f5f6;color:#526571;font-size:.68rem;font-weight:800;letter-spacing:.075em;text-transform:uppercase;white-space:nowrap}
.admin-body table tbody tr:nth-child(even) td{background:#fbfcfc}.admin-body table tbody tr:hover td{background:#f2f8f7}
.admin-body .reservations-table{min-width:1120px}.admin-body .cell-reference{font-weight:800}.admin-body .cell-nowrap,.admin-body .cell-dates{white-space:nowrap}
.admin-body .table-actions{display:flex;min-width:112px;flex-direction:column;gap:6px}.admin-body .table-actions form{display:contents}
.admin-body .table-actions button,.admin-body table .btn,.admin-body table button{width:100%;min-height:32px;margin:0;padding:6px 10px;border-radius:7px;font-size:.72rem;white-space:nowrap}
.admin-body button,.admin-body .btn{min-height:40px;padding:9px 16px;border:1px solid transparent;border-radius:9px;font-family:inherit;font-size:.8rem;font-weight:800;line-height:1.25;text-transform:none;box-shadow:none}
.admin-body .btn-primary,.admin-body button[type=submit]{border-color:var(--admin-accent);background:var(--admin-accent);color:#fff}
.admin-body .btn-outline{border-color:#b7c5ca;background:#fff;color:var(--admin-ink-soft)}.admin-body .btn-outline:hover{border-color:var(--admin-accent);background:var(--admin-accent-pale);color:var(--admin-accent-dark)}
.admin-body .btn-confirm,.admin-body .btn-pay{border-color:var(--admin-accent);background:var(--admin-accent);color:#fff}
.admin-body .btn-cancel{border-color:#d7a46d;background:#fff5ea;color:#8c4c12}.admin-body .btn-delete{border-color:#dfaaa7;background:#fff;color:var(--admin-danger)}
.admin-body .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px}.admin-body .form-group{min-width:0;margin-bottom:18px}
.admin-body .form-group input,.admin-body .form-group textarea,.admin-body .form-group select{width:100%;max-width:100%;min-height:43px;padding:10px 12px;border:1px solid #cbd6da;border-radius:8px;background:#fff;color:var(--admin-ink);font-family:inherit;font-size:.9rem}
.admin-body .form-group input:focus,.admin-body .form-group textarea:focus,.admin-body .form-group select:focus{border-color:var(--admin-accent);outline:0;box-shadow:0 0 0 3px rgba(39,125,121,.12)}
.admin-body .stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.admin-body .stat-card{min-width:0;padding:22px 18px;border:1px solid #d7e2e4;border-radius:12px;background:linear-gradient(145deg,#f8fbfb,#edf5f4);color:var(--admin-ink);box-shadow:none}
.admin-body .stat-card h3{margin:0 0 5px;color:var(--admin-accent-dark);font-size:2rem}.admin-body .stat-card p{color:var(--admin-muted);font-size:.78rem;font-weight:800;letter-spacing:.045em;text-transform:uppercase}
.admin-body .admin-empty-state{display:grid;min-height:180px;place-items:center;border:1px dashed #cfdadd;border-radius:12px;background:#f8fafb;color:var(--admin-muted);text-align:center}

/* Demandes agences */
.admin-body .agency-admin-filters{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 22px}.admin-body .agency-admin-filters a{padding:8px 12px;border:1px solid var(--admin-line);border-radius:8px;background:#fff;color:var(--admin-muted);font-size:.76rem;font-weight:800;text-decoration:none}
.admin-body .agency-admin-filters a.active,.admin-body .agency-admin-filters a:hover{border-color:var(--admin-ink-soft);background:var(--admin-ink-soft);color:#fff}
.admin-body .agency-admin-list{display:grid;gap:16px}.admin-body .agency-admin-request{padding:22px;border:1px solid var(--admin-line);border-radius:12px;background:#fff;box-shadow:0 4px 18px rgba(23,39,51,.045)}
.admin-body .agency-admin-request.is-unread{border-left:5px solid #d9772d;background:#fffdf9}.admin-body .agency-admin-request>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.admin-body .agency-admin-reference{color:var(--admin-accent-dark);font-size:.7rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.admin-body .agency-admin-request dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:0}.admin-body .agency-admin-request dl>div{padding:11px 12px;border-radius:8px;background:#f5f8f8}
.admin-body .agency-admin-request dt{margin-bottom:4px;color:var(--admin-muted);font-size:.64rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.admin-body .agency-admin-request dd{margin:0;font-size:.84rem}
.admin-body .agency-admin-notes{padding:12px 14px;border-left:3px solid var(--admin-accent);background:#f2f8f7}.admin-body .agency-admin-decision{display:grid;gap:12px;margin-top:17px;padding-top:17px;border-top:1px solid var(--admin-line)}
.admin-body .agency-admin-decision label{display:grid;gap:7px;color:var(--admin-muted);font-size:.7rem;font-weight:800;text-transform:uppercase}.admin-body .agency-admin-decision textarea{width:100%;padding:10px;border:1px solid #cbd6da;border-radius:8px}.admin-body .agency-admin-decision>div{display:flex;flex-wrap:wrap;gap:8px}

/* Fiche réservation */
.admin-body .reservation-editor{display:grid;gap:18px}
.admin-body .reservation-edit-section{padding:22px;border:1px solid var(--admin-line);border-radius:12px;background:#f9fbfb}
.admin-body .reservation-edit-section h3{margin:0 0 18px;padding-bottom:10px;border-bottom:1px solid var(--admin-line)}
.admin-body .reservation-edit-section .form-group:last-child{margin-bottom:0}
.admin-body .reservation-edit-section--notes textarea{min-height:150px}
.admin-body .reservation-edit-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding-top:4px}
.admin-body .reservation-edit-actions .btn,.admin-body .reservation-edit-actions button{min-width:150px}
.admin-body .reservation-meta{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:10px}
.admin-body .reservation-meta strong{font-size:.82rem}.admin-body .cancellation-panel{margin-top:28px;padding:22px;border:1px solid #ebc9c5;border-radius:12px;background:#fff8f7}
.admin-body .cancellation-panel h3{margin:0 0 8px;color:#923d36}.admin-body .cancellation-panel p{max-width:800px;color:#6b5654}
.admin-body .cancellation-panel form{display:grid;grid-template-columns:minmax(260px,520px) auto;gap:12px;align-items:end;max-width:none}.admin-body .cancellation-panel .form-group{margin:0}

@media(max-width:1380px){.admin-body .admin-container,.admin-header-inner{width:min(100% - 28px,1760px)}.admin-body .admin-grid{grid-template-columns:240px minmax(0,1fr);gap:18px}}
@media(max-width:1100px){.admin-body .admin-grid{grid-template-columns:minmax(0,1fr)}.admin-body .admin-menu{position:static;max-height:none;padding:8px;overflow:hidden}.admin-menu-heading{display:none}.admin-menu-list{display:flex;gap:7px;overflow-x:auto}.admin-body .admin-menu-link{flex:0 0 auto}.admin-body .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-admin-layout{grid-template-columns:1fr}}
@media(max-width:700px){.admin-header-inner{width:calc(100% - 24px);min-height:64px}.admin-brand-copy small,.admin-user small{display:none}.admin-user strong{max-width:110px}.admin-body .admin-container{width:calc(100% - 20px);padding:10px 0 24px}.admin-body .admin-grid{gap:10px}.admin-body .admin-content{padding:18px 15px 24px}.admin-body .admin-page-heading{display:grid;gap:14px}.admin-body .admin-page-heading .btn{width:100%}.admin-body .form-grid{grid-template-columns:1fr}.admin-body .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-body .agency-admin-request dl{grid-template-columns:1fr}.admin-body .agency-admin-decision>div>*{width:100%}.admin-body .cancellation-panel form{grid-template-columns:1fr}.admin-body .reservation-edit-actions>*{width:100%}}
@media(max-width:430px){.admin-user{display:none!important}.admin-body .stats-grid{grid-template-columns:1fr}}
