.crm-auth-page {
    min-height: 100vh;
    background: #f4f5f7;
    color: #0f172a;
    display: grid;
    place-items: center;
    padding: 24px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.crm-auth-panel {
    width: min(100%, 440px);
    background: #ffffff;
    border: 1px solid #d9dee8;
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.crm-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    text-decoration: none;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 28px;
}

.crm-auth-logo {
    width: 30px;
    height: 24px;
    display: inline-grid;
    grid-template-columns: repeat(2, 12px);
    grid-template-rows: repeat(2, 12px);
    gap: 1px;
    transform: rotate(45deg);
}

.crm-auth-logo span {
    display: block;
    border-radius: 2px;
}

.crm-auth-logo span:nth-child(1) {
    background: #0b8fe8;
}

.crm-auth-logo span:nth-child(2) {
    background: #0f67a6;
}

.crm-auth-logo span:nth-child(3) {
    background: #67b7ee;
}

.crm-auth-heading {
    margin-bottom: 22px;
}

.crm-auth-heading p {
    margin: 0 0 8px;
    color: #0b8fe8;
    font-weight: 700;
}

.crm-auth-heading h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
}

.crm-auth-heading span,
.crm-auth-note {
    display: block;
    margin-top: 10px;
    color: #64748b;
    line-height: 1.5;
}

.crm-auth-alert {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 8px;
    padding: 11px 12px;
    margin-bottom: 16px;
    font-weight: 600;
}

.crm-auth-form {
    display: grid;
    gap: 15px;
}

.crm-auth-field {
    display: grid;
    gap: 7px;
}

.crm-auth-field span {
    color: #334155;
    font-weight: 700;
}

.crm-auth-field input {
    width: 100%;
    height: 44px;
    border: 1px solid #d9dee8;
    border-radius: 7px;
    color: #0f172a;
    outline: 0;
    padding: 0 12px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.crm-auth-field input:focus {
    border-color: #0b8fe8;
    box-shadow: 0 0 0 3px rgba(11, 143, 232, 0.14);
}

.crm-auth-button {
    height: 44px;
    border: 1px solid #0b8fe8;
    border-radius: 7px;
    background: #0b8fe8;
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.crm-auth-button:hover {
    background: #087fd0;
    border-color: #087fd0;
    transform: translateY(-1px);
}

.crm-auth-note {
    margin-bottom: 0;
    font-size: 13px;
}

@media (max-width: 520px) {
    .crm-auth-page {
        padding: 14px;
    }

    .crm-auth-panel {
        padding: 22px;
    }
}
        /* 1. FULL-SCREEN BACKGROUND */
        .glass-bg-wrapper {
            background: #0f172a url('../images/bg-login.jpg') center/cover no-repeat;
        }

/* 2. CURSOR BLOB */
#cursor-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0.5) 80%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    transition: top 0.15s ease-out, left 0.15s ease-out;
}

/* 3. THE GLASSMORPHISM LOGIN CARD */
.glass-card {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 3rem;
}

/* 4. TYPOGRAPHY, INPUTS & BUTTONS */
.glass-input {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.1) !important;
}

.glass-btn {
    background: #1C1C1E; /* Custom charcoal */
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}

.glass-btn:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #fff;
}

.hover-white:hover {
    color: #fff !important;
}

.transition-all {
    transition: all 0.3s ease;
}

.crm-logo-img {
    max-height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
/* EMPLOYEE LOGIN BACKGROUND */
.glass-bg-wrapper-employee {
    background: #0f172a url('../images/bg-employee-login.jpg') center/cover no-repeat;
}
