﻿:root {
    --bm-navy: #092f50;
    --bm-blue: #076b9c;
    --bm-blue-dark: #055277;
    --bm-red: #d62932;
    --bm-gold: #f5b51b;
    --bm-green: #278758;
    --bm-text: #263b49;
    --bm-muted: #74848e;
    --bm-border: #dfe7ec;
    --bm-background: #f3f6f8;
}


html,
body {
    min-height: 100%;
}


body {
    margin: 0;
    min-height: 100vh;
    color: var(--bm-text);
    font-family: Arial, Helvetica, sans-serif;
    background: radial-gradient( circle at top right, rgba(7,107,156,.13), transparent 36% ), linear-gradient( 135deg, #f8fafb 0%, #edf3f6 100% );
}



/* =========================================
           PAGE STRUCTURE
           ========================================= */

.page-container {
    /*min-height: 100vh;*/
    display: flex;
    flex-direction: column;
}


.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 15px 35px;
}



/* =========================================
           RESET WRAPPER
           ========================================= */

.reset-wrapper {
    width: 100%;
    max-width: 510px;
}



/* =========================================
           LOGO
           ========================================= */

.brand-header {
    margin-bottom: 23px;
    text-align: center;
}


.brand-logo {
    display: inline-block;
    width: 100%;
    max-width: 355px;
    height: auto;
}


.brand-tagline {
    margin-top: 7px;
    color: #82919a;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}



/* =========================================
           RESET CARD
           ========================================= */

.reset-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--bm-border);
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(25, 55, 73, .11);
}


/* Badmatics colour accent */

.reset-accent {
    height: 5px;
    background: linear-gradient( 90deg, var(--bm-blue) 0%, var(--bm-red) 55%, var(--bm-gold) 100% );
}


.reset-body {
    padding: 37px 40px 34px;
}



/* =========================================
           ICON
           ========================================= */

.reset-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    margin: 0 auto 19px;
    border-radius: 18px;
    background: #eaf5fa;
    color: var(--bm-blue);
    font-size: 28px;
}



/* =========================================
           HEADING
           ========================================= */

.reset-heading {
    margin-bottom: 27px;
    text-align: center;
}


    .reset-heading h1 {
        margin: 0;
        color: var(--bm-navy);
        font-size: 27px;
        font-weight: 700;
    }


    .reset-heading p {
        max-width: 390px;
        margin: 10px auto 0;
        color: var(--bm-muted);
        font-size: 14px;
        line-height: 22px;
    }



/* =========================================
           ALERTS
           ========================================= */

.bm-alert {
    margin-bottom: 20px;
    padding: 13px 15px;
    border-radius: 9px;
    font-size: 12px;
    line-height: 19px;
}


.bm-alert-error {
    border: 1px solid #f1c8cb;
    border-left: 4px solid var(--bm-red);
    background: #fff4f5;
    color: #982b34;
}


.bm-alert-success {
    border: 1px solid #bfe1cc;
    border-left: 4px solid var(--bm-green);
    background: #eff9f3;
    color: #276b43;
}


.bm-alert i {
    margin-right: 6px;
}



/* =========================================
           FORM
           ========================================= */

.form-label {
    margin-bottom: 7px;
    color: #506571;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2px;
}


.required {
    color: var(--bm-red);
}


.input-group-text {
    min-width: 48px;
    justify-content: center;
    border: 1px solid #d8e1e7;
    border-right: 0;
    border-radius: 9px 0 0 9px;
    background: #f6f8f9;
    color: #768791;
}


.form-control {
    min-height: 50px;
    border: 1px solid #d8e1e7;
    border-radius: 9px;
    color: var(--bm-text);
    font-size: 14px;
}


.input-group .form-control {
    border-radius: 0 9px 9px 0;
}


.form-control::placeholder {
    color: #a4b0b7;
}


.form-control:focus {
    z-index: 3;
    border-color: var(--bm-blue);
    box-shadow: 0 0 0 .2rem rgba(7,107,156,.10);
}


.field-help {
    display: block;
    margin-top: 6px;
    color: #8a979f;
    font-size: 11px;
    line-height: 17px;
}

/* =========================================
           PASSWORD
           ========================================= */

.password-container {
    position: relative;
}


    .password-container .form-control {
        padding-right: 65px;
    }


.show-password {
     border-radius: 0 9px 9px 0;
    position: absolute;
    top: 50%;
    right: 7px;
    transform: translateY(-50%);
    z-index: 4;
    border: 0;
    padding: 6px 8px;
    background: transparent;
    color: var(--bm-blue);
    font-size: 11px;
    font-weight: 700;
}


    .show-password:hover {
        color: var(--bm-blue-dark);
    }



/* =========================================
           ASP.NET VALIDATION
           ========================================= */

.validation-message {
    display: block;
    margin-top: 6px;
    color: var(--bm-red);
    font-size: 11px;
    line-height: 16px;
}



/* =========================================
           RESET BUTTON
           ========================================= */

.btn-reset {
    width: 100%;
    min-height: 51px;
    margin-top: 21px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient( 135deg, var(--bm-blue), var(--bm-blue-dark) );
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .35px;
    box-shadow: 0 7px 16px rgba(7,107,156,.20);
    transition: transform .15s ease, box-shadow .15s ease;
}


    .btn-reset:hover,
    .btn-reset:focus {
        color: #ffffff;
        transform: translateY(-1px);
        background: linear-gradient( 135deg, #065f8c, #043f60 );
        box-shadow: 0 9px 19px rgba(7,107,156,.25);
    }



/* =========================================
           BACK TO LOGIN
           ========================================= */

.back-section {
    margin-top: 24px;
    padding-top: 21px;
    border-top: 1px solid #edf1f3;
    text-align: center;
}


.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--bm-blue);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}


    .back-link:hover {
        color: var(--bm-blue-dark);
        text-decoration: underline;
    }



/* =========================================
           SECURITY NOTE
           ========================================= */

.security-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 20px;
    padding: 12px 14px;
    border-radius: 9px;
    background: #f7f9fa;
    color: #778791;
    font-size: 11px;
    line-height: 17px;
}


    .security-note i {
        flex: 0 0 auto;
        margin-top: 1px;
        color: var(--bm-blue);
        font-size: 14px;
    }



/* =========================================
           FOOTER
           ========================================= */

.site-footer {
    padding: 0 15px 27px;
    color: #89969e;
    text-align: center;
    font-size: 11px;
    line-height: 18px;
}


.footer-tagline {
    margin-bottom: 4px;
    color: var(--bm-navy);
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}



/* =========================================
           MOBILE
           ========================================= */

@media (max-width: 575.98px) {

    .main-content {
        align-items: flex-start;
        padding: 20px 12px 28px;
    }


    .brand-header {
        margin-bottom: 17px;
    }


    .brand-logo {
        max-width: 285px;
    }


    .reset-card {
        border-radius: 14px;
    }


    .reset-body {
        padding: 29px 21px 26px;
    }


    .reset-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 16px;
        border-radius: 15px;
        font-size: 24px;
    }


    .reset-heading h1 {
        font-size: 23px;
    }


    .reset-heading p {
        font-size: 13px;
        line-height: 20px;
    }
}
