:root {
    --primary-color: #090b0c;
    --primary-hover: #090b0c;
    --primary-light: #e0e7ff;
    --bg-gradient-start: #f8fafc;
    --bg-gradient-end: #e2e8f0;
    --card-border-radius: 16px;
}

body {
    background: radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.05) 0%, transparent 40%), radial-gradient(circle at 90% 80%, rgba(79, 70, 229, 0.03) 0%, transparent 45%), linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
}

/* Core Auth Card */
.auth-card {
    background-color: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--card-border-radius);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 460px;
    padding: 40px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 576px) {
    .auth-card {
        padding: 24px;
    }
}

/* Input Field Highlights */
.form-control {
    border: 1px solid #cbd5e1;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    .form-control:focus {
        border-color: #a5b4fc;
        outline: 0;
        box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.15);
    }

/* Password Input Visual Fixes */
.input-group-text {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-left: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    color: #64748b;
    transition: color 0.15s ease;
}

    .input-group-text:hover {
        color: var(--primary-color);
    }

.input-group .form-control {
    border-right: none;
    border-radius: 8px 0 0 8px;
}

/* Okta SSO Button styling */
.btn-okta {
    background-color: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 16px;
    border-radius: 8px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
}

    .btn-okta:hover {
        background-color: #f8fafc;
        border-color: #007dc1; /* Okta Official Identity Accent Color */
        color: #007dc1;
        box-shadow: 0 4px 6px -1px rgba(0, 125, 193, 0.1);
    }

/* OR Divider lines */
.divider-container {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
}

    .divider-container::before,
    .divider-container::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #e2e8f0;
    }

    .divider-container:not(:empty)::before {
        margin-right: .75em;
    }

    .divider-container:not(:empty)::after {
        margin-left: .75em;
    }

.divider-text {
    font-size: 0.78rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

/* Branding Circle container */
.brand-logo-container {
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

/* Fullscreen Simulation Loading Overlay */
.sso-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.95);
    z-index: 2000;
    display: flex;
    flex-column: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

    .sso-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

/* Toast Notification */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2050;
}
