.admin-header{
    background:var(--green-dark);
    padding:22px 0;
}

.admin-header-inner{
    width:min(var(--wrap), calc(100% - 48px));
    margin:0 auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
}

.admin-header h1{
    color:#fff;
    font-size:30px;
    font-family:Arial,sans-serif;
}

.admin-header nav{
    display:flex;
    gap:24px;
    flex-wrap:wrap;
    align-items:center;
}


.admin-header nav a{
    color:#fff;
    text-decoration:none;
    font-weight:800;
}

.admin-header nav a:hover{
    color:var(--sand-light);
}

.admin-logout-form{
    margin:0;
}

.admin-logout-button{
    padding:0;
    border:none;
    background:none;
    color:#fff;
    font:inherit;
    font-weight:800;
    cursor:pointer;
}

.admin-logout-button:hover{
    color:var(--sand-light);
}

.admin-form{
    width:100%;
}

.admin-form label{
    display:block;
    margin-top:22px;
    margin-bottom:8px;
    font-weight:800;
    color:var(--green-dark);
}

.admin-form input,
.admin-form textarea,
.admin-form select{
    width:100%;
    padding:15px;
    border:1px solid rgba(8,38,31,.12);
    border-radius:10px;
    background:#f3eadc;
    font-size:16px;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus{
    outline:none;
    border-color:var(--sand);
}

.admin-form textarea{
    min-height:220px;
}

.checkbox-label{
    display:flex !important;
    align-items:center;
    gap:10px;
}

.checkbox-label input{
    width:auto;
}

.foto-admin-preview{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:0;
}

.admin-photo-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
    gap:22px;
    margin-top:34px;
}

.admin-photo-order-form{
    margin-top:34px;
}

.admin-photo-order-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    margin-bottom:16px;
    padding:16px 18px;
    border-radius:14px;
    background:#f6efe3;
    border:1px solid rgba(20,61,49,.07);
}

.admin-photo-order-head p{
    margin:0;
    font-weight:800;
    color:#31433b;
}

.admin-photo-order-head .button{
    margin-top:0;
    flex-shrink:0;
}

.admin-photo-card{
    position:relative;
}

.admin-photo-card.is-main-photo{
    border-color:rgba(22,163,74,.55);
    box-shadow:0 14px 30px rgba(22,163,74,.14);
}

.admin-photo-preview{
    position:relative;
    overflow:hidden;
    background:#e8dfd0;
    aspect-ratio:4 / 3;
}

.admin-photo-preview span{
    position:absolute;
    left:14px;
    top:14px;
    padding:7px 11px;
    border-radius:999px;
    background:#16a34a;
    color:#fff;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    box-shadow:0 8px 18px rgba(8,38,31,.16);
}

.admin-photo-sort-controls{
    position:absolute;
    right:12px;
    bottom:12px;
    display:grid;
    grid-template-columns:repeat(3,28px);
    grid-template-rows:repeat(3,28px);
    gap:0;
    width:88px;
    height:88px;
    padding:2px;
    border-radius:50%;
    background:rgba(15,23,42,.28);
    backdrop-filter:blur(3px);
    box-shadow:0 8px 18px rgba(8,38,31,.16);
}

.admin-photo-sort-controls button{
    border:0;
    width:28px;
    height:28px;
    padding:0;
    border-radius:50%;
    background:rgba(255,255,255,.22);
    color:#fff;
    font-size:20px;
    font-weight:900;
    cursor:pointer;
    line-height:1;
    text-shadow:0 1px 2px rgba(0,0,0,.35);
    align-self:center;
    justify-self:center;
}

.admin-photo-sort-controls button[data-photo-move="up"]{
    grid-column:2;
    grid-row:1;
}

.admin-photo-sort-controls button[data-photo-move="left"]{
    grid-column:1;
    grid-row:2;
}

.admin-photo-sort-controls button[data-photo-move="right"]{
    grid-column:3;
    grid-row:2;
}

.admin-photo-sort-controls button[data-photo-move="down"]{
    grid-column:2;
    grid-row:3;
}

.admin-photo-sort-controls button:hover{
    background:rgba(255,255,255,.36);
}

.admin-photo-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}

.admin-photo-actions form{
    margin:0;
}

.admin-photo-actions .button{
    width:100%;
    margin-top:0;
    min-height:46px;
    padding:0 14px;
    font-size:12px;
}

.admin-photo-actions form:only-child{
    grid-column:1 / -1;
}

.admin-upload-messages{
    margin-top:18px;
    display:grid;
    gap:8px;
}

.admin-upload-messages p{
    margin:0;
    padding:12px 14px;
    border-radius:10px;
    background:#ecfdf5;
    color:#047857;
    font-weight:800;
}

.admin-page-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin:18px 0 6px;
}

.admin-dashboard-stats{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:10px;
    margin-top:22px;
}

.admin-config-warning{
    margin-top:18px;
    padding:16px 18px;
    border-radius:14px;
    background:#fff7ed;
    border:1px solid rgba(194,65,12,.18);
    color:#7c2d12;
}

.admin-config-warning strong{
    display:block;
    margin-bottom:8px;
    color:#7c2d12;
}

.admin-config-warning p{
    margin:4px 0 0;
    color:#7c2d12;
    font-weight:700;
}

.admin-dashboard-stats span{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:12px 14px;
    border-radius:12px;
    background:rgba(246,239,227,.78);
    border:1px solid rgba(20,61,49,.07);
    color:#31433b;
    font-weight:800;
}

.admin-dashboard-stats strong{
    color:var(--green-dark);
    font-size:22px;
    line-height:1;
}

.admin-overview-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
    margin-top:28px;
}

.admin-overview-card .card-content{
    display:flex;
    flex-direction:column;
    min-height:100%;
}

.admin-overview-card-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    margin-bottom:18px;
}

.admin-overview-card-head h3{
    margin:0;
}

.admin-overview-card-head strong{
    color:var(--green-dark);
    font-size:24px;
    line-height:1.1;
    text-align:right;
}

.admin-overview-stats{
    grid-template-columns:1fr;
    margin-top:0;
}

.admin-overview-list{
    display:grid;
    gap:10px;
    margin-top:18px;
}

.admin-overview-list div{
    padding:12px 14px;
    border-radius:12px;
    background:rgba(255,255,255,.52);
    border:1px solid rgba(20,61,49,.07);
}

.admin-overview-list strong,
.admin-overview-list span{
    display:block;
}

.admin-overview-list span{
    margin-top:4px;
    color:#5b6a63;
    font-size:13px;
    line-height:1.4;
}

.admin-overview-card .admin-page-actions{
    margin-top:auto;
    padding-top:18px;
}

.admin-secondary-button{
    background:#64748b !important;
}

.admin-secondary-button:hover{
    background:#475569 !important;
}

.admin-dark-button{
    background:#0f172a !important;
}

.admin-dark-button:hover{
    background:#1e293b !important;
}

.admin-card-meta{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:14px 0 18px;
}

.admin-card-actions,
.admin-form-actions{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:18px;
}

.admin-card-actions .button,
.admin-form-actions .button{
    margin-top:0;
}

.admin-chalet-card-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
}

.admin-chalet-card-head small{
    display:block;
    margin-bottom:7px;
    color:#64748b;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.7px;
}

.admin-chalet-card-head h3{
    margin:0;
    line-height:1.12;
}

.admin-chalet-card-head .admin-status-badge{
    flex-shrink:0;
    margin-top:2px;
}

.admin-card-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
}

.admin-card-actions .button{
    width:100%;
    justify-content:center;
    text-align:center;
}

.admin-card-actions .button:last-child:nth-child(odd){
    grid-column:1 / -1;
}
.container{
    width:min(var(--wrap), calc(100% - 48px));
    margin:40px auto;
}

.admin-form button{
    margin-top:18px;
}

.hero{
    background:linear-gradient(135deg,#f5ecde 0%, #e8dbc7 100%);
    padding:34px;
    border-radius:22px;
    border:1px solid rgba(20,61,49,.07);
    box-shadow:0 12px 26px rgba(8,38,31,.07);
}

.admin-message-hero{
    margin-bottom:25px;
}

.admin-hero-side{
    display:flex;
    flex-direction:row;
    align-items:flex-end;
    justify-content:flex-end;
    gap:14px;
    flex-wrap:wrap;
}

.admin-hero-side .admin-page-actions{
    margin:0;
}

.admin-hero-side .admin-message-stats{
    justify-content:flex-end;
}

.admin-message-stats{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.admin-message-stats a{
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:7px 12px;
    border-radius:999px;
    background:#eef2ff;
    color:#3730a3;
    text-decoration:none;
    font-weight:800;
}

.admin-message-stats a.open{
    background:#fff7ed;
    color:#c2410c;
}

.admin-message-stats a.done{
    background:#ecfdf5;
    color:#047857;
}

.admin-message-stats a.is-active{
    box-shadow:0 0 0 3px rgba(20,61,49,.16);
}

.admin-search-form{
    margin:0 0 24px;
    padding:18px;
    border-radius:16px;
    background:#f7f0e4;
    border:1px solid rgba(20,61,49,.07);
    box-shadow:0 10px 22px rgba(8,38,31,.06);
}

.admin-search-form label{
    display:block;
    margin-bottom:10px;
    color:var(--green-dark);
    font-weight:900;
}

.admin-search-form div{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.admin-search-form input{
    flex:1 1 260px;
    min-height:44px;
    border:1px solid rgba(20,61,49,.14);
    border-radius:12px;
    padding:0 14px;
    font-size:15px;
    background:#fff;
}

.admin-search-form .button{
    margin-top:0;
}

.admin-delete-form{
    margin-top:15px;
}

.admin-login-panel{
    max-width:500px;
    margin:80px auto;
}

.admin-error-message{
    color:#dc2626;
    margin-top:20px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:28px;
    margin-top:30px;
}

.admin-cards-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
}

.card{
    background:#f6efe3;
    border-radius:20px;
    overflow:hidden;
    border:1px solid rgba(20,61,49,.07);
    box-shadow:0 12px 26px rgba(8,38,31,.07);
}

.admin-card-panel{
    height:100%;
}

.admin-card-panel .card-content{
    height:100%;
}

.admin-card-panel h2{
    margin-bottom:14px;
}

.card-content{
    padding:24px;
}

.card-content h3{
    margin-bottom:14px;
}
.admin-message-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.admin-message-card {
    background: #f6efe3;
    border-radius: 24px;
    padding: 30px;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.06);

    border: 1px solid rgba(20,61,49,.08);
}

.admin-message-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.admin-message-top h3 {
    margin: 0;
    font-size: 30px;
    color: #0f172a;
}

.admin-message-top p {
    margin-top: 8px;
    color: #64748b;
    font-size: 15px;
}

.admin-message-top span {
    color: #94a3b8;
    font-size: 14px;
    white-space: nowrap;
}

.admin-message-chalet {
    background: #ece2d4;
    padding: 14px 18px;
    border-radius: 14px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #0f172a;
}

.admin-message-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 25px;
}

.admin-message-contact a {
    background: #efe5d7;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
    transition: 0.2s;
}

.admin-message-contact a:hover {
    background: #e7dac4;
}

.admin-waitlist-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 0 60px;
}

.admin-waitlist-details span {
    padding: 9px 12px;
    border-radius: 10px;
    background: #efe5d7;
    color: #31433b;
}

.admin-waitlist-card {
    max-width: 980px;
    width: 100%;
}

.admin-compact-card {
    max-width: 980px;
    width: 100%;
}

.admin-compact-panel,
.admin-waitlist-panel {
    margin: 14px 0 0 60px;
    border-radius: 12px;
    background: #efe5d7;
    overflow: hidden;
    box-sizing: border-box;
    max-width: calc(100% - 60px);
}

.admin-compact-panel summary,
.admin-waitlist-panel summary {
    cursor: pointer;
    padding: 12px 14px;
    color: var(--green-dark);
    font-weight: 900;
    list-style-position: inside;
}

.admin-compact-panel[open] summary,
.admin-waitlist-panel[open] summary {
    border-bottom: 1px solid rgba(8,38,31,.08);
}

.admin-compact-panel .admin-message-body,
.admin-waitlist-panel .admin-message-body {
    margin: 14px;
    background: #f6efe3;
}

.admin-compact-panel .admin-note-form {
    margin: 0;
    padding: 0 14px 14px;
}

.admin-compact-panel .admin-reply-form{
    margin:0;
    padding:0 14px 14px;
}

.admin-reply-form label{
    display:block;
    margin:0 0 8px;
    color:var(--green-dark);
    font-weight:900;
}

.admin-reply-form textarea{
    box-sizing:border-box;
    width:100%;
    min-height:130px;
    padding:10px 12px;
    border-radius:8px;
    border:1px solid rgba(20,61,49,.14);
    background:#f8efe1;
    resize:vertical;
}

.admin-reply-history{
    margin:0 14px 14px;
    display:grid;
    gap:10px;
}

.admin-reply-history > strong{
    color:var(--green-dark);
}

.admin-reply-history-item{
    padding:12px 14px;
    border-radius:12px;
    background:#f6efe3;
    border:1px solid rgba(20,61,49,.07);
}

.admin-reply-history-item span{
    display:block;
    color:#64748b;
    font-size:12px;
    font-weight:800;
    margin-bottom:8px;
}

.admin-reply-history-item p{
    margin:0;
    color:#334155;
    line-height:1.5;
}

.admin-reply-history-item small{
    display:block;
    margin-top:8px;
    color:#991b1b;
    font-weight:800;
}

.admin-compact-panel .admin-note-form textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 70px;
    max-height: 120px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
}

.admin-compact-panel .admin-message-finished {
    margin: 0;
    padding: 0 14px 14px;
}

.admin-waitlist-form {
    margin: 0;
    padding: 12px;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

.admin-waitlist-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 100%;
}

.admin-waitlist-grid > div,
.admin-waitlist-form input,
.admin-waitlist-form textarea {
    min-width: 0;
    box-sizing: border-box;
}

.admin-waitlist-form label {
    margin-top: 0;
    margin-bottom: 4px;
    font-size: 12px;
}

.admin-waitlist-form textarea {
    min-height: 62px;
}

.admin-waitlist-form input,
.admin-waitlist-form textarea {
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 8px;
}

.admin-waitlist-form .admin-message-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.admin-waitlist-form .admin-message-actions .button,
.admin-waitlist-form .admin-message-actions button {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    font-size: 12px;
    box-sizing: border-box;
    white-space: nowrap;
}

.admin-message-body {
    background: #ede4d6;
    padding: 24px;
    border-radius: 18px;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 25px;
}

.admin-message-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.admin-message-actions .button {
    min-width: 180px;
    text-align: center;
}

.admin-delete-button {
    background: linear-gradient(
        135deg,
        #dc2626 0%,
        #b91c1c 100%
    ) !important;
}

.admin-delete-button:hover {
    background: linear-gradient(
        135deg,
        #ef4444 0%,
        #dc2626 100%
    ) !important;
}

@media (max-width: 768px) {

    .admin-message-top {
        flex-direction: column;
    }

    .admin-message-actions {
        flex-direction: column;
    }

    .admin-message-actions .button {
        width: 100%;
    }

    .admin-message-contact {
        flex-direction: column;
    }
}
.admin-message-list {
    gap: 14px;
    margin-top: 24px;
}

.admin-message-card {
    padding: 18px 22px;
    border-radius: 18px;
}

.admin-message-header {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 16px;
    align-items: start;
}

.admin-message-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #efe6d2;
    color: #0b3d2e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.admin-message-title h3 {
    font-size: 24px;
    margin: 0;
}

.admin-message-title p {
    margin: 4px 0 0;
    color: #51627a;
}

.admin-message-title .admin-message-reply-summary{
    margin-top:6px;
    color:#047857;
    font-size:12px;
    font-weight:800;
}

.admin-message-date {
    font-size: 14px;
    color: #7c8ba6;
    white-space: nowrap;
}

.admin-message-chalet {
    margin: 12px 0 0 60px;
    padding: 10px 14px;
    border-radius: 12px;
}

.admin-message-contact {
    margin: 12px 0 0 60px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-message-contact a {
    padding: 9px 12px;
    border-radius: 10px;
}

.admin-message-body {
    margin: 14px 0 0 60px;
    padding: 14px 16px;
    border-radius: 14px;
    line-height: 1.5;
}

.admin-note-form {
    margin: 14px 0 0 60px;
}

.admin-note-form textarea {
    min-height: 46px;
    max-height: 80px;
    padding: 12px 14px;
    border-radius: 12px;
    resize: vertical;
}

.admin-message-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.admin-message-actions .button,
.admin-message-actions button {
    min-width: auto;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 13px;
}

.admin-delete-button {
    background: #dc2626 !important;
}

.admin-delete-button:hover {
    background: #b91c1c !important;
}

.admin-done-button {
    background: #2563eb !important;
}

.admin-open-button {
    background: #f59e0b !important;
}

.admin-status-badge {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.admin-status-badge.open {
    background: #fff7ed;
    color: #c2410c;
}

.admin-status-badge.warning{
    background:#fef2f2;
    color:#991b1b;
}

.admin-status-badge.done {
    background: #ecfdf5;
    color: #047857;
}

.admin-status-badge.neutral{
    background:#eef2ff;
    color:#3730a3;
}

.admin-message-title-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.admin-message-finished {
    margin: 12px 0 0 60px;
    font-size: 13px;
    color: #047857;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .admin-cards-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .admin-dashboard-stats{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }

    .admin-overview-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width: 768px) {
    .admin-message-header {
        grid-template-columns: 1fr;
    }

    .admin-message-chalet,
    .admin-message-contact,
    .admin-message-body,
    .admin-note-form,
    .admin-waitlist-details,
    .admin-compact-panel,
    .admin-waitlist-panel,
    .admin-waitlist-form,
    .admin-message-finished {
        margin-left: 0;
    }

    .admin-waitlist-panel{
        max-width:100%;
    }

    .admin-message-date {
        white-space: normal;
    }

    .admin-cards-grid{
        grid-template-columns:1fr;
    }

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

    .admin-overview-grid{
        grid-template-columns:1fr;
    }

    .admin-waitlist-grid{
        grid-template-columns:1fr;
    }

    .admin-waitlist-form .admin-message-actions{
        grid-template-columns:1fr 1fr;
    }

    .admin-photo-order-head{
        flex-direction:column;
        align-items:flex-start;
    }

    .admin-photo-order-head .button{
        width:100%;
    }
}

/* Final waitlist layout guard: keep edit fields inside the opened panel. */
.admin-waitlist-card .admin-waitlist-panel{
    display:block;
    width:auto;
    max-width:none;
    margin:14px 0 0 60px;
    padding:0;
    overflow:hidden;
}

.admin-waitlist-card .admin-waitlist-form{
    width:100%;
    max-width:100%;
    margin:0;
    padding:12px;
    overflow:hidden;
}

.admin-waitlist-card .admin-waitlist-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:8px;
    width:100%;
    max-width:100%;
}

.admin-waitlist-card .admin-waitlist-grid > div,
.admin-waitlist-card .admin-waitlist-form input,
.admin-waitlist-card .admin-waitlist-form textarea{
    min-width:0;
    max-width:100%;
    width:100%;
    box-sizing:border-box;
}

.admin-waitlist-card .admin-waitlist-form input,
.admin-waitlist-card .admin-waitlist-form textarea{
    padding:8px 10px;
    font-size:13px;
}

.admin-waitlist-card .admin-waitlist-form .admin-message-actions{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:8px;
}

.admin-waitlist-card .admin-waitlist-form .admin-message-actions .button,
.admin-waitlist-card .admin-waitlist-form .admin-message-actions button{
    width:100%;
    min-width:0;
    margin-top:0;
    padding:10px 8px;
    font-size:12px;
}

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

    .admin-waitlist-card .admin-waitlist-form .admin-message-actions{
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width: 768px){
    .admin-waitlist-card .admin-waitlist-panel{
        margin-left:0;
    }
}

/* Wachtlijst hero alignment */
.admin-hero-side{
    align-items:end;
}

.admin-hero-side .admin-message-stats{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:10px;
}

.admin-hero-side .admin-message-stats span{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:14px;
    min-width:180px;
}

.admin-hero-side .admin-message-stats strong{
    font-size:26px;
    line-height:1;
}

.admin-waitlist-total{
    background:#f0f7f4 !important;
    border-color:rgba(20,61,49,.12) !important;
}

.admin-hero-side .admin-page-actions{
    margin:0;
    align-self:end;
}

/* Wachtlijst hero: totaal boven knop, no badge styling */
.admin-messages-hero{
    display:grid;
    grid-template-columns:minmax(0, 1fr) auto;
    gap:28px;
    align-items:start;
}

.admin-waitlist-hero-copy{
    padding-top:0;
}

.admin-waitlist-hero-copy h2{
    margin-top:0;
}

.admin-hero-side{
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    gap:12px;
    padding-top:0;
}

.admin-hero-side .admin-message-stats{
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    gap:8px;
}

.admin-hero-side .admin-message-stats span{
    display:block;
    min-width:0;
    padding:0;
    background:none !important;
    border:0 !important;
    box-shadow:none !important;
    color:inherit;
    font-weight:800;
}

.admin-hero-side .admin-message-stats strong{
    color:inherit;
    font-size:inherit;
    line-height:inherit;
}

.admin-waitlist-total{
    background:none !important;
    border:0 !important;
    padding:0 !important;
}

.admin-hero-side .admin-page-actions{
    margin-top:18px;
    align-self:flex-start;
}

/* Berichten: laat de kaarten de volle beschikbare breedte gebruiken */
.admin-compact-card{
    max-width:none;
    width:100%;
}
