/* Board Results 2026 - Main Stylesheet */
/* Mobile-First Responsive Design */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --success-color: #16a34a;
    --warning-color: #ea580c;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: var(--white);
}

.logo span {
    color: #fbbf24;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 14px;
}

nav a:hover {
    color: #fbbf24;
}

/* Ad Placeholder */
.ad-placeholder {
    background: var(--bg-light);
    border: 2px dashed var(--border-color);
    padding: 20px;
    text-align: center;
    margin: 20px 0;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 14px;
}

.ad-banner {
    min-height: 90px;
}

.ad-sidebar {
    min-height: 250px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Main Content */
main {
    padding: 40px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-light);
    padding: 12px 0;
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: var(--text-light);
    margin: 0 8px;
}

/* Section Styling */
section {
    background: var(--white);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.3;
}

h2 {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--text-dark);
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
}

h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
    margin-top: 20px;
}

p {
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* State Grid */
.state-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.state-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    color: var(--text-dark);
}

.state-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

.state-card h3 {
    font-size: 18px;
    margin: 10px 0;
    color: var(--primary-color);
}

.state-card .icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.state-card .status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}

.status-announced {
    background: #dcfce7;
    color: var(--success-color);
}

.status-pending {
    background: #fef3c7;
    color: #d97706;
}

/* Table Styling */
.result-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    overflow-x: auto;
    display: block;
}

.result-table table {
    width: 100%;
    min-width: 600px;
}

.result-table th,
.result-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.result-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.result-table tr:hover {
    background: var(--bg-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-success {
    background: var(--success-color);
}

.btn-success:hover {
    background: #15803d;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Info Boxes */
.info-box {
    background: #dbeafe;
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.warning-box {
    background: #fef3c7;
    border-left: 4px solid var(--warning-color);
}

.success-box {
    background: #dcfce7;
    border-left: 4px solid var(--success-color);
}

/* FAQ Section */
.faq-section {
    margin: 30px 0;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 18px 20px;
    background: var(--bg-light);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f3f4f6;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    padding: 18px 20px;
    max-height: 500px;
}

.faq-toggle {
    font-size: 20px;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* Steps/How-to */
.steps {
    margin: 25px 0;
}

.step-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 8px;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.step-content h3 {
    margin-top: 0;
    font-size: 18px;
}

/* Quick Links */
.quick-links {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
}

.quick-links ul {
    list-style: none;
}

.quick-links li {
    margin-bottom: 10px;
}

.quick-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-links a:hover {
    text-decoration: underline;
}

.quick-links a:before {
    content: "→";
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 14px;
}

.disclaimer {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    padding: 15px;
    margin: 20px 0;
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }
    
    nav.active {
        max-height: 400px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }
    
    nav ul li {
        text-align: center;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    h1 {
        font-size: 26px;
    }
    
    h2 {
        font-size: 22px;
    }
    
    nav a {
        font-size: 14px;
    }
    
    .state-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 20px 15px;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .ad-banner {
        display: none;
    }
    
    table {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 14px;
    }
}

@media (min-width: 992px) {
    .content-wrapper.with-sidebar {
        grid-template-columns: 1fr 300px;
    }
}

/* Print Styles */
@media print {
    header, footer, .ad-placeholder, nav {
        display: none;
    }
}
