/* --- Container & Card Styling --- */
.auth-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.auth-card {
    background-color: #FFFFFF;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(23, 59, 116, 0.1);
    border-top: 6px solid #173B74;
}

/* --- Typography --- */
.brand-title {
    font-family: var(--font-sans);
    color: #173B74;
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.brand-subtitle {
    color: #666;
    margin-bottom: 2.5rem;
    text-align: center;
}

.auth-title {
    font-family: var(--font-sans);
    color: #173B74;
    font-weight: 700;
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* --- Header Styling (Burnett Consulting Match) --- */
.auth-header {
    width: 100%;
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: 2px solid #173B74; /* Thin dark blue line */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
}

.auth-header-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.auth-logo {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 2rem;
    color: #173B74;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .auth-logo img {
        height: 40px; /* Adjust based on your logo's dimensions */
        width: auto;
    }

.auth-header-nav a {
    color: #173B74;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.2s;
}

    .auth-header-nav a:hover {
        color: #7D0D1B;
    }

.auth-layout-body {
    padding-top: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 120px);
    padding-bottom: 2rem;
}

/* --- Buttons --- */
.auth-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.btn-primary-custom {
    background-color: #173B74;
    color: #FFFFFF;
    border: none;
    box-sizing: border-box;
    padding: 0.875rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
    margin-top: 0.5rem;
    display: block;
}

    .btn-primary-custom:hover {
        background-color: #102a52;
    }

a.btn-primary-custom,
a.btn-secondary-custom {
    text-align: center;
    text-decoration: none;
}

.btn-secondary-custom {
    background-color: transparent;
    color: #7D0D1B;
    border: 2px solid #7D0D1B;
    box-sizing: border-box;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    text-align: center;
    display: block;
}

    .btn-secondary-custom:hover {
        background-color: #7D0D1B;
        color: #FFFFFF;
    }

/* --- Forms --- */
.auth-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
    text-align: left;
    width: 100%;
}

    .auth-form-group label {
        font-weight: 600;
        color: #173B74;
        margin-bottom: 0.5rem;
    }

    .auth-form-group input {
        width: 100%;
        box-sizing: border-box;
        padding: 0.875rem !important;
        border: 1px solid #ccc !important;
        border-radius: 8px !important;
        font-size: 1rem;
        transition: border-color 0.2s, box-shadow 0.2s;
        outline: none;
        background-color: #FFFFFF;
    }

        .auth-form-group input:focus {
            border-color: #173B74;
            box-shadow: 0 0 0 3px rgba(23, 59, 116, 0.1);
        }

.auth-links {
    margin-top: 1.5rem;
    text-align: center;
}

    .auth-links a {
        color: #7D0D1B;
        text-decoration: none;
        font-weight: 600;
    }

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

.auth-error {
    color: #7D0D1B;
    background-color: #fde8e8;
    border: 1px solid #f9c3c3;
    padding: 0.875rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
}

/* Neutral, non-alarming message — used for expected states such as
   "awaiting approval", which must NOT read as a failure like .auth-error. */
.auth-info {
    color: #173B74;
    background-color: #eef2f9;
    border: 1px solid #c3d0e6;
    padding: 0.875rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
}

/* --- Overrides global styles in app.css --- */
.auth-card form {
    border: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.auth-card button[type=submit],
.auth-card button.btn-primary-custom {
    margin: 0 !important;
    margin-top: 1rem !important;
    padding: 0.875rem !important;
    width: 100% !important;
    border-radius: 8px !important;
    background-color: #173B74 !important;
    color: #FFFFFF !important;
    border: none !important;
}

    .auth-card button[type=submit]:hover,
    .auth-card button.btn-primary-custom:hover {
        background-color: #102a52 !important;
    }

.auth-card button.btn-secondary-custom {
    background-color: transparent !important;
    color: #7D0D1B !important;
    border: 2px solid #7D0D1B !important;
}

    .auth-card button.btn-secondary-custom:hover {
        background-color: #7D0D1B !important;
        color: #FFFFFF !important;
    }

/* --- Landing / home page ------------------------------------------------- */
.landing {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 6rem 1rem 4rem; /* top clears the absolute 80px header */
}

.landing-hero {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 4rem;
}

.landing-eyebrow {
    display: inline-block;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #173B74;
    margin-bottom: 1rem;
}

.landing-title {
    font-family: var(--font-sans);
    color: #173B74;
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.1;
    margin: 0 0 1.25rem;
}

.landing-lede {
    color: #555;
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.landing-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.landing-section {
    margin: 4rem 0;
}

.landing-section-title {
    font-family: var(--font-sans);
    color: #173B74;
    font-weight: 700;
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

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

.landing-feature {
    background-color: #FFFFFF;
    border: 1px solid #e7ebf2;
    border-top: 4px solid #173B74;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 6px 18px rgba(23, 59, 116, 0.06);
}

.landing-feature h3 {
    color: #173B74;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0 0 0.75rem;
}

.landing-feature p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.landing-steps {
    margin: 4rem 0;
}

.landing-step-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 820px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.landing-step-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.landing-step-num {
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background-color: #173B74;
    color: #FFFFFF;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-step-list h4 {
    color: #173B74;
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
}

.landing-step-list p {
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.landing-closing {
    text-align: center;
    background-color: #f5f7fb;
    border-radius: 16px;
    padding: 3rem 1.5rem;
    margin-top: 2rem;
}

.landing-closing h2 {
    font-family: var(--font-sans);
    color: #173B74;
    font-weight: 700;
    font-size: 2rem;
    margin: 0 0 0.5rem;
}

.landing-closing p {
    color: #555;
    margin: 0 0 1.75rem;
}

@media (max-width: 640px) {
    .landing-title { font-size: 2.25rem; }
    .landing { padding-top: 5rem; }
}
