/* ============================================
   EASY VOLUNTEER - SITE SPECIFIC STYLES
   ============================================ */

/* ===== COLOR VARIABLES ===== */
:root {
    --primary-teal: #1E5555;
    --primary-teal-hover: #2a6b6b;
    --primary-teal-light: #DFF2F2;
    --secondary-cyan: #A8E0E0;
    --text-dark: #1a3838;
    --text-muted: #5f7575;
    --bg-light: #F5FAFA;
    --border-gray: #D0E5E5;
}

/* ===== WELCOME SECTION ===== */
.welcome-section {
    text-align: center !important;
    margin-bottom: 3rem !important;
    padding: 2rem 1rem !important;
    background: linear-gradient(to bottom right, var(--primary-teal-light), var(--secondary-cyan)) !important;
    border-radius: 1rem !important;
    display: block !important;
}

.welcome-section h1 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    margin-top: 0 !important;
    color: #1a3838 !important;
}

.welcome-section p {
    font-size: 1.125rem !important;
    color: #5f7575 !important;
    margin-bottom: 2rem !important;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 1rem;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===== CARD MODERN STYLES ===== */
.card-modern {
    background: white !important;
    border: 1px solid var(--border-gray) !important;
    border-radius: 1rem !important;
    padding: 2rem !important;
    margin-bottom: 2rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease !important;
    display: block !important;
}

.card-modern:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.card-modern h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.card-modern h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.card-modern p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-modern ul {
    list-style: none;
    padding: 0;
}

.card-modern li {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.card-modern i {
    color: var(--primary-teal);
}

/* ===== STATS CONTAINER ===== */
.stats-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
}

.stat-card {
    background: #DFF2F2 !important;
    border: 1px solid #A8E0E0 !important;
    border-radius: 1rem !important;
    padding: 1.5rem !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}

.stat-card:hover {
    border-color: #1E5555 !important;
    box-shadow: 0 4px 12px rgba(30, 85, 85, 0.1) !important;
}

.stat-card .stat-number {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #1E5555 !important;
    margin-bottom: 0.5rem !important;
}

.stat-card .stat-label {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #1a3838 !important;
}

/* ===== CONTACT FORM STYLES ===== */
.site-contact,
.site-about {
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 1rem !important;
}

.site-contact h1,
.site-about h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Form controls */
.form-control {
    border-radius: 0.5rem;
    border: 1px solid var(--border-gray);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 0.2rem rgba(30, 85, 85, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* ===== BUTTON STYLES ===== */
.btn {
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    font-weight: 600;
}

.btn-outline-primary {
    color: var(--primary-teal);
    border-color: var(--primary-teal);
}

.btn-outline-primary:hover {
    background-color: var(--primary-teal);
    border-color: var(--primary-teal);
    color: white;
}

.btn-outline-info,
.btn-outline-danger {
    transition: all 0.3s ease;
}

/* ===== ABOUT PAGE STYLES ===== */
.about-hero {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 3rem !important;
    align-items: center !important;
    margin-bottom: 4rem !important;
    padding: 2rem !important;
    background: linear-gradient(135deg, #DFF2F2 0%, #A8E0E0 100%) !important;
    border-radius: 1.5rem !important;
}

.about-hero__image {
    overflow: hidden !important;
    border-radius: 1rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.about-hero__image img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.about-hero__content {
    padding: 0 2rem !important;
}

.about-badge {
    display: inline-block !important;
    background-color: #1E5555 !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 2rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
}

.about-hero h1 {
    font-size: 3rem !important;
    font-weight: 700 !important;
    color: #1a3838 !important;
    margin-bottom: 1rem !important;
}

.about-hero .lead {
    font-size: 1.25rem !important;
    color: #5f7575 !important;
    line-height: 1.6 !important;
}

/* About Section */
.about-section {
    margin-bottom: 4rem !important;
    padding: 3rem 0 !important;
    border-bottom: 2px solid #D0E5E5 !important;
}

.about-section__content {
    max-width: 800px !important;
}

.section-header {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
}

.section-header i {
    font-size: 2rem !important;
    color: #1E5555 !important;
}

.section-header h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #1a3838 !important;
    margin: 0 !important;
}

.section-text {
    font-size: 1.125rem !important;
    color: #5f7575 !important;
    line-height: 1.8 !important;
}

/* Stats Section */
.about-stats {
    background: white !important;
    padding: 3rem !important;
    border-radius: 1.5rem !important;
    margin-bottom: 4rem !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.stats-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    margin-bottom: 2rem !important;
}

.stat-item {
    text-align: center !important;
    padding: 2rem !important;
    border-radius: 1rem !important;
    background: #F5FAFA !important;
    transition: all 0.3s ease !important;
}

.stat-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 20px rgba(30, 85, 85, 0.1) !important;
}

.stat-icon {
    font-size: 3rem !important;
    color: #1E5555 !important;
    margin-bottom: 1rem !important;
}

.stat-item h3 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #1E5555 !important;
    margin: 0.5rem 0 !important;
}

.stat-item p {
    color: #5f7575 !important;
    margin: 0 !important;
    font-weight: 500 !important;
}

.stats-description {
    text-align: center !important;
    font-size: 1.125rem !important;
    color: #5f7575 !important;
    line-height: 1.8 !important;
}

/* Features Grid */
.about-features {
    margin-bottom: 4rem !important;
}

.features-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 2rem !important;
    margin-top: 3rem !important;
}

.feature-item {
    background: white !important;
    padding: 2rem !important;
    border-radius: 1rem !important;
    text-align: center !important;
    border: 1px solid #D0E5E5 !important;
    transition: all 0.3s ease !important;
}

.feature-item:hover {
    border-color: #1E5555 !important;
    box-shadow: 0 8px 20px rgba(30, 85, 85, 0.1) !important;
    transform: translateY(-5px) !important;
}

.feature-icon {
    font-size: 3rem !important;
    color: #1E5555 !important;
    margin-bottom: 1rem !important;
}

.feature-item h4 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #1a3838 !important;
    margin: 1rem 0 !important;
}

.feature-item p {
    color: #5f7575 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* CTA Section */
.about-cta {
    background: linear-gradient(135deg, #1E5555 0%, #2a6b6b 100%) !important;
    color: white !important;
    padding: 4rem 2rem !important;
    border-radius: 1.5rem !important;
    text-align: center !important;
}

.cta-content h2 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    color: white !important;
}

.cta-content p {
    font-size: 1.125rem !important;
    margin-bottom: 2rem !important;
    opacity: 0.95 !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ===== TABLE STYLES ===== */
.table-modern {
    background: white;
    border-collapse: collapse;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.table-modern thead {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-hover) 100%);
    color: white;
}

.table-modern thead th {
    padding: 1rem 1.5rem;
    font-weight: 700;
    text-align: left;
    border: none;
    white-space: nowrap;
    color: white;
}

.table-modern thead th a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.table-modern thead th a:hover {
    color: var(--secondary-cyan);
    text-decoration: none;
}

.table-modern tbody tr {
    border-bottom: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.table-modern tbody tr:hover {
    background-color: var(--primary-teal-light);
    transform: scale(1.01);
}

.table-modern tbody tr:last-child {
    border-bottom: none;
}

.table-modern td {
    padding: 1rem 1.5rem;
    color: var(--text-dark);
    vertical-align: middle;
}

.table-modern td a {
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.table-modern td a:hover {
    color: var(--primary-teal);
    text-decoration: underline;
}

.table-modern .badge {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.table-modern .btn-sm {
    margin: 0 0.25rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.4rem;
    transition: all 0.3s ease;
}

.table-modern .btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* GridView wrapper */
.grid-view-wrapper {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.grid-view {
    margin-bottom: 0;
}

/* ===== ALERT STYLES ===== */
.alert {
    border-radius: 0.75rem;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* ===== LAYOUT CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* ============================================
   AUTH PAGES
   ============================================ */

.auth-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: var(--primary-teal-light);
}

.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem 2rem;
    max-width: 520px;
    margin: 0 auto;
}

/* Header with back link */
.auth-header {
    padding: 0.5rem 0 1rem;
}

.auth-back-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.auth-back-link:hover {
    color: white;
}

/* Branding — positioned at bottom of hero overlay */
.auth-branding {
    margin-bottom: 0;
}

.auth-logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.auth-tagline {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Full-width hero photo */
.auth-hero {
    position: relative;
    width: 100%;
    height: 260px;
    background: linear-gradient(135deg, var(--secondary-cyan) 0%, var(--primary-teal) 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Centered card column */
.auth-container {
    max-width: 520px;
    margin: 0 auto;
    padding: 2rem 1rem 2rem;
}

/* Overlay — back link + branding over the photo */
.auth-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem 1.5rem 1.5rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.48) 100%);
}

.auth-hero-header {
    display: flex;
    align-items: center;
}

.auth-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.auth-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.auth-card .auth-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Social buttons (Google) */
.btn-auth-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    background: white;
    border: 1.5px solid var(--border-gray);
    color: var(--text-dark);
    padding: 0.7rem 1rem;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    margin-bottom: 0.6rem;
}

.btn-auth-social:hover {
    background-color: #f5f5f5;
    border-color: #aaa;
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-auth-social svg,
.btn-auth-social i {
    flex-shrink: 0;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: lowercase;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--border-gray);
}

/* Auth form inputs — dark-toned style */
.auth-card .form-control {
    background-color: #f0f4f4;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-card .form-control:focus {
    background-color: #eaf0f0;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(30, 85, 85, 0.1);
}

.auth-card .form-control::placeholder {
    color: #8a9e9e;
}

/* Input with icon wrapper */
.auth-input-icon {
    position: relative;
}

.auth-input-icon .auth-input-icon-left {
    position: absolute;
    left: 0.85rem;
    top: 0.75rem;
    color: #8a9e9e;
    font-size: 1rem;
    z-index: 3;
    pointer-events: none;
    line-height: 1.5;
}

/* Password toggle */
.auth-password-wrapper {
    position: relative;
}

.auth-password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 0.75rem;
    background: none;
    border: none;
    color: #8a9e9e;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    line-height: 1.5;
    z-index: 5;
}

.auth-password-toggle:hover {
    color: var(--primary-teal);
}

/* Primary auth button */
.btn-auth-primary {
    background-color: var(--primary-teal);
    border-color: var(--primary-teal);
    color: white;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.btn-auth-primary:hover {
    background-color: var(--primary-teal-hover);
    border-color: var(--primary-teal-hover);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 85, 85, 0.3);
}

/* Auth links */
.auth-card .auth-link {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-card .auth-link:hover {
    color: var(--primary-teal-hover);
    text-decoration: underline;
}

/* Remember me checkbox */
.auth-card .form-check-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 2FA code input - large centered digits */
.auth-code-input {
    font-size: 28px !important;
    font-family: monospace !important;
    letter-spacing: 10px !important;
    text-align: center !important;
    padding: 0.75rem 1rem !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
}

/* Page footer */
.auth-page-footer {
    margin-top: auto;
    padding-top: 1.5rem;
}

.auth-page-footer p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
}

.auth-footer-links {
    margin-top: 1rem;
    font-size: 0.8rem;
}

.auth-footer-links a {
    color: var(--primary-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-footer-links a:hover {
    color: var(--primary-teal-hover);
    text-decoration: underline;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .welcome-section h1 {
        font-size: 2rem !important;
    }

    .card-modern {
        padding: 1.5rem !important;
    }

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

    .about-hero {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .about-hero__content {
        padding: 0 !important;
    }

    .about-hero h1 {
        font-size: 2rem !important;
    }

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

    .features-grid {
        grid-template-columns: 1fr !important;
    }

    .section-header h2 {
        font-size: 1.5rem !important;
    }

    .about-cta {
        padding: 2rem !important;
    }

    .cta-content h2 {
        font-size: 1.75rem !important;
    }
}

@media (max-width: 576px) {
    .welcome-section h1 {
        font-size: 1.75rem !important;
    }

    .welcome-section p {
        font-size: 1rem !important;
    }

    .card-modern {
        padding: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-image {
        height: 200px !important;
    }

    .stats-container {
        grid-template-columns: 1fr !important;
    }

    .about-hero {
        padding: 1rem !important;
    }

    .about-hero h1 {
        font-size: 1.5rem !important;
    }

    .about-hero .lead {
        font-size: 1rem !important;
    }

    .about-badge {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.75rem !important;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .stat-item {
        padding: 1.5rem !important;
    }

    .stat-icon {
        font-size: 2rem !important;
    }

    .stat-item h3 {
        font-size: 1.75rem !important;
    }

    .section-header {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .section-header i {
        font-size: 1.75rem !important;
    }

    .section-header h2 {
        font-size: 1.25rem !important;
    }

    .feature-item {
        padding: 1.5rem !important;
    }

    .feature-icon {
        font-size: 2rem !important;
    }

    .feature-item h4 {
        font-size: 1.1rem !important;
    }

    .cta-content h2 {
        font-size: 1.5rem !important;
    }

    .cta-content p {
        font-size: 1rem !important;
    }

    /* Responsive table adjustments */
    .table-modern thead th {
        padding: 0.75rem 1rem !important;
        font-size: 0.875rem !important;
    }

    .table-modern td {
        padding: 0.75rem 1rem !important;
        font-size: 0.875rem !important;
    }

    .table-modern .btn-sm {
        padding: 0.35rem 0.5rem !important;
        font-size: 0.75rem !important;
    }
}

/* ===== AUTH RESPONSIVE ===== */
@media (max-width: 576px) {
    .auth-hero {
        height: 200px;
    }

    .auth-container {
        padding: 1.5rem 1rem 1.5rem;
    }

    .auth-logo {
        font-size: 1.5rem;
    }

    .auth-card {
        padding: 1.5rem 1.25rem;
    }

    .auth-card h4 {
        font-size: 1.2rem;
    }
}
