/* Bikubai Golf - shared public styles */

/* ------------------------------------------------------------
 * Palette and base styles (login + dashboard)
 * ------------------------------------------------------------ */

:root {
    --bikb-green-dark: #115e26;
    --bikb-green: #1c7c34;
    --bikb-green-light: #3ca65b;
    --bikb-sand: #f3e2c5;
    --bikb-sky: #e6f5ff;
    --bikb-surface: #f8fff9;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top left, var(--bikb-sky), #ffffff 40%),
                radial-gradient(circle at bottom right, #d0f2dd, #f5fff8 45%);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1a2833;
}

/* Center login content with full-screen background image */
.page-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(
            135deg,
            rgba(3, 17, 9, 0.92),
            rgba(3, 17, 9, 0.55)
        ),
        url('../images/matthew-mcbrayer-fZL3EN4aJUI-unsplash.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* ------------------------------------------------------------
 * Login view
 * ------------------------------------------------------------ */

.login-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.5rem;
}

.login-hero {
    display: none;
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
}

.login-card {
    border-radius: 1.25rem;
    overflow: hidden;
    background-color: transparent;
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.18),
        0 2px 6px rgba(0, 0, 0, 0.08);
    border: none;
}

.login-card-header {
    background: var(--bikb-green-dark);
    color: #fff;
    padding: 0.9rem 1.4rem;
    position: relative;
    border-radius: 1.25rem 1.25rem 0 0;
}

.badge-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #f9f871;
    box-shadow: 0 0 0 3px rgba(249, 248, 113, 0.35);
}

.login-card-body {
    padding: 1.75rem 1.75rem 1.5rem;
    background: linear-gradient(180deg, #ffffff, #f8fff9 65%, #f4f9f5 100%);
    border-radius: 0 0 1.25rem 1.25rem;
}

.form-label {
    font-weight: 500;
    font-size: 0.88rem;
    color: #22313f;
}

.form-control {
    border-radius: 0.6rem;
    border-color: #d0e2d4;
    padding: 0.6rem 0.75rem;
    font-size: 0.92rem;
}

.form-control:focus {
    border-color: var(--bikb-green-light);
    box-shadow: 0 0 0 0.16rem rgba(60, 166, 91, 0.16);
}

.login-btn {
    border-radius: 999px;
    padding: 0.65rem 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.82rem;
    background: linear-gradient(135deg, var(--bikb-green), var(--bikb-green-light));
    border: none;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}

.login-btn:hover,
.login-btn:focus {
    background: linear-gradient(135deg, var(--bikb-green-dark), var(--bikb-green));
}

.login-meta {
    font-size: 0.8rem;
    color: #6c757d;
}

.forgot-link {
    font-size: 0.8rem;
    color: var(--bikb-green);
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.footer-note {
    text-align: center;
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 1rem;
}

.golf-visual {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    font-size: 0.78rem;
    color: #496054;
}

.golf-ball {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 25%, #ffffff, #e5ece7 60%, #c3d2c7 100%);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.18),
        0 0 0 4px #ffffff;
    position: relative;
}

.golf-ball::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: inherit;
    background-image: radial-gradient(circle at 10% 10%, rgba(0,0,0,0.06) 10%, transparent 11%);
    background-size: 6px 6px;
    opacity: 0.75;
}

.golf-tee {
    width: 2px;
    height: 16px;
    background: #d6a15b;
    border-radius: 999px;
    margin: 0 auto;
    position: relative;
    top: -2px;
}

.golf-hill {
    flex: 1;
    height: 18px;
    border-radius: 999px;
    background: radial-gradient(circle at 50% 0%, var(--bikb-green-light), var(--bikb-green-dark));
    position: relative;
}

.golf-flag {
    position: absolute;
    right: 16px;
    bottom: 6px;
    width: 11px;
    height: 11px;
    background: #f05252;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

.alert-login {
    font-size: 0.82rem;
    padding: 0.55rem 0.75rem;
    border-radius: 0.6rem;
}

/* Softer placeholders on login inputs */
.page-login ::placeholder {
    opacity: 0.5;
}

@media (max-width: 768px) {
    .login-layout {
        flex-direction: column;
        padding: 1.25rem;
        min-height: 100vh;
    }

    .login-hero {
        min-height: 50vh;
        border-radius: 1.25rem;
    }

    .login-wrapper {
        max-width: 100%;
        padding: 1.5rem 0;
    }
}

/* ------------------------------------------------------------
 * Dashboard view
 * ------------------------------------------------------------ */

/* Dashboard shell layout */
.dashboard-shell {
    min-height: 100vh;
    display: flex;
}

/* Mobile sidebar toggle (hidden by default, shown via media query) */
.sidebar-toggle-checkbox {
    display: none;
}

.sidebar-toggle-button {
    display: none;
}

/* Backdrop for closing sidebar on mobile */
.sidebar-backdrop {
    display: none;
}

.sidebar {
    width: 260px;
    max-width: 100%;
    background: linear-gradient(145deg, #0f4021, #195633);
    color: #e3efe7;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.26);
    z-index: 10;
}

.sidebar-header {
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.sidebar-subtitle {
    font-size: 0.8rem;
    opacity: 0.85;
}

.sidebar-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.4rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sidebar-tag-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #f9f871;
    box-shadow: 0 0 0 3px rgba(249, 248, 113, 0.35);
}

.sidebar-nav {
    flex: 1;
    padding: 0.75rem 0.75rem 0.5rem;
    overflow-y: auto;
}

.nav-section-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
    padding: 0.4rem 0.75rem;
    margin-top: 0.2rem;
    margin-bottom: 0.1rem;
}

.nav-item-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    margin: 0.05rem 0.4rem;
    border-radius: 0.6rem;
    font-size: 0.86rem;
    text-decoration: none;
    color: #dde7df;
    opacity: 0.9;
    transition: background 0.12s ease, transform 0.06s ease, opacity 0.12s ease, color 0.12s ease;
    position: relative;
}

.nav-item-link:hover {
    background: rgba(0, 0, 0, 0.16);
    opacity: 1;
    transform: translateX(2px);
}

.nav-item-link.active {
    background: linear-gradient(135deg, #f2f6f3, #cfdad3);
    color: #1f3e2a;
    opacity: 1;
}

.nav-item-link::after {
    content: '›';
    margin-left: auto;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Sidebar nav icon sizing & alignment (Font Awesome) */
.sidebar-nav .fa-fw {
    font-size: 0.82rem;
    width: 1.15rem;
    text-align: center;
}

.nav-item-link.active::after {
    opacity: 1;
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 999px;
    font-size: 0.8rem;
    text-decoration: none;
    margin-right: 0.15rem;
}

.contact-icon-email {
    background: #f5f5f5;
    color: #555555;
}

.contact-icon-phone {
    background: #f5f5f5;
    color: #555555;
}

.contact-icon:hover {
    background: #d8eadf;
    color: #2e7d32;
}

.sidebar-footer {
    padding: 0.85rem 0.85rem 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.35);
    background: rgba(0, 0, 0, 0.12);
}

.logout-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.7rem;
    border-radius: 0.65rem;
    font-size: 0.82rem;
    text-decoration: none;
    color: #f8d7da;
    background: linear-gradient(135deg, #5f1c1c, #843434);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.logout-link span.small {
    font-size: 0.72rem;
    opacity: 0.8;
}

.logout-icon {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 2px solid #ffecec;
    border-left-color: transparent;
    border-bottom-color: transparent;
    transform: rotate(45deg);
}

.sidebar-meta {
    font-size: 0.7rem;
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.72);
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.5rem;
}

.content-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.content-title {
    font-size: 1.35rem;
    font-weight: 700;
}

.content-subtitle {
    font-size: 0.85rem;
    color: #5c6f62;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    font-size: 0.78rem;
    background: rgba(28, 124, 52, 0.06);
    color: #265236;
}

.pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--bikb-green-light);
}

.content-body {
    background: linear-gradient(180deg, #ffffff, var(--bikb-surface) 55%, #f0f8f2 100%);
    border-radius: 1.2rem;
    padding: 1.1rem 1.2rem 1.2rem;
    box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.6);
}

.table-responsive {
    margin-top: 0.6rem;
}

.table {
    font-size: 0.83rem;
}

.table thead th {
    border-bottom-width: 1px;
    color: #50635a;
    background: #f2faf4;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 0.5rem;
    padding: 0.18rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(28, 124, 52, 0.35);
    background-color: #f5faf7;
}

.status-active {
    background: rgba(28, 124, 52, 0.06);
    color: #1c7c34;
}

.status-pending {
    background: rgba(255, 193, 7, 0.06);
    color: #b48312;
}

.status-inactive {
    background: rgba(108, 117, 125, 0.06);
    color: #495057;
}

/* Members list: striped rows and member link styling */
.table-members tbody tr:nth-of-type(odd) {
    background-color: #f8fff9;
}

.table-members tbody tr:nth-of-type(even) {
    background-color: #f3f9f4;
}

.table-members tbody tr:hover {
    background-color: #e6f3ea;
}

.membership-member-link {
    color: #4f6f5b;
    text-decoration: underline;
    font-weight: 400;
}

.membership-member-link:hover {
    color: #375141;
    text-decoration: underline;
}

/* Member detail view */
.member-detail-section-title {
    font-weight: 600;
}

.member-detail-table-wrapper {
    border: 1px solid #dde9e0;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fdfefc;
    padding: 0.4rem 0.7rem;
}

.member-detail-table th {
    width: 32%;
}

.member-detail-value-cell {
    cursor: pointer;
}

.member-detail-value-cell .member-detail-input {
    min-width: 0;
}

.member-detail-table th,
.member-detail-table td {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.member-detail-section {
    padding: 0.25rem 0.15rem 0.75rem;
}

.member-detail-table tbody tr:last-child th,
.member-detail-table tbody tr:last-child td {
    border-bottom: 0;
}

/* Member detail: profile column + tabs layout */
.content-body--member-detail .member-detail-layout {
    align-items: flex-start;
}

.member-back-link {
    color: #5c6f62;
}

.member-back-link:hover {
    color: var(--bikb-green);
}

.member-profile-card {
    border-radius: 1rem;
    background: #fdfefc;
}

.member-profile-summary {
    border-top: 1px solid #e8f0eb;
    padding-top: 0.75rem;
}

.member-profile-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.15rem;
}

.member-profile-value {
    font-size: 0.9rem;
    color: #1f3e2a;
}

.member-detail-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border-bottom: 2px solid #dde9e0;
    padding-bottom: 0;
    gap: 0;
}

.member-detail-tabs .nav-link {
    white-space: nowrap;
    border: 0;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    color: #5c6f62;
    font-weight: 500;
    font-size: 0.82rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0;
}

.member-detail-tabs .nav-link:hover {
    color: var(--bikb-green-dark);
}

.member-detail-tabs .nav-link.active {
    color: var(--bikb-green-dark);
    background: transparent;
    border-bottom-color: var(--bikb-green);
}

.member-tab-placeholder {
    padding: 1.5rem 0;
    min-height: 120px;
}

/* Member avatar upload */
.member-avatar-row {
    display: flex;
    justify-content: flex-start;
}

.member-avatar-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.member-avatar-placeholder {
    width: 112px;
    height: 112px;
    border-radius: 0.9rem;
    border: 1px dashed rgba(79, 111, 91, 0.5);
    background: #f5faf7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c7d71;
    font-size: 0.78rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.member-avatar-placeholder:not(.has-image):hover {
    border-color: rgba(79, 111, 91, 0.9);
    background: #eef5f0;
}

.member-avatar-placeholder.has-image {
    border-style: solid;
    border-color: rgba(79, 111, 91, 0.4);
    background-color: #f5faf7;
}

.member-avatar-placeholder.has-image .member-avatar-text {
    display: none;
}

.member-avatar-text {
    pointer-events: none;
}

.filter-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.8rem;
    align-items: center;
    justify-content: space-between;
}

.filter-group {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.6rem;
    align-items: center;
}

.filter-input {
    max-width: 520px;
    width: 500px;
    flex: 1 1 0;
}

.badge-role {
    display: inline-block;
    border-radius: 999px;
    padding: 0.12rem 0.45rem;
    font-size: 0.7rem;
    background: rgba(13, 110, 253, 0.08);
    color: #0b5ed7;
}

.badge-handicap {
    border-radius: 999px;
    padding: 0.06rem 0.35rem;
    font-size: 0.7rem;
    background: rgba(17, 94, 38, 0.06);
    color: #115e26;
}

/* Admin user role mapping styling */
.admin-user-role-select,
.admin-user-club-select {
    border-color: #115e26;
}

.admin-user-role-select:focus,
.admin-user-club-select:focus {
    border-color: #115e26;
    box-shadow: 0 0 0 0.2rem rgba(17, 94, 38, 0.25);
}

.admin-user-add-role-btn {
    padding: 0.2rem 0.6rem;
    font-size: 0.78rem;
    line-height: 1.25;
    border-radius: 0.25rem;
}

.admin-user-role-remove {
    padding: 0.2rem 0.55rem;
    font-size: 0.78rem;
    line-height: 1.25;
}

.admin-user-member-assign,
.admin-user-member-edit-toggle {
    padding: 0.2rem 0.6rem;
    font-size: 0.78rem;
    line-height: 1.25;
}

.admin-user-member-cell {
    max-width: 420px;
}

.member-detail-table-wrapper-meta {
    overflow: visible;
}

.admin-user-member-search-wrapper {
    position: relative;
}

.admin-user-member-search-input {
    padding-right: 2.5rem;
}

.admin-user-member-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    background: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 0 0 .25rem .25rem;
    max-height: 260px;
    overflow-y: auto;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.admin-user-member-result {
    padding: 0.35rem 0.75rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.admin-user-member-result:hover {
    background-color: #f1f3f5;
}

.admin-user-member-result-main {
    font-size: 0.85rem;
    font-weight: 500;
}

.admin-user-member-result-sub {
    font-size: 0.75rem;
    color: #6c757d;
}

/* ------------------------------------------------------------
 * Membership card view
 * ------------------------------------------------------------ */

.content-body--membership-card {
    max-width: 520px;
    margin: 0 auto;
}

.membership-card-root {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0.5rem 0.25rem 0;
}

.membership-card-root--verify .membership-card {
    min-height: 460px;
}

.membership-card-root--verify .membership-card-body {
    justify-content: flex-start;
    padding-top: 1rem;
    padding-bottom: 1.2rem;
}

.membership-card-root--verify .membership-card-photo-wrap {
    margin-top: 1rem;
}

.membership-card-root--verify .membership-card-grid {
    margin-top: 1.2rem;
}

.membership-card-wrapper {
    width: 100%;
}

.membership-card {
    position: relative;
    margin: 0 auto;
    max-width: 480px;
    min-height: 440px;
    border-radius: 1.4rem;
    background:
        linear-gradient(145deg, var(--bikb-green-dark), var(--bikb-green-light) 50%, #f6fbf7 51%, #f8fff9 100%);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.26),
        0 0 0 1px rgba(255, 255, 255, 0.4);
    color: #123024;
    overflow: hidden;
}

.membership-card-header {
    padding: 0.85rem 1.1rem 0.6rem;
    color: #e9f7ee;
}

.membership-card-club {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.membership-card-brand {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    opacity: 0.85;
}

.membership-card-body {
    padding: 0.25rem 1.1rem 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.membership-card-photo-wrap {
    display: flex;
    justify-content: center;
    margin-top: 0.3rem;
    margin-bottom: 0.35rem;
}

.membership-card-photo {
    width: 128px;
    height: 128px;
    border-radius: 999px;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.25),
        0 0 0 4px rgba(17, 94, 38, 0.3);
    background-color: #f5faf7;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.membership-card-photo-placeholder {
    padding: 0 0.5rem;
    font-size: 0.78rem;
    color: #6c7d71;
}

.membership-card-name {
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.membership-card-grid {
    background: rgba(255, 255, 255, 0.86);
    border-radius: 0.9rem;
    padding: 0.65rem 0.8rem;
    margin-bottom: 0.6rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.membership-card-row {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    column-gap: 0.4rem;
    align-items: baseline;
    font-size: 0.78rem;
    padding: 0.15rem 0;
}

.membership-card-label {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.72rem;
    color: #7a8a7f;
}

.membership-card-value {
    font-weight: 600;
    color: #1f3e2a;
}

.membership-card-qr-section {
    margin-top: 0.4rem;
    padding-top: 0.35rem;
    border-top: 1px dashed rgba(105, 135, 115, 0.4);
    text-align: center;
}

.membership-card-qr-img {
    width: 160px;
    height: 160px;
    max-width: 100%;
    border-radius: 0.75rem;
    background: #ffffff;
    padding: 0.5rem;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.24),
        0 0 0 1px rgba(0, 0, 0, 0.06);
}

@media (max-width: 992px) {
    .dashboard-shell {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
    }
}

@media (max-width: 768px) {
    .dashboard-shell {
        position: relative;
        flex-direction: column;
    }

    .sidebar-toggle-button {
        position: fixed;
        top: 0.75rem;
        left: 0.75rem;
        width: 2.25rem;
        height: 2.25rem;
        border-radius: 999px;
        background: rgba(20, 55, 38, 0.96);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 0.18rem;
        cursor: pointer;
        z-index: 110;
    }

    .sidebar-toggle-button span {
        display: block;
        width: 1.25rem;
        height: 2px;
        border-radius: 999px;
        background: #ffffff;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 80vw;
        max-width: 50vw;
        transform: translateX(-100%);
        transition: transform 0.25s ease-out;
        box-shadow: 4px 0 18px rgba(0, 0, 0, 0.35);
        z-index: 105;
    }

    .sidebar-toggle-checkbox:checked ~ .sidebar {
        transform: translateX(0);
    }

    .sidebar-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: 100;
        display: none;
    }

    .sidebar-toggle-checkbox:checked ~ .sidebar-backdrop {
        display: block;
    }

    .content {
        padding-top: 3.25rem;
    }

    /* Hide burger while sidebar is open */
    .sidebar-toggle-checkbox:checked + .sidebar-toggle-button {
        display: none;
    }
}

