/* Round Table 33 - Clean Modern Theme */

:root {
    --rt-orange: #c87f2a;
    --rt-green: #1a7a4a;
    --rt-navy: #2b3a67;
    --rt-dark: #1e1e2f;
    --rt-light: #f7f8fc;
    --rt-border: #e2e5ec;
    --rt-text: #333;
    --rt-muted: #7a8194;
}

body {
    background: var(--rt-light);
    color: var(--rt-text);
}

/* Nav */
nav.container {
    background: #fff;
    max-width: 100%;
    padding: 0 2rem;
    margin-bottom: 0;
    border-bottom: 1px solid var(--rt-border);
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

nav.container ul {
    align-items: center;
    gap: 0.25rem;
}

nav.container a {
    color: var(--rt-navy) !important;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.5rem 0.6rem;
    border-radius: 6px;
    transition: background 0.15s;
}

nav.container a:hover {
    background: var(--rt-light);
    text-decoration: none;
}

nav .logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none !important;
}

nav .logo-link img {
    height: 40px;
    width: auto;
}

nav .logo-link span {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--rt-navy) !important;
    letter-spacing: 0.3px;
}

nav.container button.outline.secondary {
    font-size: 0.82rem;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    color: var(--rt-muted) !important;
    border-color: var(--rt-border);
}

nav.container button.outline.secondary:hover {
    color: var(--rt-dark) !important;
    border-color: var(--rt-dark);
}

/* Main content */
main.container {
    min-height: calc(100vh - 80px);
    padding-top: 2rem;
    padding-bottom: 3rem;
}

/* Headings */
h2 {
    color: var(--rt-navy);
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

h3 {
    color: var(--rt-dark);
    font-weight: 600;
    font-size: 1.15rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

/* Cards */
article {
    background: #fff;
    border: 1px solid var(--rt-border);
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    overflow: hidden;
}

article header {
    background: var(--rt-navy);
    color: #fff;
    padding: 0.7rem 1.2rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 0;
}

/* Tables */
table {
    font-size: 0.88rem;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    border: 1px solid var(--rt-border);
}

thead {
    background: var(--rt-navy);
}

thead th {
    color: #fff !important;
    background: var(--rt-navy) !important;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 0.7rem 0.9rem;
    border: none;
}

tbody td {
    padding: 0.6rem 0.9rem;
    border-bottom: 1px solid var(--rt-border);
    vertical-align: middle;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: #f0f2f8;
}

/* Status badges */
mark {
    background: #fff3cd;
    color: #856404;
    padding: 0.15rem 0.55rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

ins {
    background: #d4edda;
    color: #155724;
    text-decoration: none;
    padding: 0.15rem 0.55rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

del {
    background: #f8d7da;
    color: #721c24;
    text-decoration: none;
    padding: 0.15rem 0.55rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

/* Buttons */
[role="button"], button[type="submit"] {
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

button[type="submit"]:not(.outline):not(.secondary) {
    background: var(--rt-navy);
    border-color: var(--rt-navy);
}

button[type="submit"]:not(.outline):not(.secondary):hover {
    background: var(--rt-dark);
    border-color: var(--rt-dark);
}

a[role="button"] {
    background: var(--rt-navy);
    border-color: var(--rt-navy);
    color: #fff;
}

a[role="button"]:hover {
    background: var(--rt-dark);
    border-color: var(--rt-dark);
}

a[role="button"].outline {
    background: transparent;
    color: var(--rt-navy);
    border-color: var(--rt-navy);
}

a[role="button"].outline:hover {
    background: var(--rt-navy);
    color: #fff;
}

/* Approve/reject buttons */
button[style*="background:green"] {
    background: var(--rt-green) !important;
    border-color: var(--rt-green) !important;
    border-radius: 6px;
    color: #fff !important;
}

/* Forms */
input, select, textarea {
    border-radius: 8px !important;
    border-color: var(--rt-border) !important;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--rt-navy) !important;
    box-shadow: 0 0 0 3px rgba(43, 58, 103, 0.1);
}

label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--rt-dark);
}

fieldset {
    border: 1px solid var(--rt-border);
    border-radius: 8px;
    padding: 1rem;
}

legend {
    font-weight: 600;
    color: var(--rt-navy);
}

/* Grid */
.grid {
    gap: 1.25rem;
}

/* Auth pages */
.auth-page {
    max-width: 400px;
    margin: 2rem auto;
    text-align: center;
}

.auth-page img {
    height: 100px;
    margin-bottom: 0.75rem;
}

.auth-page h2 {
    margin: 0.25rem 0 0;
    font-size: 1.4rem;
}

.auth-page .subtitle {
    color: var(--rt-muted);
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
}

.auth-page article {
    text-align: left;
}

.auth-page article > div {
    padding: 1.25rem;
}

/* Dashboard welcome */
.dash-logo {
    height: 48px;
    vertical-align: middle;
    margin-right: 0.5rem;
}

/* Treasurer tabs */
.treasurer-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--rt-border);
    margin-bottom: 1.5rem;
}

.treasurer-tabs a {
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--rt-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.15s;
}

.treasurer-tabs a:hover {
    color: var(--rt-navy);
}

.treasurer-tabs a[aria-current="page"] {
    color: var(--rt-navy);
    border-bottom-color: var(--rt-navy);
    font-weight: 700;
}

/* Muted text */
.text-muted {
    color: var(--rt-muted);
}

small {
    color: var(--rt-muted);
}

/* Responsive */
@media (max-width: 768px) {
    nav.container {
        padding: 0 0.75rem;
    }
    nav.container a {
        font-size: 0.8rem;
        padding: 0.4rem;
    }
    nav .logo-link img {
        height: 32px;
    }
    table {
        font-size: 0.8rem;
    }
    thead th, tbody td {
        padding: 0.5rem 0.6rem;
    }
}
