﻿/* ======================================== */
/* Figma-Based Login Screen Styles         */
/* Source: Figma "Login" (kB5zJwK6FMdXg9UlFgWzwk) */
/* ======================================== */

/* ======================================== */
/* CSS Variables (Design Tokens)           */
/* ======================================== */

:root {
    /* Typography */
    --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ======================================== */
/* CSS Reset & Base                        */
/* ======================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    overflow: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    line-height: var(--line-height-normal);
    color: var(--color-text-primary);
    background-color: var(--color-background);
    border-top: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
}

/* Fix for IE/Edge box-sizing */
input,
button,
select,
textarea {
    box-sizing: border-box;
}

/* Remove default button styles */
button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
}

/* ======================================== */
/* Safari Overlay Scrollbar Fix            */
/* Prevents thin line at top of page in Safari */
/* ======================================== */

html {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;     /* Firefox */
}

html::-webkit-scrollbar {
    display: none;             /* Chrome, Safari and Opera */
}

/* ======================================== */
/* Base Layout                             */
/* ======================================== */

.login-container {
    min-height: 100vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
    font-family: var(--font-family-base);
    border-top: none;
}

/* Full-page background banner */
.login-container__banner-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/AV_Banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.login-container__banner-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* ======================================== */
/* Header Section                          */
/* ======================================== */

.login-header {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.login-header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-header__logo img {
    height: 48px;
    width: auto;
}

.login-header__logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
}

/* ======================================== */
/* Main Content                            */
/* ======================================== */

.login-main {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 40px 24px;
    position: relative;
    z-index: 10;
    min-height: calc(100vh - 160px);
    gap: 40px;
}

.login-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
}

.login-tagline {
    width: 18%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    font-family: Inter;
    font-weight: 700;
    line-height: 46.8px;
    word-wrap: break-word;
    text-align: left;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

#text {
    position: absolute;
    left: 24px;
    width: 25%;
    display: flex;
    justify-content: center;
    color: white;
    font-size: 36px;
    font-family: Inter;
    font-weight: 700;
    line-height: 46.8px;
    word-wrap: break-word;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.login-content-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    max-width: 460px;
}

/* Ensure consistent card positioning on desktop */
@media (min-width: 1366px) {
    .login-card {
        position: absolute;
        left: 50%;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
}

.login-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 40px 32px 8px 32px;
    width: 100%;
    max-width: 460px;
    outline: 1px #D9D9D9 solid;
    outline-offset: -1px;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.login-card__header-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #d9d9d9;
}

.login-card__tagline {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    font-size: 36px;
    font-family: Inter;
    font-weight: 700;
    line-height: 46.8px;
    text-align: center;
    word-wrap: break-word;
    margin-top: 24px;
}

.login-card__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
    text-align: center;
    margin-bottom: 8px;
    margin-top: 0;
}

.login-card__subtitle {
    font-size: 14px;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: 32px;
}

/* ======================================== */
/* Form Elements                           */
/* ======================================== */

.login-form {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group__label {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.form-group__label {
    font-size: 15px;
    font-weight: 400;
    color: #1E1F24;
}

.form-group__label .required {
    color: #DB3737;
}

.form-group__input {
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 400;
    border: none;
    border-radius: 8px;
    background-color: #FCFCFC;
    color: var(--color-text-primary);
    transition: all 0.15s ease;
    height: 40px;
    width: 100%;
    outline: 1px #d1d5db solid;
    outline-offset: -1px;
}


.form-group__input:hover {
    border-color: #9ca3af;
}

.form-group__input:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(0, 158, 201, 0.15);
}

.form-group__input::placeholder {
    color: #9ca3af;
}

.form-group--inline {
    flex-direction: row;
    align-items: center;
}

.form-group__input--password-wrapper {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

/* Hide browser's native password show/hide button */
.form-group__input--password::-webkit-reveal-button,
.form-group__input--password::-webkit-credentials-auto-fill-button {
    display: none;
    visibility: hidden;
}

.form-group__input--password::-ms-reveal,
.form-group__input--password::-ms-clear {
    display: none;
    visibility: hidden;
}

/* Firefox - disable password reveal */
.form-group__input--password::-moz-focus-inner {
    border: 0;
}

.form-group__input--password {
    flex: 1;
    padding-right: 40px;
}

.password-toggle-btn {
    position: absolute;
    right: 8px;
    top: 0;
    bottom: 0;
    height: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    opacity: 0.6;
}

.password-toggle-btn:hover {
    background-color: rgba(0, 0, 0, 0.08);
    opacity: 1;
}

.password-toggle-btn:active img {
    transform: scale(0.95);
}

.password-toggle-btn img {
    width: 20px;
    height: 20px;
    filter: grayscale(0.3);
    transition: filter 0.2s ease;
}

.password-toggle-btn:hover img {
    filter: grayscale(0);
}

/* ======================================== */
/* Buttons                                 */
/* ======================================== */

.btn {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-medium);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn--primary {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
    background-color: #6b171a;
    box-shadow: var(--shadow-md);
}

.btn--primary:active {
    transform: translateY(1px);
}

.btn--secondary {
    background-color: var(--color-secondary);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
    background-color: #0087a8;
    box-shadow: var(--shadow-md);
}

.btn--full-width {
    width: 100%;
}

.btn--login {
    background: transparent;
    color: #0098C1;
    padding: 5px 9px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 20px;
    outline: 1px #0098C1 solid;
    outline-offset: -1px;
    cursor: pointer;
    width: 75%;
    height: 40px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease;
    margin: 12px auto 0;
}

.btn--login:hover {
    background: rgba(0, 151.82, 193.47, 0.1);
}

.btn--login:active,
.btn--login:focus,
.btn--login.k-state-active,
.btn--login.k-state-focused,
#LoginSubmit.k-button:active,
#LoginSubmit.k-button:focus,
#LoginSubmit.k-button.k-state-active,
#LoginSubmit.k-button.k-state-focused {
    background: transparent !important;
    color: #0098C1 !important;
    outline: 1px #0098C1 solid !important;
    border-color: #0098C1 !important;
    box-shadow: none !important;
}

/* Original Kendo Button Styles (for binding) */
.btn-Login {
    width: 80px;
    height: 27px;
    background: #007dbd !important;
    padding: 3px 15px;
    border: 0;
    color: #fff;
    border-radius: 2px;
    margin-top: -1px;
    cursor: pointer;
}

.btn-toogle {
    width: 26px;
    height: 26px;
    background: lightgrey !important;
    border: 1;
    border-radius: 2px;
    margin-top: -2px;
    margin-left: -7px;
    border-color: dimgrey !important;
    cursor: pointer;
}

.btn--submit {
    background-color: var(--color-secondary);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-medium);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.btn--submit:hover {
    background-color: #0087a8;
}

.btn--icon {
    padding: var(--spacing-xs);
    background: transparent;
    border: 1px solid var(--color-border);
}

.btn--icon:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* ======================================== */
/* Remember Panel (original binding)       */
/* ======================================== */

.remember-panel {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
}

.remember-checkbox {
    width: 16px;
    height: 16px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.remember-label {
    font-size: 11px;
    color: var(--color-text-secondary);
    cursor: pointer;
    margin: 0 8px 0 4px;
}

.forgot-link {
    font-size: 14px;
    font-weight: 500;
    font-family: Inter;
    color: #0098C1;
    text-decoration: none;
    transition: color 0.15s ease;
}

.forgot-link:hover {
    color: #0087a8;
    text-decoration: underline;
}

/* ======================================== */
/* Notification Panel (original binding)   */
/* ======================================== */

.notification-panel {
    margin: 8px;
    width: 380px;
    min-height: 20px;
}

.notification-label {
    float: left;
    color: red !important;
    font-size: 12px;
    font-weight: 500;
}

.error-message {
    color: red;
    margin-top: 15px;
    font-size: 10px;
}

.success-message {
    color: green;
    margin-top: 15px;
    font-size: 10px;
}

/* ======================================== */
/* Messages                                */
/* ======================================== */

.login-message {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-md);
    display: none;
}

.login-message--error {
    background-color: rgba(220, 53, 69, 0.1);
    border-left: 3px solid var(--color-error);
    color: var(--color-error);
    display: block;
}

.login-message--success {
    background-color: rgba(40, 167, 69, 0.1);
    border-left: 3px solid var(--color-success);
    color: var(--color-success);
    display: block;
}

/* ======================================== */
/* Progress Bar                            */
/* ======================================== */

.login-progress {
    width: 100%;
    height: 4px;
    background-color: var(--color-border);
    border-radius: var(--radius-full);
    margin-top: var(--spacing-md);
    overflow: hidden;
}

.login-progress__bar {
    height: 100%;
    background-color: var(--color-secondary);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: var(--radius-full);
}

.login-progress__bar--animated {
    animation: progress-indeterminate 1.5s infinite;
}

@keyframes progress-indeterminate {
    0% {
        width: 0%;
        margin-left: 0%;
    }
    50% {
        width: 50%;
        margin-left: 25%;
    }
    100% {
        width: 0%;
        margin-left: 100%;
    }
}

/* ======================================== */
/* Password Reset (inside popupModal)       */
/* ======================================== */

.popup-modal-message .password-reset-input {
    width: 100%;
    box-sizing: border-box;
}

.popup-modal-message .error-message {
    color: #DB3737;
    margin-top: 8px;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
}

/* ======================================== */
/* Footer                                  */
/* ======================================== */

.login-footer {
    padding: var(--spacing-lg);
    text-align: center;
    background-color: var(--color-background);
    border-top: 1px solid var(--color-border);
}

.login-footer__text {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.login-footer__link {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-footer__link:hover {
    color: #0087a8;
    text-decoration: underline;
}

/* ======================================== */
/* Banner Section (deprecated - use bg)    */
/* ======================================== */
/* Note: Banner is now a full-page background image */
/* Use .login-container__banner-bg instead */

.login-banner {
    display: none;
}

/* ======================================== */
/* Info Section                            */
/* ======================================== */

.login-info {
    position: relative;
    z-index: 10;
    padding: 0px 10px;
    background: transparent;
    border-top: none;
    margin-top: auto;
    margin-bottom: 0;
}

.login-info__content {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
}

.login-info__text {
    color: white;
    font-size: 10px;
    font-family: Inter;
    font-weight: 700;
    line-height: 13px;
    word-wrap: break-word;
    text-align: left;
}

.login-info__text a {
    color: white;
    font-size: 10px;
    font-family: Inter;
    font-weight: 700;
    text-decoration: underline;
    line-height: 13px;
    word-wrap: break-word;
}

.login-info__copyright {
    color: white;
    font-size: 10px;
    font-family: Inter;
    font-weight: 700;
    line-height: 13px;
    margin-top: 8px;
}

/* ======================================== */
/* Responsive Design                       */
/* ======================================== */

/* Large Desktop (1920px and above) */
/*@media (min-width: 1920px) {
    html {
        font-size: 18px;
    }

    .login-tagline {
        font-size: 42px;
        line-height: 54px;
    }

    .login-card {
        max-width: 520px;
        padding: 48px 40px 12px 40px;
    }
}*/

/* Laptop (1366px - 1919px) - Maintain desktop layout */
@media (min-width: 1366px) and (max-width: 1919px) {
    .login-tagline {
        font-size: 32px;
        line-height: 42px;
    }

    .login-content-wrapper {
        max-width: 480px;
    }
}

/* Small Laptop (1024px - 1365px) - Maintain desktop layout, only minor adjustments */
@media (min-width: 1024px) and (max-width: 1365px) {
    #text {
        font-size: 30px;
        line-height: 40px;
        left: 16px;
    }

    .login-card {
        max-width: 420px;
        padding: 32px 24px 8px 24px;
    }

    .login-main {
        padding: 32px 16px;
    }
}

/* Tablet (768px - 1023px) - Maintain desktop layout structure */
@media (min-width: 768px) and (max-width: 1023px) {
    #text {
        font-size: 28px;
        line-height: 38px;
        left: 12px;
    }

    .login-card {
        max-width: 400px;
        padding: 28px 20px 8px 20px;
    }

    .login-main {
        padding: 28px 12px;
    }
}

/* Mobile (below 768px) - Stack layout */
@media (max-width: 767px) {
    #text {
        position: static;
        width: 100%;
        text-align: center;
        margin-bottom: 24px;
        font-size: 24px;
        line-height: 34px;
        padding: 0 16px;
    }

    .login-main {
        flex-direction: column;
        justify-content: center;
        padding: 20px 12px;
    }

    .login-content-wrapper {
        max-width: 100%;
    }

    .login-card {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        max-width: 100%;
        margin: 0 auto;
        padding: 24px 16px 8px 16px;
    }

    .login-info {
        padding: 0 8px;
    }

    .login-info__text {
        font-size: 9px;
        line-height: 12px;
    }
}

/* ======================================== */
/* Kendo UI Integration                    */
/* ======================================== */

.kendo-button--figma {
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-medium);
}

.kendo-textbox--figma {
    border-radius: var(--radius-md);
    border-color: var(--color-border);
}

.kendo-textbox--figma:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(0, 158, 201, 0.1);
}

/* ======================================== */
/* Progress Bar (original binding)         */
/* ======================================== */

.progressbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000000;
    display: none;
}

.progressbar-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0.3;
}

.progressbar-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin-left: -30px;
    margin-top: -30px;
    background-image: url('../images/loading-spinner.svg') !important;
    background-position: center;
    border-radius: 30px;
    background-repeat: no-repeat;
}

.progressbar-cancel {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 100px;
    margin-left: -40px;
    margin-top: -40px;
    display: none;
}

.progressbar-link {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 20px;
    color: gray;
    text-align: center;
    cursor: pointer;
}

/* Bootstrap Progress bar overrides */
.progress {
    margin: 5px 10px 0 0;
    width: 380px;
    visibility: hidden;
}

.progress-bar {
    height: 20px;
}

.progress-bar-striped {
    background-image: linear-gradient(45deg, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
}

.progress-bar-animated {
    animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
    0% {
        background-position: 1rem 0;
    }
    100% {
        background-position: 0 0;
    }
}

/* ======================================== */
/* Utility Classes                         */
/* ======================================== */

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-secondary);
}

.text-muted {
    color: var(--color-text-secondary);
}

.mt-sm {
    margin-top: var(--spacing-sm);
}

.mt-md {
    margin-top: var(--spacing-md);
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.gap-sm {
    gap: var(--spacing-sm);
}

.gap-md {
    gap: var(--spacing-md);
}

/* ======================================== */
/* Notification Panel                      */
/* ======================================== */

.notification-panel {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-panel--error {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid var(--color-error);
}

.notification-panel--success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid var(--color-success);
}

.notification-panel--warning {
    background-color: rgba(255, 193, 7, 0.1);
    border: 1px solid var(--color-warning);
}

.notification-label {
    display: block;
    width: 100%;
    text-align: center;
    color: var(--color-error);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
}

/* ======================================== */
/* Remember Panel                          */
/* ======================================== */

.remember-panel {
    margin-top: var(--spacing-sm);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.remember-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.remember-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    cursor: pointer;
    user-select: none;
}

/* ======================================== */
/* Action Panel                            */
/* ======================================== */

.action-panel {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    width: 100%;
}

/* ======================================== */
/* Loading Spinner                         */
/* ======================================== */

.login-spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.login-spinner--active {
    display: flex;
}

.login-spinner__backdrop {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
}

.login-spinner__spinner {
    position: relative;
    width: 48px;
    height: 48px;
    border: 4px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ======================================== */
/* Input Icons                             */
/* ======================================== */

.input-icon {
    position: absolute;
    left: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--color-text-secondary);
    pointer-events: none;
}

.input--with-icon .form-group__input {
    padding-left: 48px;
}

/* ======================================== */
/* Divider                                 */
/* ======================================== */

.divider {
    display: flex;
    align-items: center;
    margin: var(--spacing-lg) 0;
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--color-border);
}

.divider__text {
    padding: 0 var(--spacing-md);
}

/* ======================================== */
/* Social Login Buttons                    */
/* ======================================== */

.social-login {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background-color: var(--color-background);
    color: var(--color-text-primary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.2s ease;
}

.social-btn:hover {
    background-color: #f8f9fa;
    border-color: #c1c9d0;
}

.social-btn svg {
    width: 20px;
    height: 20px;
}
