/* assets/app.css */
:root {
    --slate: #1F2A44;
    --offwhite: #F6F7F9;
    --graphite: #2E2E2E;
    --teal: #2F7F7A;
    --amber: #F2B705;

    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
}


body {
    background-color: white;
    color: var(--graphite);
    font-family: var(--font-primary);
    margin: 0;
    line-height: 1.5;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--slate);
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s, color 0.2s;
}

.btn-primary {
    background-color: var(--teal);
    color: #fff;
}

.btn-primary:hover {
    background-color: #24635f;
}

.btn-secondary {
    background-color: var(--slate);
    color: #fff;
}

.btn-secondary:hover {
    background-color: #161e31;
}

/* Cards */
.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;

}

/* Grid Utilities */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

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

@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Topbar & Footer */
.topbar {
    background-color: var(--slate);
    color: #fff;
}

.footer {
    background-color: var(--graphite);
    color: var(--offwhite);
    text-align: center;
}

/* Sections & Hero */
.section {
    padding: 4rem 2rem;
}

.hero {
    background-color: var(--slate);
    color: #fff;
    padding: 6rem 2rem;
    text-align: center;
}

.hero h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Dashboard Layout */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    background-color: var(--slate);
    color: #fff;
    padding: 2rem;
}

/*
.main-content {
    flex: 1;
    padding: 2rem;
}
*/
/* Tabs */
.tabs {
    display: flex;
    border-bottom: 2px solid var(--offwhite);
    margin-bottom: 1.5rem;
}

.tab {
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tab.active {
    border-bottom-color: var(--teal);
    color: var(--teal);
    font-weight: 600;
}

/* Voucher selection rules */
/* Default (unselected) */
.voucher-card-interactive {
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: none;
}

/* Selected state */
.voucher-radio-input:checked + label.voucher-card-interactive {
    border: 2px solid #0d6efd !important;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}

/* Ensure ONLY selected card shows badge */
.voucher-selected-badge {
    opacity: 0;
}
.voucher-radio-input:checked + label .voucher-selected-badge {
    opacity: 1;
}
