﻿* {
    margin: 0;
    padding: 0;
    font-family: Inter, sans-serif;
}

html,
body {
    height: 100%;
}

body {
    background-color: #ffffff;
}

.forgot-password-page {
    display: flex;
    height: 100vh;
    flex-direction: row;
}

/* === LEFT SIDE === */
.forgot-password-left-side {
    flex: 1;
    background-image: url(../../images/login-background-image.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    padding-bottom: clamp(24px, 100px, 600px);
}

.forgot-password-info-text {
    color: #ffffff;
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: clamp(20px, 1.9vw, 100px);
    font-weight: 600;
    text-align: right;
    padding-right: clamp(15px, 1.5vw, 500px);
    line-height: 100%;
}

    .forgot-password-info-text p {
        margin: 0 0 8px 0;
        font-family: 'Source Sans Pro', sans-serif !important;
    }

        .forgot-password-info-text p:last-child {
            margin-bottom: 0;
        }

/* === RIGHT SIDE === */
.forgot-password-right-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 200px;
    background-color: #ffffff;
    overflow-y: auto;
    position: relative;
    padding-left: 150px;
}

.dark-blue {
    color: #343b46;
}

.btn {
    border: 0;
    border-radius: 8px;
    text-shadow: none;
    background: #ddd;
    line-height: 25px;
    padding-left: 15px;
    padding-right: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    color: #fff;
    background: #AF34F8;
    font-weight: 600;
    float: left;
    width: 125px;
    padding: 10px;
    font-size: 16px;
    margin-top: 10px;
}

    .btn-primary:hover {
        background: #9333ea;
    }

    .btn-primary:focus,
    .btn-primary:active,
    .btn-primary:active:focus {
        background: #7e22ce;
        outline: none;
    }

.message {
    display: inline-flex;
    align-items: flex-end;
    gap: 6px;
    margin-bottom: 18px;
}

    .message a {
        color: #9115DA;
        text-decoration: none;
    }

/* === FORM === */
.form {
    position: relative;
    z-index: 1;
    background: transparent;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0;
    text-align: left;
    border: 0;
}

.forgot-password-box {
    width: 100%;
}

.forgot-password-box-body {
    padding: 0;
    width: 600px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 6px;
        font-size: 16px;
        font-weight: 500;
        color: #252B37;
    }

    .form-group .form-control-feedback-icon {
        position: absolute;
        top: 50%;
        left: 15px;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        object-fit: contain;
        pointer-events: none;
        z-index: 5;
    }

    .form-group .form-control-lock-icon {
        position: absolute;
        top: 50%;
        left: 15px;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        object-fit: contain;
        pointer-events: none;
    }

.form input[type="text"],
.form input[type="password"] {
    outline: 0;
    background: #ffffff;
    width: 600px;
    height: 44px;
    border: 1px solid #d1d5db;
    margin: 0;
    padding: 12px 15px 12px 45px;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .form input[type="text"]:focus,
    .form input[type="password"]:focus {
        border-color: #a855f7;
        outline: none;
        box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
    }

.form input::placeholder {
    color: #9ca3af;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

input[type="password"]::-webkit-textfield-decoration-container {
    display: none !important;
    visibility: hidden;
}

/* === PASSWORD TOGGLE ICON === */
/*.password-toggle-icon {
    color: #6b7280;
    font-size: 18px;
    transition: color 0.3s ease;
    z-index: 10;
}

    .password-toggle-icon:hover {
     color: #AF34F8;
    }

  .password-toggle-icon i {
      display: flex;
        align-items: center;
        justify-content: center;
 }*/

.info {
    margin: 0 0 40px;
    text-align: left;
}

    .info h1 {
        margin: 0 0 16px;
        padding: 0;
        font-size: 24px;
        font-weight: 600;
        color: #101828;
    }

    .info span {
        color: #717680;
        font-weight: 400;
        font-size: 16px;
        display: block;
    }

.login-input-error {
    border: 1px solid #FDA29B !important;
    box-shadow: 0 0 0 4px #FEE4E2, 0 1px 2px rgba(10, 13, 18, 0.05) !important;
    outline: none;
    padding-right: 45px !important;
}

.has-error::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url('../../images/icons/alert-circle-icon.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    pointer-events: none;
    z-index: 10;
}


.has-error .password-toggle-icon {
    display: none !important;
}

/* === ERRORS === */
.field-validation-error,
.text-danger {
    font-size: 12px;
    color: #dc2626;
}

    .text-danger ul {
        list-style: none;
        padding-left: 0;
        margin: 0;
    }

        .text-danger ul li {
            list-style: none;
            padding-left: 0;
        }

.validation-summary-errors {
    list-style: none;
    padding-left: 0;
}

    .validation-summary-errors ul {
        list-style: none;
        padding-left: 0;
        margin: 0;
    }

        .validation-summary-errors ul li {
            list-style: none;
            padding-left: 0;
        }

.text-danger {
    color: #F04438;
    font-size: 14px !important;
    color: #F04438;
    font-weight: 500;
    margin-top: 6px;
    display: block;
}

/* === RESPONSIVE === */
@media screen and (max-width: 768px) {
    .forgot-password-page {
        flex-direction: column;
    }

    .forgot-password-left-side {
        display: none;
    }

    .forgot-password-right-side {
        padding: 20px;
    }

    .info h1 {
        font-size: 24px;
    }
}

@media screen and (max-width: 500px) {
    .forgot-password-right-side {
        padding: 15px;
    }

    .form {
        max-width: 100%;
    }
}
