body {
    background-color: #1a1a1a;
    height: auto;
}

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

.login-page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 24px 56px 24px;
    background-color: #1a1a1a;
}

.login-page-wrapper .login-logo {
    width: 100%;
    max-width: 464px;
    height: auto;
    max-height: 72px;
    margin-bottom: 32px;
    flex-shrink: 0;
    object-fit: contain;
}

.login-page-container {
    background-color: #282828;
    padding: 24px 30px 20px 30px;
    border: none;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    text-align: center;
}

.login-page-desc {
    margin-top: 0;
    margin-bottom: 0;
}

.login-page-desc h1 {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.login-page-desc .login-subheading {
    font-size: 14px;
    color: #b0b0b0;
    font-weight: 400;
}

.login-page-desc p {
    font-size: 14px;
    color: #e0e0e0;
    margin-top: 8px;
}

.login-page-container .login-button-panel {
    margin-top: 0;
    margin-bottom: 24px;
}

.login-divider {
    display: block;
    border: none;
    height: 1px;
    min-height: 1px;
    background-color: #000000;
    margin: 20px -30px 15px -30px;
    width: calc(100% + 60px);
    flex-shrink: 0;
    box-sizing: content-box;
}

.login-divider--bottom {
    height: 1px;
    min-height: 1px;
}

.login-error-box {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 12px 8px;
    gap: 8px;
    width: 96%;
    min-height: 56px;
    background: rgba(87, 61, 61, 0.5);
    border: 1px solid #d83329;
    border-radius: 8px;
    flex: none;
    flex-grow: 0;
    margin: 0 auto 24px auto;
}

.login-error-box-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0;
    gap: 10px;
    width: 100%;
}

.login-error-icon {
    flex: none;
    order: 0;
    flex-grow: 0;
    width: 16px;
    height: 16px;
    font-size: 16px !important;
    line-height: 1;
    margin-top: 2px;
}

.login-error-box .login-error-message {
    margin: 0;
    font-size: 14px;
    color: #ffffff;
    text-align: left;
    flex: 1;
}

.login-page-container .btn-login {
    background-color: #0083cd;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    height: 44px;
    border: none;
    box-shadow: none;
    min-width: 100px;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.login-page-container .btn-login:hover:not(:disabled) {
    background-color: #006bb3;
}

.login-page-container .btn-login:disabled {
    background-color: #006494;
    box-shadow: none;
    cursor: not-allowed;
    border: none;
}

.login-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: login-spin 0.8s linear infinite;
}

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

.login-contact-text-wrap {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
}

.login-contact-text {
    margin: 0;
    font-size: 14px;
    color: #b0b0b0;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    display: block;
}

.login-contact-text a {
    display: block;
    margin-top: 4px;
    color: #ffffff;
    text-decoration: underline;
}

.login-contact-text a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .login-page-wrapper {
        padding: 16px 16px 32px 16px;
    }

    .login-page-wrapper .login-logo {
        max-width: 320px;
        margin-bottom: 20px;
    }

    .login-page-container {
        max-width: 100%;
        padding: 20px 16px 24px 16px;
    }

    .login-divider {
        margin: 20px -16px 20px -16px;
        width: calc(100% + 32px);
    }

    .login-page-desc .login-subheading {
        margin-bottom: 24px;
    }

    .login-page-container .login-button-panel {
        margin-bottom: 20px;
    }

    .login-error-box {
        width: 100%;
        margin-bottom: 20px;
    }

    .login-contact-text-wrap {
        width: 100%;
        max-width: 100%;
    }
}

:root {

    /* Colors */
    --background-color: #2a2a2a;
    --sidebar-background-color: #353535;
    --sidebar-active-bg: #3d3d3d;
    --card-background-color: #2a2a2a;
    --card-border-color: rgba(136, 136, 136, 0.5);
    --header-background-color: #2a2a2a;
    --color-rush-red: #d83329;
    --color-rush-green: #1f9f2b;
    --color-rush-yellow: #ffb114;
    --color-rush-blue: #0083cd;
    --color-rush-gray: #454545;
    --color-rush-transparent: rgba(0, 0, 0, 0);
    --color-rush-light-green: #79cf7f;
    --color-rush-light-gray: #a1a1a1;
    --color-rush-light-purple: #be91ff;
    --layout-default-background: #202020;
    --layout-accent-background: #2a2a2a;
    --input-placeholder-color: #bbbbbb;
    --input-foreground-color: #fff;
    --layout-border-color: #1b1b1b;
    --default-expander-icon-color: #dddddd;
    --folder-foreground-color: #eee;
    --asset-item-foreground-color: #eee;
    --asset-hover-bg-color: #454545;
    --asset-selected-bg-color: #454545;
    --modal-footer: #353535;
    --color-danger-icon: #fd5b51;
    --color-success-icon: #87ff8f;
    --default-border-color: #151515;
    --purple: #ff00ff;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #bbbbbb;
    --text-muted: #9a9a9a;
    --label-color: #a8a8a8;
    --neutral-gray: #888888;

    /* Brand Colors */
    --color-primary: #0078d4;
    --color-primary-hover: #106ebe;
    --color-success: #1f9f2b;
    --color-success-light: #4ade80;
    --color-warning: #ffb114;
    --color-danger: #d83329;
    --color-info: #0083cd;
    --color-purple: #BE91FF;
    --color-payment: #FDC3B9;
    --color-blue: #309DEC;

    /* Enterprise Badge */
    --enterprise-badge-bg: #d9ffd9;
    --enterprise-badge-text: #048510;

    /* Layout */
    --sidebar-width: 65px;
    --header-height: 60px;
    --content-padding: 32px;
    --card-padding: 24px;
    --card-radius: 8px;
    --border-radius: 4px;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;

    /* Font */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-md: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 28px;
    --font-size-3xl: 36px;

    /* Font Weights */
    --font-weight-normal: 450;
    --font-weight-medium: 550;

    /* Progress bar */
    --progress-bar-bg: #484848;
    --progress-bar-fill: #79cf7f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    width: 100%;
    margin: 0;
    overscroll-behavior: none;
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 400;
    color: var(--text-primary);
    background-color: var(--background-color);
}

#root {
    height: 100%;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    height: 8px;
    width: 8px;
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: #3d3d3d;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #4a4a4a;
}

/* Utility classes */
.hidden {
    display: none !important;
}

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

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

