﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

html, body {
    background: #f4f7fb;
    color: #172033;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.govoppx-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

.govoppx-navbar {
    background: #ffffff;
    border-bottom: 1px solid #e7edf5;
    padding-top: 14px;
    padding-bottom: 14px;
}

.govoppx-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #123a73 !important;
    text-decoration: none;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0d6efd, #2c7df0);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.brand-text {
    font-size: 1.15rem;
}

.nav-link {
    color: #33435f !important;
    font-weight: 500;
}

.gov-btn-primary {
    background: #0d6efd;
    border-color: #0d6efd;
    border-radius: 12px;
    padding: 10px 18px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.18);
}

    .gov-btn-primary:hover {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }

.gov-btn-outline {
    border-radius: 12px;
    padding: 10px 18px;
    font-weight: 600;
}

.gov-btn-lg {
    padding-top: 14px;
    padding-bottom: 14px;
    font-size: 1rem;
}

.auth-page {
    padding: 48px 0 72px;
}

.auth-shell {
    min-height: 720px;
}

.auth-panel {
    border-radius: 24px;
    height: 100%;
}

.auth-panel-left {
    background: linear-gradient(180deg, #0f2f5c 0%, #123f7a 100%);
    color: #fff;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 18px 50px rgba(11, 37, 71, 0.18);
}

.auth-eyebrow {
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    opacity: .85;
    margin-bottom: 18px;
}

.auth-title {
    font-size: 2.4rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 18px;
}

.auth-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.88);
    max-width: 520px;
}

.auth-benefits {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
}

    .auth-benefits li {
        margin-bottom: 14px;
        font-size: 1.02rem;
        padding-left: 28px;
        position: relative;
    }

        .auth-benefits li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 0;
            font-weight: 700;
        }

.auth-stat-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 18px;
    padding: 22px;
    backdrop-filter: blur(6px);
}

.stat-item + .stat-item {
    margin-top: 14px;
}

.stat-label {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .75;
}

.stat-value {
    font-size: 1rem;
    font-weight: 700;
}

.auth-panel-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-card {
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-radius: 22px;
    padding: 36px;
    box-shadow: 0 18px 50px rgba(18, 40, 76, 0.10);
    border: 1px solid #e8eef7;
}

.auth-card-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.auth-card-header p {
    color: #60708f;
    margin-bottom: 28px;
}

.gov-input {
    min-height: 56px;
    border-radius: 14px;
    border: 1px solid #d7e0ed;
    padding-left: 16px;
    padding-right: 16px;
}

    .gov-input:focus {
        border-color: #86b7fe;
        box-shadow: 0 0 0 0.2rem rgba(13,110,253,.15);
    }

.auth-link {
    text-decoration: none;
    font-weight: 600;
}

.auth-footer-note {
    margin-top: 20px;
    text-align: center;
    color: #60708f;
}

.site-footer {
    background: #0f1f36;
    color: #d7e0ed;
    padding: 42px 0 24px;
    margin-top: 40px;
}

.footer-brand {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-heading {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-text {
    color: #c5d0e0;
    margin-bottom: 6px;
}

.site-footer a {
    color: #dbe7ff;
    text-decoration: none;
}

    .site-footer a:hover {
        text-decoration: underline;
    }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    color: #a8b5ca;
    font-size: .95rem;
}

@media (max-width: 991.98px) {
    .auth-page {
        padding-top: 28px;
    }

    .auth-card {
        padding: 28px 22px;
    }
}
.mobile-auth-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-auth-brand-text {
    font-size: 1.1rem;
    font-weight: 800;
    color: #123a73;
}

.gov-alert {
    border-radius: 14px;
    font-size: 0.95rem;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 22px 0 16px;
}

    .auth-divider::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        border-top: 1px solid #e3eaf4;
        transform: translateY(-50%);
    }

    .auth-divider span {
        position: relative;
        background: #fff;
        padding: 0 12px;
        color: #7a889f;
        font-size: 0.92rem;
    }

.auth-link-strong {
    font-weight: 700;
}

.auth-footer-muted {
    color: #7a889f;
    margin-left: 4px;
}
.dashboard-page {
    background: linear-gradient(180deg, #f4f7fb 0%, #eef3f9 100%);
    min-height: calc(100vh - 160px);
}

.opportunity-card {
    background: #ffffff;
    border: 1px solid #e6edf7;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(18, 40, 76, 0.08);
    height: 100%;
}

.opportunity-agency {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0d6efd;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.opportunity-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #172033;
    margin-bottom: 0;
    line-height: 1.3;
}

.opportunity-meta {
    color: #52627d;
    font-size: 0.96rem;
    line-height: 1.8;
}

.opportunity-summary {
    color: #33435f;
    line-height: 1.7;
    margin-bottom: 0;
}
.home-hero {
    padding: 72px 0 48px;
    background: linear-gradient(180deg, #f7faff 0%, #eef4fb 100%);
}

.home-hero-title {
    font-size: 3rem;
    line-height: 1.08;
    font-weight: 800;
    color: #172033;
    margin-bottom: 18px;
    max-width: 820px;
}

.home-hero-subtitle {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #60708f;
    max-width: 760px;
    margin-bottom: 28px;
}

.home-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-trust-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-trust-item {
    background: #ffffff;
    border: 1px solid #e3ebf6;
    border-radius: 999px;
    padding: 10px 14px;
    color: #33435f;
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-preview-card {
    background: #ffffff;
    border: 1px solid #e6edf7;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(18, 40, 76, 0.10);
}

.hero-preview-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.preview-pill,
.preview-score {
    display: inline-block;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 700;
}

.preview-pill {
    background: #eef4ff;
    color: #0d6efd;
}

.preview-score {
    background: #edfdf3;
    color: #166534;
}

.hero-preview-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #172033;
    margin-bottom: 8px;
}

.hero-preview-meta {
    color: #60708f;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.hero-preview-callout {
    background: #f8fbff;
    border: 1px solid #e3ebf6;
    border-radius: 16px;
    padding: 14px 16px;
    margin-top: 12px;
    color: #33435f;
}

    .hero-preview-callout.good {
        background: #eefaf3;
        border-color: #ccefd8;
    }

    .hero-preview-callout.soft {
        background: #f7f5ff;
        border-color: #e7defe;
    }

.hero-preview-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 6px;
}

.home-section {
    padding: 64px 0;
}

.home-section-soft {
    background: #f8fbff;
}

.section-title {
    font-size: 2.1rem;
    line-height: 1.2;
    font-weight: 800;
    color: #172033;
    margin-bottom: 14px;
}

.section-subtitle {
    max-width: 760px;
    margin: 0 auto;
    color: #60708f;
    font-size: 1.03rem;
    line-height: 1.75;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #e6edf7;
    border-radius: 24px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 18px 40px rgba(18, 40, 76, 0.08);
}

.feature-card-blue {
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.feature-card-green {
    background: linear-gradient(180deg, #f6fff9 0%, #edfdf3 100%);
}

.feature-card-purple {
    background: linear-gradient(180deg, #fbf9ff 0%, #f5f1ff 100%);
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #eef4ff;
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 18px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #172033;
    margin-bottom: 12px;
}

.feature-text {
    color: #52627d;
    line-height: 1.75;
    margin-bottom: 0;
}

.mini-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mini-stat-card {
    background: #ffffff;
    border: 1px solid #e6edf7;
    border-radius: 18px;
    padding: 18px;
}

.mini-stat-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #172033;
    margin-bottom: 6px;
}

.mini-stat-label {
    color: #60708f;
    font-size: 0.95rem;
}

.home-cta-section {
    padding: 0 0 72px;
}

.cta-banner {
    background: linear-gradient(135deg, #103566 0%, #0d6efd 100%);
    color: #ffffff;
    border-radius: 28px;
    padding: 36px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 24px 60px rgba(18, 40, 76, 0.18);
}

.cta-banner-title {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
}

.cta-banner-text {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
    max-width: 760px;
}

.cta-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.inner-hero {
    padding: 64px 0 20px;
}

.empty-state-enhanced h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #172033;
    margin-bottom: 14px;
}

.empty-state-enhanced p {
    max-width: 760px;
    margin: 0 auto 22px;
    color: #60708f;
    line-height: 1.8;
}

.empty-state-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 991.98px) {
    .home-hero-title {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .cta-banner-title {
        font-size: 1.5rem;
    }

    .mini-stat-grid {
        grid-template-columns: 1fr;
    }
}