﻿/* =========================================================
   INFOTECH IDENTITY AUTH PAGES
   Forgot Password / Reset Password
   ========================================================= */

.identity-auth-wrapper {
    min-height: 620px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 55px 20px;
    background: #f5f7fa;
}


/* CARD */

.identity-auth-card {
    width: 100%;
    max-width: 470px;
    background: #ffffff;
    border-radius: 18px;
    padding: 38px 38px 32px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.10);
    border: 1px solid #e9ecef;
}


/* ICON */

.identity-auth-icon,
.identity-success-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 29px;
}


/* MAIN ICON */

.identity-auth-icon {
    background: #eaf2ff;
    color: #0d6efd;
}


/* SUCCESS ICON */

.identity-success-icon {
    background: #e9f8ef;
    color: #198754;
}


/* TITLE */

.identity-auth-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
}


/* SUBTITLE */

.identity-auth-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
}


/* FORM GROUP */

.identity-form-group {
    margin-bottom: 20px;
}


/* LABEL */

.identity-form-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #343a40;
    margin-bottom: 8px;
}


/* INPUT WRAPPER */

.identity-input-wrapper {
    position: relative;
}


    /* INPUT ICON */

    .identity-input-wrapper i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #6c757d;
        font-size: 17px;
        z-index: 2;
    }


/* INPUT */

.identity-input {
    width: 100%;
    min-height: 48px;
    padding-left: 45px;
    padding-right: 14px;
    border: 1px solid #ced4da;
    border-radius: 9px;
    font-size: 15px;
    transition: all 0.2s ease;
}


    .identity-input:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.18rem rgba(13, 110, 253, 0.12);
    }


    /* READONLY */

    .identity-input[readonly] {
        background: #f8f9fa;
        cursor: not-allowed;
    }


/* SUBMIT BUTTON */

.identity-submit-btn {
    width: 100%;
    min-height: 49px;
    border: none;
    border-radius: 9px;
    background: #0d6efd;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}


    .identity-submit-btn:hover {
        background: #0b5ed7;
        color: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 5px 15px rgba(13, 110, 253, 0.20);
    }


    .identity-submit-btn:active {
        transform: translateY(0);
    }


/* BACK TO LOGIN */

.identity-back-login {
    text-align: center;
    margin-top: 23px;
}


    .identity-back-login a {
        color: #0d6efd;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
    }


        .identity-back-login a:hover {
            text-decoration: underline;
        }


/* INFO BOX */

.identity-info-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #eef6ff;
    border: 1px solid #cfe2ff;
    color: #0a58ca;
    padding: 13px 14px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 25px;
}


    .identity-info-box i {
        margin-top: 2px;
    }


/* PASSWORD NOTE */

.password-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #6c757d;
    font-size: 12px;
    line-height: 1.5;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: -4px;
    margin-bottom: 20px;
}


    .password-note i {
        color: #0d6efd;
        margin-top: 1px;
    }


/* VALIDATION */

.field-validation-error {
    display: block;
    margin-top: 5px;
    font-size: 12px;
}


.validation-summary-errors {
    background: #fff3f3;
    border: 1px solid #f5c2c7;
    border-radius: 8px;
    padding: 11px 13px;
    font-size: 13px;
}


    .validation-summary-errors ul {
        margin: 0;
        padding-left: 18px;
    }


/* MOBILE */

@media (max-width: 576px) {

    .identity-auth-wrapper {
        min-height: 550px;
        padding: 35px 15px;
    }

    .identity-auth-card {
        padding: 30px 22px 25px;
        border-radius: 14px;
    }

    .identity-auth-title {
        font-size: 24px;
    }

    .identity-auth-subtitle {
        font-size: 14px;
    }

    .identity-auth-icon,
    .identity-success-icon {
        width: 62px;
        height: 62px;
        font-size: 25px;
    }
}
