:root {
    --oilers-blue: #003974;
    --oilers-orange: #FF4C00;
    --oilers-navy: #001B33;
    --oilers-light: #F6F9FF;
    --oilers-gradient-1: radial-gradient(circle at 12% 18%, rgba(255, 76, 0, 0.6), transparent 48%),
        radial-gradient(circle at 85% 12%, rgba(0, 57, 116, 0.55), transparent 52%),
        linear-gradient(135deg, #00142a 0%, #002f5f 42%, #003974 68%, #001b33 100%),
        linear-gradient(100deg, rgba(255, 76, 0, 0.22) 0%, transparent 45%);
    --oilers-gradient-2: radial-gradient(circle at 78% 28%, rgba(255, 76, 0, 0.5), transparent 58%),
        radial-gradient(circle at 15% 75%, rgba(0, 57, 116, 0.45), transparent 62%),
        linear-gradient(165deg, #00112a 0%, #002a56 45%, #003974 100%);
    --oilers-gradient-3: linear-gradient(120deg, #001125 0%, #00264d 35%, #003974 60%, #0b4b8a 80%, #ff4c00 120%),
        radial-gradient(circle at 20% 30%, rgba(255, 76, 0, 0.35), transparent 55%);
    --glass-bg: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(0, 27, 51, 0.12);
    --glass-shadow: 0 20px 50px rgba(0, 22, 51, 0.18);
    --accent-glow: rgba(255, 76, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    background-color: var(--oilers-blue);
}

body,
body.oilers-body {
    min-height: 100vh;
    font-family: "Manrope", "Helvetica Neue", sans-serif;
    color: #0b1a2c;
    background-color: var(--oilers-blue);
    background-image: var(--oilers-gradient-1);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow-x: hidden;
}

.oilers-body h1,
.oilers-body h2,
.oilers-body h3,
.oilers-body h4,
.oilers-body h5,
.oilers-body h6 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.page-header {
    color: #fff;
}

.page-header .card-title-emph {
    color: #fff;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.page-header .badge-glass {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.page-title {
    color: #fff;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.page-header .page-title {
    font-size: 2.1rem;
    line-height: 1.1;
}

@media (max-width: 768px) {
    .page-header .page-title {
        font-size: 1.6rem;
    }
}


.oilers-shell {
    position: relative;
    z-index: 1;
}

.oilers-nav {
    background: linear-gradient(135deg, rgba(0, 27, 51, 0.98), rgba(0, 57, 116, 0.95)) !important;
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.oilers-nav .navbar-brand,
.oilers-nav .navbar-text {
    font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.oilers-nav .container-fluid {
    flex-wrap: wrap;
    gap: 0.75rem;
}

.oilers-nav .nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.78rem;
    padding: 0.35rem 0.5rem;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.oilers-nav .nav-link:hover {
    color: #fff;
}

.oilers-nav .nav-link.active {
    color: #fff;
    border-bottom-color: var(--oilers-orange);
}

.oeg-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-lockup .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-lockup .brand-title {
    font-size: 1.05rem;
    color: var(--oilers-navy);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-lockup .brand-subtitle {
    font-size: 0.7rem;
    color: rgba(11, 26, 44, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.oilers-nav .brand-title {
    color: #fff;
}

.oilers-nav .brand-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: var(--glass-shadow);
}

.glass-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.35), transparent 60%);
    pointer-events: none;
    opacity: 0.2;
}

.card-title-emph {
    font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
    font-weight: 800;
    color: #0b1a2c;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.btn-oilers {
    background: linear-gradient(120deg, var(--oilers-orange), #ff6a22);
    border: none;
    color: white;
    box-shadow: 0 12px 24px rgba(255, 76, 0, 0.25);
}

.btn-oilers:hover {
    background: linear-gradient(120deg, #ff6a22, var(--oilers-orange));
    color: white;
}

.btn-outline-ice {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: var(--oilers-navy);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
}

.oilers-nav .btn-outline-ice {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.section-panel {
    background: rgba(255, 255, 255, 0.82);
    border-radius: 20px;
    border: 1px solid rgba(0, 27, 51, 0.08);
    box-shadow: 0 10px 30px rgba(0, 22, 51, 0.1);
}

.table thead {
    background: rgba(0, 57, 116, 0.08);
}

.table td,
.table th {
    vertical-align: middle;
}

.feed-grid {
    display: grid;
    gap: 1.5rem;
}

.nonprofit-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feed-output-list {
    list-style: none;
    padding-left: 0;
    margin: 0.35rem 0 0;
}

.feed-output-list li {
    margin-bottom: 0.25rem;
}

.feed-output-list a {
    color: var(--oilers-orange);
    text-decoration: none;
    font-weight: 600;
}

.feed-output-list a:hover {
    text-decoration: underline;
}

.nonprofit-card {
    min-height: 160px;
}

.preview-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--oilers-navy);
    background: rgba(0, 57, 116, 0.08);
    border: 1px solid rgba(0, 57, 116, 0.15);
    border-radius: 14px;
    padding: 0.35rem 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.form-control,
.form-select {
    border-radius: 12px;
    border: 1px solid rgba(0, 57, 116, 0.25);
}

.input-glass {
    background-color: rgba(255, 255, 255, 0.96);
}

.input-glass::placeholder,
.form-control::placeholder {
    color: rgba(11, 26, 44, 0.45);
}

.hero-login {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.hero-login .login-card {
    position: relative;
    overflow: hidden;
}

.hero-login .login-card::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 76, 0, 0.3);
    top: -60px;
    right: -50px;
    filter: blur(10px);
}

.equal-height-row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.equal-height-row > [class*="col-"] > .glass-card {
    flex: 1;
}

.badge-glass {
    background: rgba(0, 57, 116, 0.18);
    color: #0b1a2c;
    border: 1px solid rgba(0, 57, 116, 0.28);
    font-weight: 600;
}

.oilers-body .pagination {
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.oilers-body .page-link {
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    border: 1px solid rgba(0, 57, 116, 0.2);
    background: rgba(255, 255, 255, 0.82);
    color: #0b1a2c;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.oilers-body .page-link:hover,
.oilers-body .page-link:focus {
    background: rgba(255, 255, 255, 0.96);
    color: #0b1a2c;
    box-shadow: 0 6px 16px rgba(0, 27, 51, 0.12);
}

.oilers-body .page-item.active .page-link {
    background: linear-gradient(120deg, var(--oilers-orange), #ff6a22);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 76, 0, 0.25);
}

.oilers-body .page-item.disabled .page-link {
    opacity: 0.6;
    background: rgba(255, 255, 255, 0.6);
    color: rgba(11, 26, 44, 0.6);
}

.oilers-body .text-muted {
    color: rgba(11, 26, 44, 0.68) !important;
}

.oilers-body .alert {
    color: #0b1a2c;
}

.oilers-nav .dropdown-menu {
    background: rgba(10, 24, 44, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.4rem;
    min-width: 180px;
}

.oilers-nav .dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    padding: 0.45rem 0.75rem;
}

.oilers-nav .dropdown-item:hover,
.oilers-nav .dropdown-item:focus,
.oilers-nav .dropdown-item.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.oilers-nav .dropdown-toggle::after {
    margin-left: 0.35rem;
}

.accordion-toggle {
    color: var(--oilers-navy);
}

.accordion-toggle:hover,
.accordion-toggle:focus {
    color: var(--oilers-navy);
    text-decoration: none;
}

.accordion-toggle .accordion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(11, 26, 44, 0.7);
    transition: transform 0.2s ease, color 0.2s ease;
}

.accordion-toggle[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
    color: rgba(11, 26, 44, 0.9);
}

@media (max-width: 768px) {
    .brand-lockup .brand-title {
        font-size: 0.9rem;
    }

    .oilers-nav .container-fluid {
        align-items: flex-start;
        gap: 0.5rem;
    }

    .oilers-nav .nav-link {
        font-size: 0.7rem;
        padding: 0.25rem 0.35rem;
    }

    .hero-login {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .section-panel {
        padding: 1rem;
    }

    .glass-card {
        padding: 1.25rem;
    }
}
