﻿/* Existing base styles … */

/* -------- Brand lockup (upper-left) -------- */
.header-brand {
    position: absolute;
    top: 40px; /* matches your screenshot spacing */
    left: 40px;
    display: inline-block;
    text-decoration: none;
    line-height: 0;
    z-index: 10; /* above page content */
}

    .header-brand img {
        height: 70px; /* adjust to match your design */
        width: auto;
        display: block;
    }

/* Responsive adjustment: tighten margins on small screens */
@media (max-width: 576px) {
    .header-brand {
        top: 20px;
        left: 20px;
    }

        .header-brand img {
            height: 34px;
        }
}

/* -------- Existing login layout (from earlier) -------- */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background: #ffffff;
    color: #0F2E41;
}

.login-container {
    width: 400px;
    margin: 120px auto;
    text-align: center;
}

.login-title {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 30px;
}

.input-text {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border: 1px solid #DADADA;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 18px;
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 9px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

    .password-toggle img {
        height: 20px;
        opacity: .6;
    }

.forgot-wrapper {
    text-align: right;
    margin-top: -10px;
    margin-bottom: 20px;
}

.forgot-link {
    font-size: 13px;
    color: #6A7F8D;
    text-decoration: none;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background: #00AEEF;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}

    .btn-primary:hover {
        background: #0095D6;
    }

.divider {
    text-align: center;
    margin: 16px 0;
    color: #A0A0A0;
    font-size: 12px;
}

    .divider:before,
    .divider:after {
        content: "";
        display: inline-block;
        width: 40%;
        height: 1px;
        background: #E0E0E0;
        vertical-align: middle;
        margin: 0 10px;
    }

.alt-login a {
    color: #00AEEF;
    font-size: 14px;
    text-decoration: none;
}

    .alt-login a:hover {
        text-decoration: underline;
    }

/* Error label / summary block */
.error-summary {
    display: block;
    margin-bottom: 16px;
    text-align: left;
}

    .error-summary > div {
        /* style the asp-validation-summary output */
        background: #fdecea; /* light red background */
        color: #b71c1c; /* dark red text */
        border: 1px solid #f5c6cb; /* soft border */
        border-radius: 6px;
        padding: 10px 12px;
        font-size: 14px;
    }

/* Individual field validation messages (already in your page) */
.error {
    font-size: 12px;
    color: #C62828;
}


/* Success info box (Forgot Password) */
.success-summary {
    margin-bottom: 16px;
    text-align: left;
}

    .success-summary > div {
        background: #edf7ed; /* light green */
        color: #1b5e20; /* dark green */
        border: 1px solid #c8e6c9; /* soft border */
        border-radius: 6px;
        padding: 10px 12px;
        font-size: 14px;
    }


.confirmationNote {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border: 1px solid #c7d7eb; /* Light blue border */
    background-color: #f3f7fc; /* Soft blue background */
    color: #0f2943; /* Dark text for readability */

    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.4;
}

    .confirmationNote strong {
        font-weight: 600;
    }

    .confirmationNote.info {
        border-color: #bcd9ff;
        background-color: #eef5ff;
    }

    .confirmationNote:focus {
        outline: 2px solid #7aa7e8; /* Accessible focus outline */
        outline-offset: 2px;
    }

.hint {
    color: #5a5a5a;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}
