﻿:root {
    --orange: #F58220;
    --orange-dark: #E5731A;
    --orange-light: #FFF1E3;
    --bg: #F5F5F5;
    --card: #FFFFFF;
    --text: #1F2937;
    --muted: #6B7280;
    --border: #E5E7EB;
    --green: #10B981;
    --green-bg: #D1FAE5;
    --yellow: #F59E0B;
    --yellow-bg: #FEF3C7;
    --red-bg: #FEE2E2;
    --red: #EF4444;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

* {
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--orange);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
    font-family: inherit;
}

.btn-primary {
    background: var(--orange);
    color: #fff;
    width: 100%;
}

    .btn-primary:hover {
        background: var(--orange-dark);
        opacity: 0.85;
    }

/* ---------- Login Page ---------- */
.login-page {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-wrap {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.login-logo-img {
    max-width: 200px;
    max-height: 100px;
    object-fit: contain;
    display: block;
}

.login-logo-img-nav {
    max-width: 75px;
    max-height: 50px;
    object-fit: contain;
    display: block;
}

.login-card {
    background: var(--card);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow);
    text-align: left;
}

    .login-card h2 {
        margin: 0 0 4px;
        font-size: 20px;
    }

    .login-card .lead {
        color: var(--muted);
        font-size: 14px;
        margin: 0 0 24px;
    }

.field {
    margin-bottom: 16px;
}

    .field label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 6px;
    }

.field-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .field-row .forgot {
        font-size: 12px;
    }

.input-wrap {
    position: relative;
}

    .input-wrap .icon {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--muted);
        font-size: 14px;
    }

.input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    background: #FAFAFA;
    font-family: inherit;
}

    .input:focus {
        outline: none;
        border-color: var(--orange);
        background: #fff;
    }

    .input.no-icon {
        padding-left: 12px;
    }

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    margin: 8px 0 20px;
}

.login-footer {
    margin-top: 32px;
    font-size: 12px;
    color: var(--muted);
}

    .login-footer a {
        margin: 0 6px;
        color: var(--muted);
    }

/* ---------- Dashboard ---------- */
.dashboard {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 180px;
    height: 100vh;
    position: sticky;
    top: 0;
    background: #fff;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    box-sizing: border-box;
}

.sidebar-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 12px 24px;
    margin-bottom: 12px;
}

.sidebar-logo {
    max-width: 85%;
    max-height: 90px;
    display: block;
    margin: 0 auto;
}

/*MOBIELE SIDEBAR*/

.sidebar-toggle {
    display: none;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 2;
    background: var(--orange);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 20px;
    cursor: pointer;
}

@media (max-width: 750px) {
    .sidebar-toggle {
        display: block;
    }

    .sidebar {
        position: fixed;
        left: -240px;
        z-index: 1;
        top: 0;
        height: 100vh;
        width: 240px;
        transition: left 0.3s ease;
    }

        .sidebar.open {
            left: 0;
        }

    .dashboard {
        flex-direction: column;
    }

    .main {
        padding: 16px;
        margin-top: 60px;
    }
}

/*MOEBIELE DASHBOARD PAGINA*/
@media (max-width: 750px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .main {
        padding: 16px;
    }

    .table-card {
        overflow-x: auto;
    }

    /*    table {
        min-width: 600px;
    }*/

    .table-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    th, td {
        padding: 10px 14px;
        font-size: 13px;
    }

    .stat-value {
        font-size: 20px;
    }
}

.sidebar .nav {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    overflow-y: auto;
}

    .nav li a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 20px;
        color: var(--text);
        font-size: 14px;
        font-weight: 500;
    }

        .nav li a:hover {
            background: var(--bg);
            text-decoration: none;
        }

        .nav li a.active {
            background: var(--orange-light);
            color: var(--orange);
            border-left: 3px solid var(--orange);
            padding-left: 17px;
        }

.sidebar-account-panel {
    width: 100%;
    margin-top: auto;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    background: #fafafa;
}

.user-info-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px 12px 16px;
}

.user-icon {
    font-size: 1.2rem;
    color: var(--text);
    opacity: 0.7;
}

.user-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.user-title {
    font-size: 11px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.logout-form {
    width: 100%;
}

.logout-btn {
    margin: 0 12px;
    width: calc(100% - 24px);
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

    .logout-btn:hover {
        filter: brightness(0.9);
    }

.logout {
    width: 100%;
    margin-top: auto;
    padding: 10px 0;
}

.logout-btn {
    margin: 8px 12px;
    width: calc(100% - 24px);
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

    .logout-btn:hover {
        filter: brightness(0.9);
    }

.main {
    flex: 1;
    padding: 32px;
    overflow-x: auto;
}

    .main h1 {
        color: var(--orange);
        margin: 0 0 24px;
        font-size: 22px;
    }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
}

    .stat-card .stat-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: var(--muted);
        font-size: 13px;
        margin-bottom: 12px;
    }

        .stat-card .stat-head .ico {
            width: 28px;
            height: 28px;
            background: var(--orange-light);
            color: var(--orange);
            border-radius: 6px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

.stat-value {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 6px;
}

.stat-trend {
    font-size: 12px;
    color: var(--green);
}

.table-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px 0;
    box-shadow: var(--shadow);
}

.table-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 16px;
    border-bottom: 1px solid var(--border);
}

    .table-head h3 {
        margin: 0;
        font-size: 16px;
    }

    .table-head a {
        font-size: 13px;
    }

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 14px 20px;
    text-align: left;
    font-size: 14px;
}

th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

tbody tr:hover {
    background: var(--bg);
}

tbody tr + tr td {
    border-top: 1px solid var(--border);
}

.member {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--orange-light);
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.badge-high {
    background: var(--green-bg);
    color: var(--green);
}

.badge-med {
    background: var(--yellow-bg);
    color: var(--yellow);
}

.badge-low {
    background: var(--red-bg);
    color: var(--red);
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    font-size: 18px;
    padding: 4px 8px;
}

/* ---------- Mobile screens ---------- */
.phone-stage {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--bg);
}

.phone {
    width: 100%;
    max-width: 402px;
    background: #fff;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

@media (max-width: 480px) {
    .phone-stage {
        padding: 0;
    }

    .phone {
        border-radius: 0;
        box-shadow: none;
        min-height: 100vh;
    }
}

.phone-header {
    background: var(--orange);
    color: #fff;
    text-align: center;
    padding: 28px 20px;
}

    .phone-header .brand {
        font-size: 22px;
        font-weight: 700;
    }

    .phone-header .tag {
        font-size: 12px;
        opacity: 0.95;
        margin-top: 2px;
    }

.phone-body {
    flex: 1;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
}

.phone-footer-bar {
    height: 8px;
    background: var(--orange);
}

.qr-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    width: 220px;
    height: 220px;
}

    .qr-card img,
    .qr-card svg {
        width: 100%;
        height: 100%;
    }

.qr-text {
    text-align: center;
    margin: 12px 0 24px;
}

    .qr-text h2 {
        margin: 0 0 6px;
        font-size: 18px;
    }

    .qr-text p {
        margin: 0;
        color: var(--muted);
        font-size: 13px;
    }

/* Form (aanwezigheid) */
.form-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .form-stack .field {
        margin: 0;
    }

.divider {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-style: italic;
    font-size: 13px;
    font-weight: 600;
    margin: 8px 0 4px;
}

    .divider::before,
    .divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: var(--border);
    }

.select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    background: #FAFAFA url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%236B7280' d='M6 8L0 0h12z'/></svg>") no-repeat right 12px center;
    appearance: none;
    font-family: inherit;
}

.sub-form {
    background: #f0f4f8;
    padding: 14px 14px 14px;
    border-radius: 8px;
    margin-bottom: 4px;
}

.qr-card {
    margin: 0 auto 8px;
}

/* Confirmation popup */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-confirm {
    background: var(--orange);
    color: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    text-align: center;
    max-width: 320px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

/* Standalone confirmation page (matches Figma "Bevestiging pop up" tile) */
.confirm-tile-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    padding: 24px;
}

/* ---------- Training Create Modal ---------- */
.training-create-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.training-modal {
    background: #fff;
    width: 100%;
    max-width: 380px;
    border-radius: 14px;
    padding: 22px 22px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.training-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.training-modal__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.training-modal__close {
    background: none;
    border: none;
    cursor: pointer;
    color: #9CA3AF;
    font-size: 20px;
    line-height: 1;
    padding: 4px;
}

    .training-modal__close:hover {
        color: var(--text);
    }

.training-modal .field {
    margin-top: 16px;
}

.training-modal label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.training-modal .input,
.training-modal .select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    background: #fff;
}

    .training-modal .input:focus,
    .training-modal .select:focus {
        outline: none;
        border-color: var(--orange);
    }

.training-modal__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 22px;
}

.btn-outline {
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
}

    .btn-outline:hover {
        background: #F9FAFB;
    }

/* ---------- Statistics page ---------- */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 24px;
}

    .page-header h1 {
        margin: 0;
    }

.page-actions {
    display: flex;
    gap: 10px;
}

.btn-dark {
    background: #1F2937;
    color: #fff;
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 8px;
}

    .btn-dark:hover {
        background: #111827;
    }

.btn-sm {
    padding: 8px 14px;
    font-size: 13px;
    width: auto;
}

.stat-trend.down {
    color: var(--red);
}

.charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }
}

.chart-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.chart-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.chart-card__title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.chart-card__value {
    font-size: 22px;
    font-weight: 700;
    color: var(--orange);
}

.chart-card__sub {
    font-size: 11px;
    color: var(--green);
    margin-top: 2px;
    text-align: right;
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 120px;
    margin-top: 12px;
}
    /* .bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 250px;
}

.bar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 50px;
    height: 100%;
} */

    .bar-chart .bar {
        flex: 1;
        border-radius: 4px 4px 0 0;
        min-height: 0px;
        position: relative;
    }

.bar-val {
    position: absolute;
    top: -18px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 10px;
    color: var(--muted);
    font-weight: 600;
}

.bar.bar-orange {
    background: var(--orange);
}

.bar.bar-dark {
    background: #2C3E50;
}

.bar.bar-brown {
    background: #8B4513;
}

.bar.bar-inactive {
    background: #9f9d9c29;
}

/* .bar-label {
    position: absolute;
    bottom: -10px;
    font-size: 12px;
    text-align: center;
    width: 100%;
} */

.bar-labels {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

    .bar-labels span {
        flex: 1;
        text-align: center;
        font-size: 11px;
        color: var(--muted);
    }

.hbar-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hbar-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hbar-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
}

    .hbar-label .num {
        color: var(--muted);
        font-weight: 600;
    }

.hbar-track {
    height: 8px;
    background: var(--bg);
    border-radius: 6px;
    overflow: hidden;
}

.hbar-fill {
    height: 100%;
    background: var(--orange);
    border-radius: 6px;
}

.rank {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.member small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

/* ---------- Trainingen page ---------- */
.section-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.section-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--card);
    border-bottom: 1px solid var(--border);
}

    .section-card__head h3 {
        margin: 0;
        color: var(--orange);
        font-size: 16px;
    }



.activity-tag {
    color: var(--orange);
    font-weight: 600;
    font-size: 13px;
}

.edit-link {
    color: var(--orange);
    font-weight: 600;
    font-size: 13px;
}

/*MOBIELE TRAINING PAGE*/
@media (max-width: 750px) {
    .section-card {
        overflow-x: hidden;
    }

    table, thead, tbody, th, td, tr {
        display: block;
    }

    thead {
        display: none;
    }

    tbody tr {
        border: 1px solid var(--border);
        border-radius: 10px;
        margin: 12px 16px;
        padding: 12px;
    }

    tbody td {
        padding: 4px 0;
        border: none;
        font-size: 13px;
    }

        tbody td::before {
            content: attr(data-label);
            display: block;
            font-size: 11px;
            font-weight: 600;
            color: var(--muted);
            text-transform: uppercase;
        }
}

/* Confirmation tile (Training aangemaakt) */
.confirm-tile {
    background: #fff;
    border-radius: 10px;
    padding: 22px 36px;
    box-shadow: var(--shadow);
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
}

/* Alerts */
.alert-danger {
    background: #f8d7da;
    border-color: #f4c2c7;
    color: #5e1c23;
    padding: 16px;
    border: 2px solid #b86c74;
    border-radius: 25px
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    flex-shrink: 0;
}

.success-title {
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.success-text {
    margin: 6px 0;
    line-height: 1.5;
}

/*Settings page*/
.settings-grid {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 24px;
    align-items: start;
}

.settings-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.settings-preview {
    position: sticky;
    top: 24px;
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: start;
}



.settings-card {
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    box-shadow: var(--shadow);
}

    .settings-card h3 {
        margin: 0 0 4px;
        font-size: 16px;
    }

.settings-hint {
    font-size: 11px;
    color: var(--muted);
    font-weight: 400;
    margin-bottom: 8px;
}

.colors-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.color-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.color-picker {
    width: 36px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 2px;
    cursor: pointer;
    background: #fff;
    flex-shrink: 0;
}

.color-hex {
    flex: 1;
    min-width: 0;
}

.settings-preview {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: start;
}

    .settings-preview h3 {
        margin: 0 0 16px;
        font-size: 16px;
    }

.settings-preview-box {
    background: var(--bg);
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
    transition: background 0.2s;
    width: 100%;
}

.preview-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.preview-logo-img {
    max-width: 100px;
    max-height: 50px;
    object-fit: contain;
    display: block;
}

.preview-card {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    text-align: left;
    box-shadow: var(--shadow);
}

.preview-btn {
    background: var(--orange);
    color: #fff;
    border-radius: 8px;
    padding: 9px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    cursor: default;
    transition: background 0.2s;
}

.alert-success {
    background: var(--green-bg);
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

/*Settings page*/
.btn-secondary {
    background: #6c757d;
    border-color: #6c757d;
    color: #fff;
    width: auto;
    padding: 10px 28px;
}

    .btn-secondary:hover {
        background: #5a6268;
    }

.settings-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-top: 12px;
}

    .settings-actions .btn {
        width: auto;
        padding: 8px 16px;
        font-size: 12px;
    }

.field {
    margin-bottom: 10px;
}

    .field label {
        display: block;
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 4px;
    }

.field--logo {
    margin-top: 10px;
}

.field-hint {
    color: #888;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.preview-label {
    margin: 0 0 10px;
    font-weight: 600;
}

.preview-field-mock {
    background: #eee;
    border-radius: 6px;
    height: 32px;
    margin-bottom: 8px;
}

.preview-field-mock--last {
    margin-bottom: 14px;
}

.window-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.window-input {
    max-width: 120px;
}

@media (max-width: 600px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }

    .colors-row {
        grid-template-columns: 1fr;
    }
}

/*-----Registrations page-----*/
.dashboard-card {
    margin-top: 20px;
    padding: 20px;
}

    .dashboard-card ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

        .dashboard-card ul li {
            padding: 12px 15px;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

    .dashboard-card .name {
        font-weight: 600;
        color: #2c3e50;
    }

    .dashboard-card span {
        color: #7f8c8d;
    }

    .dashboard-card .badge {
        background-color: #f58220;
        color: white;
        padding: 4px 8px;
        margin: 0 8px;
        border-radius: 4px;
        font-size: 0.85rem;
    }

    .dashboard-card small {
        color: #95a5a6;
    }

.pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}


.pagination-container button, .pagination-container a {
    display: inline-block;
    width: auto;
    min-width: 100px;
    text-align: center;
}

.pagination-container span {
    font-size: 0.85rem;
    color: var(--muted);
    padding: 0 12px;
}


.pagination-container .btn-primary {
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 7px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: var(--shadow);
    transition: background 0.15s;
}

    .pagination-container .btn-primary:hover {
        background: var(--orange-dark);
        text-decoration: none;
    }

    .pagination-container .btn-disabled {
        background: var(--bg);
        color: var(--border);
        border: 1px solid var(--border);
        border-radius: 6px;
        padding: 7px 18px;
        font-size: 0.85rem;
        font-weight: 500;
        box-shadow: none;
        cursor: not-allowed;
    }


.filter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    max-width: 300px;
}

    .filter-group label {
        font-weight: bold;
        color: #2c3e50;
        margin: 0;
    }

.filter-input {
    height: 38px !important;
    padding: 0 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
    width: 100%;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

    .filter-buttons .btn {
        width: auto !important;
        height: 38px !important;
        flex-grow: 0;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }

.dashboard-card .registration-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.registration-edit-modal {
    max-width: 420px;
    width: 100%;
}

@media (max-width: 750px) {

    .training-accordion__header {
        padding: 12px 14px;
        gap: 8px;
    }

    .training-accordion__header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .training-accordion__title {
        font-size: 14px;
    }

    .training-accordion__date {
        font-size: 12px;
    }

    .training-accordion__count {
        font-size: 12px;
        white-space: nowrap;
    }

    .training-info-panel__grid {
        grid-template-columns: 1fr;
    }

    .training-info-panel {
        padding: 12px 14px;
    }

    .reg-list .reg-list__item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 14px;
        gap: 10px;
    }

        .reg-list .reg-list__item > .reg-list__left {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 3px;
            min-width: 0;
            flex: 1;
        }

            .reg-list .reg-list__item > .reg-list__left .reg-list__top {
                display: flex;
                align-items: center;
                gap: 5px;
                flex-wrap: nowrap;
                overflow: hidden;
                width: 100%;
            }

            .reg-list .reg-list__item > .reg-list__left .name {
                font-weight: 600;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                min-width: 0;
                flex-shrink: 1;
            }

            .reg-list .reg-list__item > .reg-list__left .reg-list__time {
                display: block;
                text-align: left;
                width: 100%;
                font-size: 12px;
                color: var(--muted);
                white-space: nowrap;
                padding-left: 0;
                margin-left: 0;
            }

    .reg-list__koos {
        display: none;
    }

    .reg-list__edit {
        flex-shrink: 0;
        align-self: center;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border-radius: 10px;
    }

    .reg-list__edit-label {
        display: none;
    }

    .reg-list__edit-icon {
        display: inline;
        font-size: 18px;
    }

    .pagination-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 12px 0;
    }
}


/* ── Registratie bewerken (Admin/RegistrationEdit) ── */
@media (max-width: 600px) {
    .registration-edit-modal {
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
        min-height: 100vh;
        padding: 20px 16px;
    }
}

/* ---------- Export page ---------- */
.export-filters {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 160px;
}

    .filter-group label {
        font-size: 13px;
        font-weight: 600;
        color: var(--muted);
    }

.select-all-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.export-actions {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
}


/*Event Banner*/
.event-banner-wrap {
    width: 100%;
    margin-top: 1.25rem;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.event-banner-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

#current-banner-preview {
    display: block;
    max-width: 100%;
    max-height: 80px;
    border-radius: 6px;
    margin-top: 0.5rem;
}

#remove-banner-btn {
    margin-top: 0.5rem;
}

.sidebar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    border-block: 1px solid var(--border);
    padding: 8px 0;
    margin: 2px 0;
    font-size: 0.85rem;
    color: #666;
}

/* ---------- Navbar ---------- */
.public-nav {
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 100;
    height: 56px;
}

.public-nav__links {
    display: flex;
    gap: 4px;
    align-items: center;
}

.public-nav__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text) !important;
    text-decoration: none !important;
    padding: 6px 14px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.public-nav__link:hover {
    background: rgba(0,0,0,0.05);
    color: var(--orange) !important;
}

.public-nav__brand {
    font-weight: 700;
    font-size: 16px;
    color: var(--orange) !important;
    text-decoration: none !important;
}

.public-nav__link--btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
    color: var(--text);
}

.public-nav__link--btn:hover {
    background: rgba(0,0,0,0.05);
    color: var(--orange);
}

.public-nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
}

.public-nav__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.25s ease;
}

.public-nav__hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.public-nav__hamburger.open span:nth-child(2) {
    opacity: 0;
}
.public-nav__hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 640px) {
    .public-nav__hamburger {
        display: flex;
    }

    .public-nav__links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: absolute;
        top: 56px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        border-top: 1px solid var(--border);
        z-index: 100;
    }

    .public-nav__links.open {
        display: flex;
    }

    .public-nav__link,
    .public-nav__link--btn {
        padding: 14px 24px;
        border-radius: 0;
        border-bottom: 1px solid var(--border);
        width: 100%;
        text-align: left;
    }

    .public-nav__link:last-child,
    .public-nav__link--btn:last-child {
        border-bottom: none;
    }

    .public-nav__link--btn {
        display: block;
    }
}
/* View Registrations */
.training-accordion {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.training-accordion__item {
    background: var(--card);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.training-accordion__header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    gap: 12px;
}

    .training-accordion__header:hover {
        background: var(--orange-light);
    }

.training-accordion__header-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.training-accordion__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.training-accordion__date {
    font-size: 13px;
    color: var(--muted);
}

.training-accordion__header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.training-accordion__count {
    font-size: 13px;
    font-weight: 600;
    background: var(--orange-light);
    color: var(--orange-dark);
    padding: 3px 10px;
    border-radius: 20px;
}

.training-accordion__chevron {
    font-size: 22px;
    color: var(--muted);
    transition: transform 0.2s ease;
    line-height: 1;
}

.training-accordion__item.is-open .training-accordion__chevron {
    transform: rotate(90deg);
}

.training-accordion__body {
    display: none;
    border-top: 1px solid var(--border);
}

.training-accordion__item.is-open .training-accordion__body {
    display: block;
}

.training-info-panel {
    background: var(--orange-light);
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
}

    .training-info-panel .badge {
        background: none;
        color: var(--text);
        padding: 0;
        border-radius: 0;
        font-size: 14px;
        font-weight: 600;
        border: none;
        margin: 0;
    }

.training-info-panel__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.training-info-panel__item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    justify-content: flex-start;
}

.training-info-panel__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
}

.training-info-panel__value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.training-info-panel__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 0;
    align-items: flex-start;
}

.training-info-panel__none {
    font-size: 13px;
    color: var(--muted);
    font-style: italic;
}

.reg-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .reg-list .registration-meta {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

.reg-list__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
}

    .reg-list__item:last-child {
        border-bottom: none;
    }

    .reg-list__item > div:first-child {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }

    .reg-list__item .name {
        margin-right: 6px;
    }

.reg-list .badge {
    background-color: #f58220;
    color: white;
    padding: 4px 8px;
    margin: 2px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.reg-list .btn-outline {
    background: var(--orange);
    color: white;
    border: none;
    margin: 4px;
}

    .reg-list :hover {
        background: var(--orange-dark);
    }
    .reg-list a:hover {
        text-decoration: none;
    }

.training-accordion__empty {
    padding: 16px 20px;
    color: var(--muted);
    font-style: italic;
    margin: 0;
}

/* Member row */
.member-row {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
}

.member-row .member-inputs {
  display: flex;
  gap: 8px;
}

.member-row .member-inputs input {
  flex: 1;
  min-width: 0;
}

/* Action buttons */
.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .training-create-page {
    align-items: flex-start;
    padding: 0;
  }
  .training-modal {
    max-width: 100% !important;
    border-radius: 0;
    box-shadow: none;
    min-height: 100vh;
    padding: 20px 16px;
  }
  .member-row {
    grid-template-columns: 36px 1fr 36px;
  }
  .member-row .member-inputs {
    flex-direction: column;
  }
  .form-actions {
    grid-template-columns: 1fr;
  }
  .form-actions .btn-primary { order: -1; }
}

/* ── Small phone ── */
@media (max-width: 380px) {
  .familie-name-block {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ---------- Family layout wrapper ---------- */
.family-dashboard {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Main content area */
.family-main {
    width: 100%;
    max-width: 1200px;
    padding: 28px 24px;
    box-sizing: border-box;
}

/* Extra inner container (fixes “plakken tegen zijkant”) */
.family-container {
    width: 100%;
}

/* ---------- HEADER ---------- */
.family-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

/* ---------- STATS GRID ---------- */
.welcome-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

/* Stat cards base */
.family-stat-card {
    background: var(--card);
    border-radius: 12px;
    padding: 16px;
    box-shadow: var(--shadow);
}

/* Welcome variant */
.family-stat-card--welcome {
    background: var(--orange-light);
    box-shadow: none;
}

/* Welcome text */
.welcome-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
}

.welcome-sub {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

/* Stat header */
.family-stat-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

/* Stat value */
.family-stat-value {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

/* ---------- FAMILY GRID ---------- */
.family-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 0;
    background: #F5F5F5;
    padding: 15px;
}

/* ---------- CARD ---------- */
.family-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* top row */
.family-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* avatars */
.avatars {
    display: flex;
    align-items: center;
}

.family-avatar {
    font-size: 10px;
    margin-left: -6px;
    background: var(--bg);
    border-radius: 50%;
    padding: 4px 6px;
}

/* text */
.family-title {
    font-weight: 700;
    margin: 0;
}

.family-meta {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}

/* button */
.family-btn {
    width: 100%;
}

/* add card */
.family-card--add {
    border: 2px dashed var(--border);
    box-shadow: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 180px;
}

.add-icon {
    font-size: 28px;
    color: var(--orange);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .welcome-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .family-main {
        padding: 16px;
    }

    .family-page-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .family-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .family-main {
        padding: 12px;
    }
}

/* ---------- Registration — family member picker ---------- */
.reg-family-block {
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.reg-family-header {
    background: #f0f0f0;
    padding: 10px 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    user-select: none;
}

.reg-family-header:hover {
    background: #e4e4e4;
}

.reg-family-body {
    display: none;
    padding: 10px 14px;
    flex-wrap: wrap;
    gap: 8px;
}

.reg-family-body.open {
    display: flex;
}

.reg-member-btn {
    background: white;
    border: 2px solid var(--orange);
    border-radius: 20px;
    padding: 5px 14px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--orange);
    transition: all 0.15s;
}

.reg-member-btn.added {
    background: var(--orange);
    color: white;
}

.reg-member-btn:hover {
    opacity: 0.8;
}

.reg-added-person {
    background: #f0f0f0;
    border: 1px solid #f0d9c5;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 10px;
}

.reg-added-person .reg-person-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.reg-btn-remove {
    background: none;
    border: none;
    color: var(--red);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0 4px;
    line-height: 1;
}

.reg-btn-add-manual {
    background: none;
    border: 2px dashed var(--border);
    border-radius: 8px;
    width: 100%;
    padding: 10px;
    cursor: pointer;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
    transition: border-color 0.15s;
    font-family: inherit;
}

.reg-btn-add-manual:hover {
    border-color: var(--orange);
    color: var(--orange);
}

/* ---------- Accountmanagement ---------- */
.users-add-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.table-card + .table-card {
    margin-top: 1.5rem;
}

.users-add-card h3 {
    margin-bottom: 1rem;
}

.users-form-field {
    min-width: 200px;
    margin-bottom: 0.5rem;
}

    .users-form-field label {
        font-weight: bold;
        font-size: 0.9rem;
        display: block;
        margin-bottom: 0.25rem;
    }

.users-form-submit {
    min-width: 150px;
    margin-top: 1.85rem;
}

    .users-form-submit .btn {
        height: 38px;
        width: 100%;
    }

.users-table-id {
    color: var(--muted);
    font-size: 0.85rem;
    vertical-align: middle;
}

.users-table-actions {
    vertical-align: middle;
}

    .users-table-actions .btn-primary {
        height: 31px;
        white-space: nowrap;
    }

    .users-table-actions .btn-danger {
        background-color: #dc3545 !important;
        border-color: #dc3545 !important;
        color: #fff !important;
        height: 31px;
        padding: 0 12px;
        font-size: 0.875rem;
        border-radius: 8px;
    }

.users-table-actions-field {
    min-width: 180px;
    flex-grow: 1;
    margin-bottom: 0.25rem;
}

.users-table-actions-field-sm {
    min-width: 150px;
    flex-grow: 1;
    margin-bottom: 0.25rem;
}

.users-table-actions-save {
    margin-bottom: 0.25rem;
}

.users-muted-text {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.users-member-email {
    font-size: 0.85rem;
    color: var(--muted);
}

.attendup-input {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    color: #2c3e50;
    background-color: #ffffff;
    border: 1px solid #dcdde1;
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .attendup-input:focus {
        border-color: #3498db;
        outline: 0;
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
    }

.attendup-input-sm {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
    border-radius: 4px;
}

.form-label {
    display: inline-block;
    margin-bottom: 0.4rem;
    color: #2c3e50;
}

.table td {
    vertical-align: middle;
    padding: 0.75rem;
}

.users-table-actions form {
    gap: 4px;
}

@media (max-width: 750px) {
    .users-form-field {
        margin-bottom: 1rem;
    }

    .table thead {
        display: none;
    }

    .table tr {
        display: flex;
        flex-wrap: wrap;
        padding: 12px 0;
        border: none;
    }

    .table td {
        display: block;
        border: none;
        padding: 4px 0;
        flex: 0 0 100%;
    }

    .table-card table tbody tr + tr td {
        border-top: none;
    }

    .users-table-actions {
        flex: 1 1 100%;
        min-width: 0;
        padding: 4px 0;
    }

        .users-table-actions form {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            align-items: center;
        }

    .users-table-actions-field,
    .users-table-actions-field-sm {
        flex: 1 1 100%;
        margin-bottom: 0;
    }

    .users-table-actions-save {
        margin-bottom: 0;
        display: flex;
        gap: 8px;
        align-items: center;
    }
}