.ftco-section .card {
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.ftco-section .card h2,
.ftco-section .card h3,
.ftco-section .card h4,
.ftco-section .card p,
.ftco-section .card li,
.ftco-section .card label,
.ftco-section .card span,
.ftco-section .card strong {
    color: #ffffff;
}

.ftco-section .form-control,
.ftco-section .custom-select {
    background: rgba(255, 255, 255, 0.95);
    color: #111111;
}

.ftco-section select.form-control option {
    color: #111111;
    background: #ffffff;
}

.table-dark {
    background: rgba(0, 0, 0, 0.28);
}

.badge-dark-soft {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-inline .form-control {
    width: auto;
}

.nav-link.btn.btn-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.nav-link.btn.btn-link:hover {
    color: #f8b500;
}

.member-hero .slider-item {
    height: 300px;
}

.member-hero .slider-text {
    height: 300px;
}

.content-table-wrap {
    overflow-x: auto;
}

.member-pill {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(248, 181, 0, 0.18);
    border: 1px solid rgba(248, 181, 0, 0.55);
    color: #f8b500;
    font-weight: 600;
    font-size: 0.85rem;
}

.metric-value {
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 700;
    color: #f8b500;
}

.dark-panel {
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
}

.dark-panel .table {
    margin-bottom: 0;
}

.dark-panel .table td,
.dark-panel .table th {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.1);
}

.hero-link-btn {
    margin: 0.2rem;
}

/* Compact app chrome for member/admin pages */
#ftco-navbar .navbar-brand {
    font-size: 20px;
    line-height: 1.05;
}

#ftco-navbar .navbar-brand small {
    font-size: 10px;
    letter-spacing: 3px;
}

#ftco-navbar .navbar-nav > .nav-item > .nav-link,
#ftco-navbar .nav-link.btn.btn-link {
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: none;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
    padding-left: 12px;
    padding-right: 12px;
}

#ftco-navbar .dropdown-menu .dropdown-item {
    font-size: 12px;
    padding: 0.45rem 0.9rem;
}

@media (max-width: 991.98px) {
    #ftco-navbar .navbar-nav > .nav-item > .nav-link,
    #ftco-navbar .nav-link.btn.btn-link {
        font-size: 13px;
        letter-spacing: 0.02em;
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
        padding-left: 0;
        padding-right: 0;
    }
}

/* Form readability and spacing */
.ftco-section .card {
    padding: 1.25rem !important;
}

.ftco-section .card h2,
.ftco-section .card h3,
.ftco-section .card h4 {
    font-size: 1.2rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.ftco-section .card p,
.ftco-section .card li,
.ftco-section .card label,
.ftco-section .card span,
.ftco-section .card strong {
    font-size: 0.95rem;
    line-height: 1.5;
}

.ftco-section .form-group {
    margin-bottom: 1rem;
}

.ftco-section label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 500;
}

.ftco-section .form-control,
.ftco-section .custom-select {
    height: 42px;
    padding: 0.45rem 0.75rem;
    font-size: 0.95rem;
    border-radius: 4px;
}

.ftco-section textarea.form-control {
    height: auto;
    min-height: 120px;
}

.table-dark th,
.table-dark td {
    font-size: 0.9rem;
    padding: 0.55rem 0.65rem;
    vertical-align: middle;
}

/* Dashboard cards */
.stat-card .stat-label {
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
}

.member-dashboard-shell .stat-value,
.admin-shell .stat-value {
    font-size: 1.45rem;
}

.member-dashboard-shell h3,
.admin-shell .card h3 {
    font-size: 1.1rem;
}

.stat-card {
    border-left: 3px solid #c49b63;
    background: linear-gradient(180deg, rgba(38, 26, 20, 0.65) 0%, rgba(17, 12, 9, 0.6) 100%);
}

.stat-card .stat-icon {
    color: #c49b63;
    font-size: 0.95rem;
    display: inline-block;
}

.member-shell .btn.btn-primary,
.admin-shell .btn.btn-primary {
    background: #c49b63;
    border-color: #c49b63;
    color: #111;
    font-weight: 600;
}

.member-shell .btn.btn-primary:hover,
.admin-shell .btn.btn-primary:hover {
    background: #ddb47a;
    border-color: #ddb47a;
    color: #111;
}

/* Remove decorative hero image in member/admin backend pages */
body.member-shell,
body.admin-shell {
    background-image: none !important;
    background-color: #0c0a09;
}

body.member-shell .member-hero,
body.admin-shell .member-hero {
    display: none;
}

body.member-shell #ftco-navbar,
body.admin-shell #ftco-navbar {
    position: relative;
    margin-top: 0;
    background: #100c0b !important;
}

/* Compact, readable table layout */
.content-table-wrap .table.table-compact {
    margin-bottom: 0;
    min-width: 880px;
}

.table.table-compact th,
.table.table-compact td {
    font-size: 0.84rem;
    line-height: 1.3;
    padding: 0.42rem 0.55rem;
    white-space: nowrap;
}

/* Better filter alignment on admin list pages */
.admin-shell .form-inline {
    align-items: end;
}

.admin-shell .form-inline .form-group {
    margin-right: 0.75rem !important;
    margin-bottom: 0.5rem !important;
}

.admin-shell .form-inline .form-control {
    min-width: 130px;
    height: 36px;
    font-size: 0.88rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.admin-shell .form-inline .btn {
    height: 36px;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

@media (max-width: 767.98px) {
    .content-table-wrap .table.table-compact {
        min-width: 760px;
    }
}
