﻿/* =========================================================
   REACHFLOW - LOGIN
========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #302637;
    background: #f2eef5;
}


/* =========================================================
   PAGE
========================================================= */

/* =========================================================
   PAGE - PERFECT CENTER
========================================================= */

.login-page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: radial-gradient( circle at top left, rgba(106, 13, 173, 0.10), transparent 34% ), radial-gradient( circle at bottom right, rgba(245, 215, 110, 0.14), transparent 30% ), #f2eef5;
}


.login-wrapper {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
}


/* =========================================================
   BRAND
========================================================= */

.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}


.login-logo {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient( 135deg, #6A0DAD, #8A2FC0 );
    color: #F5D76E;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(106, 13, 173, 0.20);
}


.login-brand-text {
    display: flex;
    flex-direction: column;
}


.reachflow-brand {
    color: #6A0DAD;
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.7px;
}


    .reachflow-brand strong {
        color: #C29B32;
    }


.login-brand-text span {
    margin-top: 5px;
    color: #776b7e;
    font-size: 11px;
    letter-spacing: 0.4px;
}


/* =========================================================
   HEADER
========================================================= */

.page-header {
    text-align: center;
    margin-bottom: 24px;
}


.page-title {
    margin: 0 0 8px;
    color: #302637;
    font-size: 29px;
    font-weight: 700;
}


.page-subtitle {
    color: #776b7e;
    font-size: 14px;
}


/* =========================================================
   CARD
========================================================= */

.mf-card {
    background: #ffffff;
    border: 1px solid #e2d9e7;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 16px 40px rgba(72, 42, 83, 0.12);
}


.mf-card-body {
    padding: 0;
}


.mf-card-footer {
    margin-top: 24px;
}


/* =========================================================
   FORM
========================================================= */

.mf-form-group {
    margin-bottom: 20px;
}


.mf-label {
    display: block;
    margin-bottom: 7px;
    color: #403447;
    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   INPUT
========================================================= */

.mf-input-wrapper {
    position: relative;
}


.mf-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8c7b94;
    font-size: 14px;
    pointer-events: none;
}


.mf-input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 1px solid #ded4e3;
    border-radius: 10px;
    background: #fbf9fc;
    color: #302637;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}


    .mf-input::placeholder {
        color: #aaa0af;
    }


    .mf-input:focus {
        background: #ffffff;
        border-color: #6A0DAD;
        box-shadow: 0 0 0 3px rgba(106, 13, 173, 0.10);
    }


/* =========================================================
   REMEMBER ME
========================================================= */

.remember-row {
    margin-bottom: 0;
}


.mf-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #625668;
    font-size: 14px;
    cursor: pointer;
}


    .mf-checkbox input {
        width: 16px;
        height: 16px;
        accent-color: #6A0DAD;
        cursor: pointer;
    }


/* =========================================================
   BUTTON
========================================================= */

.mf-btn {
    width: 100%;
    padding: 12px 18px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}


.mf-btn-primary {
    background: #6A0DAD;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(106, 13, 173, 0.20);
}


    .mf-btn-primary:hover {
        background: #551087;
        box-shadow: 0 8px 20px rgba(106, 13, 173, 0.25);
    }


    .mf-btn-primary:active {
        transform: translateY(1px);
    }


/* =========================================================
   VALIDATION
========================================================= */

.mf-error {
    display: block;
    margin-top: 5px;
    color: #c0392b;
    font-size: 13px;
}


.validation-summary:empty {
    display: none;
}


.validation-summary:not(:empty) {
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid #f1c7c3;
    border-radius: 10px;
    background: #fff5f4;
}


/* =========================================================
   FOOTER
========================================================= */

.login-footer {
    margin-top: 22px;
    text-align: center;
    color: #918596;
    font-size: 12px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .login-page {
        padding: 25px 15px;
    }

    .mf-card {
        padding: 22px;
    }

    .page-title {
        font-size: 26px;
    }

    .reachflow-brand {
        font-size: 21px;
    }
}
/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .login-page {
        min-height: 100vh;
        padding: 24px 18px;
    }

    .login-wrapper {
        width: 100%;
        max-width: 430px;
    }
}


@media (max-width: 480px) {

    .login-page {
        padding: 20px 14px;
    }

    .login-wrapper {
        max-width: 100%;
    }

    .mf-card {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .login-brand {
        margin-bottom: 24px;
    }

    .login-logo {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .reachflow-brand {
        font-size: 21px;
    }

    .page-title {
        font-size: 25px;
    }

    .page-subtitle {
        font-size: 13px;
    }

    .mf-input {
        font-size: 16px;
    }
}
/* =========================================================
   FORGOT PASSWORD
========================================================= */

.back-login-link {
    display: block;
    margin-top: 18px;
    text-align: center;
    color: #6A0DAD;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}


    .back-login-link:hover {
        color: #551087;
        text-decoration: underline;
    }
.password-reset-message {
    margin-bottom: 18px;
    padding: 12px 14px;
    background: rgba(106, 13, 173, 0.08);
    border: 1px solid rgba(106, 13, 173, 0.18);
    border-radius: 10px;
    color: #551087;
    font-size: 14px;
    line-height: 1.5;
}
.reactivated-icon
.reactivated-message
.reactivated-message strong