/* =========================================================
   FACULTY LOGIN
========================================================= */

.faculty-login-page {

    direction: rtl;

    width: 100%;

    min-height: calc(100vh - 180px);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 55px 20px 70px;

    font-family: "Cairo", sans-serif;

    background:
        linear-gradient(
            180deg,
            #f7faf8 0%,
            #f4f8f5 100%
        );

    box-sizing: border-box;
}


.faculty-login-container {

    width: 100%;

    max-width: 500px;

    margin: 0 auto;
}


/* =========================================================
   LOGIN CARD
========================================================= */

.faculty-login-card {

    position: relative;

    overflow: hidden;

    width: 100%;

    background: #ffffff;

    border: 1px solid #e1ebe5;

    border-radius: 20px;

    box-shadow:
        0 12px 40px rgba(0, 136, 62, 0.10);

    box-sizing: border-box;
}


/* =========================================================
   TOP DECORATION
========================================================= */

.faculty-login-card-top {

    width: 100%;

    height: 5px;

    background: #00883e;
}


/* =========================================================
   HEADER
========================================================= */

.faculty-login-header {

    text-align: center;

    padding: 35px 35px 20px;
}


.faculty-login-icon {

    width: 78px;

    height: 78px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 17px;

    border-radius: 20px;

    background: #eef8f2;

    border: 1px solid #d5e9dc;

    color: #00883e;

    font-size: 31px;

    box-shadow:
        0 6px 18px rgba(0, 136, 62, 0.08);
}


.faculty-login-welcome {

    display: block;

    margin-bottom: 4px;

    color: #00883e;

    font-size: 13px;

    font-weight: 600;
}


.faculty-login-header h1 {

    margin: 0 0 8px;

    color: #222222;

    font-size: 25px;

    font-weight: 700;

    line-height: 1.6;
}


.faculty-login-header p {

    max-width: 390px;

    margin: 0 auto;

    color: #888888;

    font-size: 13px;

    line-height: 1.9;
}


/* =========================================================
   ALERT
========================================================= */

.faculty-login-alert {

    display: flex;

    align-items: flex-start;

    gap: 11px;

    margin: 0 35px 20px;

    padding: 13px 15px;

    border-radius: 11px;

    box-sizing: border-box;
}


.faculty-login-error {

    background: #fff7f7;

    border: 1px solid #f0d0d0;

    color: #b13a3a;
}


.faculty-login-alert > i {

    margin-top: 2px;

    font-size: 17px;

    flex: 0 0 auto;
}


.faculty-login-alert div {

    display: flex;

    flex-direction: column;

    gap: 2px;

    min-width: 0;
}


.faculty-login-alert strong {

    font-size: 13px;

    font-weight: 700;
}


.faculty-login-alert span {

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   FORM
========================================================= */

.faculty-login-form {

    padding: 0 35px 28px;
}


/* =========================================================
   FIELD
========================================================= */

.faculty-login-field {

    margin-bottom: 20px;
}


.faculty-login-field label {

    display: block;

    margin-bottom: 8px;

    color: #333333;

    font-size: 13px;

    font-weight: 700;
}


/* =========================================================
   INPUT WRAPPER
========================================================= */

.faculty-login-input-wrapper {

    position: relative;

    width: 100%;
}


.faculty-login-input-wrapper > i {

    position: absolute;

    right: 15px;

    top: 50%;

    transform: translateY(-50%);

    color: #00883e;

    font-size: 16px;

    pointer-events: none;

    z-index: 2;
}


.faculty-login-input-wrapper input {

    display: block;

    width: 100%;

    height: 52px;

    padding:
        0 44px 0 15px;

    box-sizing: border-box;

    border: 1px solid #d8e3dc;

    border-radius: 11px;

    background: #ffffff;

    color: #222222;

    font-family: "Cairo", sans-serif;

    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}


.faculty-login-input-wrapper input::placeholder {

    color: #aaaaaa;
}


.faculty-login-input-wrapper input:hover {

    border-color: #aacbb8;
}


.faculty-login-input-wrapper input:focus {

    border-color: #00883e;

    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(0, 136, 62, 0.08);
}


/* =========================================================
   LOGIN OPTIONS
========================================================= */

.faculty-login-options {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin: 2px 0 22px;
}


/* =========================================================
   REMEMBER ME
========================================================= */

.faculty-remember {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin: 0;

    cursor: pointer;

    user-select: none;
}


.faculty-checkbox {

    position: relative;

    width: 19px;

    height: 19px;

    display: inline-block;

    flex: 0 0 19px;
}


.faculty-checkbox input {

    position: absolute;

    inset: 0;

    width: 19px;

    height: 19px;

    margin: 0;

    opacity: 0;

    cursor: pointer;
}


.faculty-checkbox-mark {

    position: absolute;

    inset: 0;

    width: 19px;

    height: 19px;

    box-sizing: border-box;

    border: 1px solid #cbd9d0;

    border-radius: 5px;

    background: #ffffff;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}


.faculty-checkbox input:checked +
.faculty-checkbox-mark {

    background: #00883e;

    border-color: #00883e;
}


.faculty-checkbox input:checked +
.faculty-checkbox-mark::after {

    content: "";

    position: absolute;

    left: 5px;

    top: 2px;

    width: 5px;

    height: 9px;

    border:
        solid #ffffff;

    border-width:
        0 2px 2px 0;

    transform: rotate(45deg);
}


.faculty-checkbox input:focus-visible +
.faculty-checkbox-mark {

    box-shadow:
        0 0 0 4px rgba(0, 136, 62, 0.10);
}


.faculty-remember-text {

    color: #666666;

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   FORGOT PASSWORD
========================================================= */

.faculty-forgot-password {

    color: #00883e;

    font-size: 12px;

    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.2s ease;
}


.faculty-forgot-password:hover {

    color: #006f32;

    text-decoration: underline;
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.faculty-login-button {

    width: 100%;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 0 22px;

    border: 0;

    border-radius: 11px;

    background: #00883e;

    color: #ffffff;

    font-family: "Cairo", sans-serif;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 7px 18px rgba(0, 136, 62, 0.18);

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}


.faculty-login-button:hover {

    background: #006f32;

    transform: translateY(-2px);

    box-shadow:
        0 10px 23px rgba(0, 136, 62, 0.25);
}


.faculty-login-button:active {

    transform: translateY(0);
}


/* =========================================================
   FOOTER
========================================================= */

.faculty-login-footer {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 16px 25px;

    border-top: 1px solid #edf2ef;

    background: #f8fbf9;

    color: #888888;

    font-size: 11px;

    line-height: 1.7;

    text-align: center;
}


.faculty-login-footer i {

    color: #00883e;

    font-size: 14px;

    flex: 0 0 auto;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .faculty-login-page {

        min-height: calc(100vh - 140px);

        padding:
            40px
            18px
            55px;
    }


    .faculty-login-header {

        padding:
            30px
            28px
            18px;
    }


    .faculty-login-form {

        padding:
            0
            28px
            25px;
    }


    .faculty-login-alert {

        margin-left: 28px;

        margin-right: 28px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .faculty-login-page {

        min-height: calc(100vh - 100px);

        align-items: flex-start;

        padding:
            25px
            10px
            40px;
    }


    .faculty-login-card {

        border-radius: 15px;
    }


    .faculty-login-header {

        padding:
            25px
            17px
            17px;
    }


    .faculty-login-icon {

        width: 62px;

        height: 62px;

        margin-bottom: 13px;

        border-radius: 15px;

        font-size: 25px;
    }


    .faculty-login-welcome {

        font-size: 12px;
    }


    .faculty-login-header h1 {

        font-size: 20px;

        line-height: 1.5;
    }


    .faculty-login-header p {

        font-size: 11px;

        line-height: 1.8;
    }


    .faculty-login-alert {

        margin:
            0
            17px
            17px;

        padding:
            12px
            13px;
    }


    .faculty-login-form {

        padding:
            0
            17px
            22px;
    }


    .faculty-login-field {

        margin-bottom: 17px;
    }


    .faculty-login-field label {

        font-size: 12px;
    }


    .faculty-login-input-wrapper input {

        height: 48px;

        font-size: 13px;

        padding:
            0
            42px
            0
            12px;
    }


    .faculty-login-input-wrapper > i {

        right: 13px;

        font-size: 15px;
    }


    .faculty-login-options {

        align-items: flex-start;

        flex-wrap: wrap;

        margin-bottom: 18px;
    }


    .faculty-login-button {

        height: 49px;

        font-size: 13px;
    }


    .faculty-login-footer {

        padding:
            13px
            15px;

        font-size: 10px;
    }
}
/* =========================================================
   PASSWORD CHANGE SUCCESS
========================================================= */

.faculty-login-success {

    background: #edf9f2 !important;

    border: 1px solid #ccebd8 !important;

    color: #087a3d !important;
}