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

        :root {
        --primary: #2563eb;
        --primary-dark: #1d4ed8;
        --danger: #ef4444;
        --border-light: #e2e8f0;
        }

        body {
        background: #f4f6f9;
        font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
        }

        .login-wrapper {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #1e293b 0%, #2563eb 100%);
        padding: 1.5rem;
        }

        .login-card {
        max-width: 460px;
        width: 100%;
        background: white;
        border-radius: 1.5rem;
        box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.3);
        border: none;
        }

        .brand-icon {
        width: 70px;
        height: 70px;
        background: var(--primary);
        border-radius: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
        box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
        }

        .brand-icon i {
        font-size: 2rem;
        color: white;
        }

        h4 {
        font-weight: 800;
        letter-spacing: -0.3px;
        color: #0f172a;
        }

        /* Input group - unified border */
        .custom-input-group {
        display: flex;
        align-items: stretch;
        width: 100%;
        border: 1.5px solid var(--border-light);
        border-radius: 14px;
        background: #fff;
        transition: all 0.2s ease;
        }

        .custom-input-group:focus-within {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
        }

        /* Error state */
        .custom-input-group.error {
        border-color: var(--danger);
        }
        .custom-input-group.error:focus-within {
        border-color: var(--danger);
        box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
        }

        .input-icon-left {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 0 0 16px;
        color: #94a3b8;
        font-size: 1rem;
        background: transparent;
        }

        .custom-input {
        flex: 1;
        border: none;
        outline: none;
        padding: 0.8rem 0.75rem;
        font-size: 0.95rem;
        background: transparent;
        color: #1e293b;
        width: 100%;
        }

        .custom-input::placeholder {
        color: #cbd5e1;
        font-weight: 400;
        }

        /* Right eye toggle – keeps left border */
        .input-icon-right {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 16px;
        background: transparent;
        border-left: 1px solid var(--border-light);
        cursor: pointer;
        color: #64748b;
        transition: color 0.2s;
        }

        .input-icon-right:hover {
        color: var(--primary);
        }

        /* Error message */
        .error-message {
        font-size: 0.75rem;
        color: var(--danger);
        margin-top: 0.4rem;
        display: none;
        font-weight: 500;
        }
        .error-message.show {
        display: block;
        }

        .form-label-custom {
        font-weight: 600;
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
        display: block;
        color: #1e293b;
        }

        .form-label-custom.required:after {
        content: " *";
        color: var(--danger);
        }

        /* Sign in button */
        .btn-login {
        background: var(--primary);
        border: none;
        padding: 0.8rem;
        font-weight: 600;
        border-radius: 40px;
        width: 100%;
        color: white;
        font-size: 0.95rem;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 0.5rem;
        }

        .btn-login:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 18px -6px rgba(37, 99, 235, 0.5);
        }

        .btn-login:disabled {
        opacity: 0.7;
        pointer-events: none;
        }

        .spinner-border-sm {
        width: 1rem;
        height: 1rem;
        border-width: 2px;
        display: none;
        }

        .forgot-link {
        color: var(--primary);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.85rem;
        }
        .forgot-link:hover {
        text-decoration: underline;
        }

        @media (max-width: 520px) {
        .login-card {
            margin: 0 1rem;
        }
        .card-body {
            padding: 1.75rem !important;
        }
        }

