html,
body {
    font-family: 'Poppins', sans-serif;

    height: 100%;

    margin: 0;

    padding: 0;
}

body {
    background-image: url('../images/begen-new-background.png');

    background-size: cover;

    background-attachment: fixed;

    background-position: center center;

    background-repeat: no-repeat;

    background-color: #f8f9fa;
}

.login-card {
    width: 428px;

    height: auto;

    border-radius: 4px;

    background: linear-gradient(180deg, rgba(29, 33, 36, 0.8) 80%, #323c4d 100%);

    box-shadow: 0px 4px 50px 0px rgba(0, 0, 0, 0.8);

    display: flex;

    flex-direction: column;

    position: relative;

    z-index: 1;

    padding: 50px 35px;
}

.login-title {
    color: #ffffff;

    margin-top: 30px;

    font-family: 'Poppins', sans-serif;

    font-weight: 700;

    font-size: 24px;

    line-height: 1.2;
}

.login-subtitle {
    color: #ffffff;

    margin-top: 2px;

    margin-bottom: 0;

    font-family: 'Poppins', sans-serif;

    font-weight: 500;

    font-size: 12px;
}

.login-label {
    color: #ffffff;

    margin-top: 25px;

    font-family: 'Poppins', sans-serif;

    font-weight: 500;

    font-size: 11px;

    padding-left: 8px;

    display: block;

    text-transform: lowercase;
}

.login-input {
    width: 100%;

    height: 39px;

    margin-top: 4px;

    background-color: transparent;

    border: 1px solid #ffffff;

    border-radius: 4px;

    color: #ffffff;

    font-family: 'Poppins', sans-serif;

    font-weight: 500;

    font-size: 14px;
}

.login-input::placeholder {
    color: #bbbbbb;

    opacity: 1;
}

.login-input:focus {
    background-color: transparent;

    box-shadow: none;

    border-color: #fe4c34;

    color: #ffffff;
}

.login-checkbox {
    width: 20px;

    height: 20px;

    margin-top: 0;

    border: 1px solid #d9d9d9;

    background-color: transparent;

    cursor: pointer;
}

.login-checkbox:checked {
    background-color: #fe4c34;

    border-color: #fe4c34;

    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.login-checkbox:focus {
    box-shadow: 0 0 0 0.25rem rgba(254, 76, 52, 0.25);

    border-color: #fe4c34;
}

.login-remember-label {
    color: #ffffff;

    font-family: 'Poppins', sans-serif;

    font-weight: 500;

    font-size: 14px;

    margin-left: 8px;

    cursor: pointer;
}

.login-btn {
    margin-top: 30px;

    width: 100%;

    height: 51px;

    border-radius: 4px;

    background-color: #fe4c34;

    color: #ffffff;

    border: none;

    font-family: 'Poppins', sans-serif;

    font-weight: 500;

    font-size: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    transition:
        background-color 0.3s,
        opacity 0.2s;
}

.login-btn:hover {
    background-color: #e03b24;

    color: #ffffff;

    border-color: transparent;
}

.login-btn:focus,
.login-btn:focus-visible {
    background-color: #fe4c34;

    color: #ffffff;

    border-color: transparent;

    box-shadow: none;

    outline: none;
}

.login-btn:active,
.login-btn.active,
.btn.show.login-btn,
.show > .login-btn.dropdown-toggle {
    background-color: #fe4c34 !important;

    color: #ffffff !important;

    border-color: transparent !important;

    box-shadow: none !important;

    opacity: 1 !important;
}

.login-btn:disabled,
.login-btn.disabled {
    background-color: #3b3b3b !important;

    color: #9aa0a6 !important;

    border: 1px solid #4a4f55 !important;

    box-shadow: none !important;

    opacity: 1 !important;

    cursor: not-allowed;
}

.login-btn:disabled:hover,
.login-btn:disabled:focus,
.login-btn:disabled:focus-visible,
.login-btn.disabled:hover,
.login-btn.disabled:focus,
.login-btn.disabled:focus-visible {
    background-color: #3b3b3b !important;

    color: #9aa0a6 !important;

    border: 1px solid #4a4f55 !important;

    box-shadow: none !important;

    outline: none !important;
}

.forgot-link {
    display: inline-block;

    margin-top: 12px;

    color: #fe4c34;

    font-family: 'Poppins', sans-serif;

    font-weight: 500;

    font-size: 12px;

    text-decoration: underline;

    text-underline-offset: 3px;
}

.forgot-link:hover {
    color: #e03b24;
}

.form-check {
    margin-top: 20px;
}

.signup-card-height {
    height: auto;
}

.password-wrapper {
    position: relative;

    width: 100%;
}

.password-toggle-icon {
    position: absolute;

    right: 15px;

    top: 45%;

    transform: translateY(-35%);

    cursor: pointer;

    z-index: 5;
}

.req-title {
    color: #ffffff;

    font-family: 'Poppins', sans-serif;

    font-size: 11px;

    font-weight: 500;

    margin-bottom: 8px;
}

.req-item {
    display: flex;

    align-items: center;

    color: #ffffff;

    font-family: 'Poppins', sans-serif;

    font-size: 11px;

    font-weight: 400;

    margin-bottom: 4px;

    transition: color 0.3s;
}

.req-icon {
    width: 16px;

    height: 16px;

    margin-right: 8px;

    display: inline-block;

    background-repeat: no-repeat;

    background-position: center;

    background-size: contain;
}

.req-item.invalid .req-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23FE4C34' d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zM4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z'/%3e%3cpath fill='white' d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.req-item.valid .req-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%2328a745' d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.354 5.646-4 4a.5.5 0 0 1-.708 0l-2-2a.5.5 0 1 1 .708-.708L7 8.293l3.646-3.647a.5.5 0 0 1 .708.708z'/%3e%3c/svg%3e");
}

.btn-custom-back {
    width: 120px;

    height: 40px;

    background-color: transparent;

    border: 1px solid #ffffff;

    color: #ffffff;

    border-radius: 4px;

    font-family: 'Poppins', sans-serif;

    font-weight: 500;

    font-size: 14px;

    transition:
        background-color 0.2s,
        color 0.2s,
        border-color 0.2s,
        opacity 0.2s;
}

.btn-custom-back:hover {
    background-color: transparent;

    border-color: #ffffff;

    color: #ffffff;
}

.btn-custom-back:focus,
.btn-custom-back:focus-visible {
    background-color: transparent;

    border-color: #ffffff;

    color: #ffffff;

    box-shadow: none;

    outline: none;
}

.btn-custom-back:active,
.btn-custom-back.active,
.btn.show.btn-custom-back,
.show > .btn-custom-back.dropdown-toggle {
    background-color: transparent !important;

    border-color: #ffffff !important;

    color: #ffffff !important;

    box-shadow: none !important;

    opacity: 1 !important;
}

.btn-custom-back:disabled {
    opacity: 0.5;

    border-color: #888;

    color: #888;
}

.btn-custom-next {
    width: 120px;

    height: 40px;

    background-color: #ff472e;

    border: none;

    color: #ffffff;

    border-radius: 4px;

    font-family: 'Poppins', sans-serif;

    font-weight: 500;

    font-size: 14px;

    transition:
        background-color 0.3s,
        opacity 0.2s;
}

.btn-custom-next:hover {
    background-color: #e03b24;

    color: #ffffff;

    border-color: transparent;
}

.btn-custom-next:focus,
.btn-custom-next:focus-visible {
    background-color: #ff472e;

    color: #ffffff;

    border-color: transparent;

    box-shadow: none;

    outline: none;
}

.btn-custom-next:active,
.btn-custom-next.active,
.btn.show.btn-custom-next,
.show > .btn-custom-next.dropdown-toggle {
    background-color: #ff472e !important;

    color: #ffffff !important;

    border-color: transparent !important;

    box-shadow: none !important;

    opacity: 1 !important;
}

.terms-link {
    color: #fe4c34;

    text-decoration: underline;

    text-underline-offset: 3px;

    cursor: pointer;
}

.terms-link:hover {
    color: #e03b24;
}

input[type='file']::file-selector-button {
    background-color: #fe4c34;

    color: white;

    border: none;

    border-radius: 2px;

    margin-right: 10px;

    cursor: pointer;

    transition: background 0.2s;
}

input[type='file']::file-selector-button:hover {
    background-color: #e03b24;
}

.btn-custom-next:disabled {
    background-color: transparent;

    border: 1px solid #6c757d;

    color: #6c757d;

    opacity: 0.5;

    cursor: not-allowed;
}

.recovery-card-height {
    height: auto;
}

.otp-container {
    display: flex;

    justify-content: center;

    gap: 0;
}

.otp-input {
    width: 40px;

    height: 40px;

    background-color: transparent;

    border: 1px solid #ffffff;

    color: #ffffff;

    font-family: 'Poppins', sans-serif;

    font-weight: 500;

    font-size: 18px;

    text-align: center;

    outline: none;
}

.otp-input:not(:last-child) {
    border-right: none;
}

.otp-input:first-child {
    border-top-left-radius: 4px;

    border-bottom-left-radius: 4px;
}

.otp-input:last-child {
    border-top-right-radius: 4px;

    border-bottom-right-radius: 4px;

    border-right: 1px solid #ffffff;
}

.otp-input:focus {
    background-color: rgba(255, 255, 255, 0.1);

    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
}
