﻿body {
    font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif;
    background-color: #f8f9fa;
    color: #222;
}

.bg-gov {
    background-color: #1a2a6c;
}

.hero {
    background: url('/images/hero-bg.jpg') center/cover no-repeat;
    color: #fff;
    min-height: 380px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    background: rgba(26,42,108,0.7);
    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.feature-icon {
    font-size: 2.5rem;
    color: #1a2a6c;
}

.footer {
    background: #222b3a;
    color: #fff;
    padding: 1.5rem 0;
}

.footer a {
    color: #b0c4de;
}

/* Account Layout */

/* layoutMain.css */
.modern-profile-card {
    max-width: 400px;
    border-radius: 0rem;
    border: none;
    box-shadow: ;
    background: inherit;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e3f0fc 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #0497f2;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(4,151,242,0.08);
}

.profile-role-badge {
    display: inline-block;
    background: #e7f1ff;
    color: #0497f2;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 0.5rem;
    padding: 0.25rem 0.75rem;
    margin-bottom: 1rem;
}

.profile-list-group .list-group-item {
    border: none;
    padding-left: 0;
    padding-right: 0;
    background: transparent;
    font-size: 1.05rem;
}

@media (max-width: 576px) {
    .modern-profile-card {
        max-width: 100%;
        padding: 0 0.5rem;
    }
}

.modern-form-card {
    max-width: 400px;
    border-radius: 0rem;
    border: none;
    box-shadow: ;
    background: inherit;
    margin-bottom: 2rem;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
}

.login-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e3f0fc 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #0497f2;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 2px 8px rgba(4,151,242,0.08);
}
.form-control {
    background-color: #f5f7fa !important; /* Light gray-blue, adjust as needed */
    border-radius: 0.25rem;
    border: 1px solid #e3e6ec;
    transition: background-color 0.2s, border-color 0.2s;
}

.form-control:focus {
    background-color: #eaf4fb !important; /* Slightly more blue on focus */
    border-color: #0497f2;
    box-shadow: 0 0 0 0.15rem rgba(4,151,242,.10);
}
.form-floating > .form-control:focus {
    border-color: #0497f2;
    box-shadow: 0 0 0 0.15rem rgba(4,151,242,.15);
}

.btn-primary {
    border-radius: 0.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.btn-outline-danger, .btn-outline-secondary {
    border-radius: 0.25rem;
    font-weight: 500;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0 1.5rem 0;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e9ecef;
}

.divider:not(:empty)::before {
    margin-right: .75em;
}

.divider:not(:empty)::after {
    margin-left: .75em;
}

@media (max-width: 576px) {
    .modern-form-card {
        max-width: 100%;
        padding: 1.25rem 0.5rem;
    }
}
.external-login-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}
/* btn-primary override */
.btn-primary {
    color: #fff; /* Text color */
    background-color: rgba(26,42,108,0.7); /* Background color */
    border-color: rgba(26,42,108,0.7); /* Border color */
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #1a2a6c; /* Darker shade for hover/focus */
    border-color: #1a2a6c;
    color: #fff;
}

.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
    background-color: #005fa3; /* Even darker for active */
    border-color: #005fa3;
    color: #fff;
}

/* btn-outline-primary override */
.btn-outline-primary {
    color: rgba(26,42,108,0.7); /* Text color */
    border-color: rgba(26,42,108,0.7); /* Border color */
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #fff; /* Text color on hover/focus */
    background-color: rgba(26,42,108,0.7); /* Background color on hover/focus */
    border-color: rgba(26,42,108,0.7); /* Border color on hover/focus */
}
