@font-face {
    font-family: 'Proxima Nova';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/proximanova_light.otf');
}

@font-face {
    font-family: 'Proxima Nova';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/proximanova_regular.ttf');
}

@font-face {
    font-family: 'Proxima Nova';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/proximanova_bold.otf');
}

@font-face {
    font-family: 'Proxima Nova';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/proximanova_bold.otf');
}

body {
    font-family: 'Proxima Nova', sans-serif;
    font-size: 13px;
    margin: 0;
    padding: 0;
}

body {
    font-size: 14px;
}

.page-container {
    --bs-primary: #2A80E4;
    max-width: 500px;
    min-height: 757px;
    margin: 24px auto;
    display: flex;
    flex-direction: column;
    padding: 65px 60px 50px 50px;
    border-radius: 4px !important;
}

a {
    color: #000000;
    text-decoration: none;
}

a:hover {
    color: #000000;
    text-decoration: underline!important;
}

.text-primary {
    color: #2A80E4 !important;
}

.text-body {
    color: #272D30 !important;
    line-height: 21px;
    font-size: 14px;
}

.btn-primary {
    color: #FFFFFF;
    background-color: #2A80E4;
    border: 1px solid transparent;
    font-family: 'Proxima Nova';
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0.25px;
    padding: 8px 12px;
}

.btn-primary:hover, .btn-primary:focus {
    background: #2A80E4;
    border-color: #2A80E4;
    opacity: 0.8;
    box-shadow: none;
}

.btn-primary:disabled, .btn-primary.disabled {
    background-color: #E9EAEA;
    border-color: #E9EAEA;
    color: #A9ABAC;
}


.form-group.floating {
    position: relative;
    margin-top: 24px;
}

.form-group.floating .form-control {
    width: 100%;
    padding: 16px 18.5px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.375rem;
    outline: none;
}

.form-group.floating .form-control:focus {
    box-shadow: none;
    border-color: #2A80E4;
}

.form-group.floating .form-label {
    position: absolute;
    top: 17px;
    left: 16px;
    font-size: 16px;
    pointer-events: none;
    transition: 0.2s ease all;
    background: white;
    padding: 0 0.25rem;
    color: #7D8183;
}

.form-group.floating .form-control:focus + .form-label {
    color: #2A80E4;
}

.form-group.floating .form-control:focus + .form-label,
.form-group.floating .form-control:not(:placeholder-shown) + .form-label {
    top: -9px;
    font-size: 12px;
}

/* Default: hide error message */
.error-message {
    display: none;
}

/* Apply red styles if input is invalid after interaction */
.form-group.floating.invalid .form-control {
    border-color: #EA1D35;
    color: #EA1D35;
}

.form-group.floating.invalid .form-label {
    color: #EA1D35!important;
}

.form-group.floating.invalid .error-message {
    display: block;
    color: #EA1D35;
    font-size: 12px;
    line-height: 18px;
    margin-top: 4px;
    padding-left: 16px;
}


.material-symbols-outlined {
    font-family: 'Material Icons Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
}

.custom-alert {
    display: flex;
    align-items: center;
    border: 1px solid #a9abac;
    border-radius: 4px;
    margin-bottom: 48px;
    background-color: #feebec;
}

.custom-alert__icon {
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-alert__icon .material-symbols-outlined {
    font-size: 34px;
    color: #dc3545;
}

.custom-alert__content {
    background-color: #ffffff;
    padding: 12px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    width: 100%;
}

.custom-alert__content h5 {
    margin-bottom: 12px;
    font-weight: 600;
    color: #272d30;
}

.custom-alert__content p {
    margin: 0;
    color: #272d30;
    font-size: 14px;
    line-height: 21px;
}

.custom-alert__content a {
    color: #000000;
    text-decoration: underline;
}

.password-toggle {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    color: #7D8183; /* Default */
    transition: color 0.2s ease;
}

.password-toggle.active {
    color: #272D30; /* When password is visible */
}

/* Hide MS Edge password reveal button */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}


.forgot-password-link {
    margin-top: 12px;
    margin-bottom: 24px;
}

.forgot-password-link a {
    font-size: 14px;
}

/* Logo spacing */
.logo-container {
    margin-bottom: 60px;
}

.logo {
    width: 122px;
    height: 32px;
}

/* Footer styles */
.footer-nav {
    border-color: #7D8183 !important;
    margin-left: -25.5px;
    margin-right: -25.5px;
    padding: 12px 58px;
    display: flex;
}

.footer-nav a {
    font-size: 14px;
    margin-right: 26px;
    color: #272D30;
}

.footer-nav a:last-child {
    margin-right: 0;
}

.header {
    color: #272D30;
    font-size: 29px;
    font-style: normal;
    font-weight: 400;
    line-height: 35px;
    margin-bottom: 12px;
}

.login-form {
    margin-bottom: 51px;
}

#reset-submit, #verify-submit {
    margin-top: 24px;
}


p {
    margin-bottom: 24px;
}

.toast-container {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 9999;
}

.toast {
    display: flex;
    align-items: center;
    background-color: #2f3336;
    color: #fff;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    max-width: 320px;
    font-size: 0.95rem;
    font-weight: 500;
    animation: fadeIn 0.3s ease-in-out;
}

.toast.success::before {
    content: '';
    background: url('/images/check.svg') no-repeat center center;
    background-size: cover;
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

