.login-body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans, "Plus Jakarta Sans", "Segoe UI", sans-serif);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.login-body::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -250px;
    right: -250px;
    animation: float 20s infinite ease-in-out;
}

.login-body::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: -200px;
    left: -200px;
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(30px, 30px) rotate(180deg);
    }
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    width: 90%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.login-left {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.login-left::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
}

.login-brand {
    position: relative;
    z-index: 2;
    margin-bottom: 3rem;
}

.brand-logo {
    /* width: 80px;
    height: 80px; */
    background: rgba(255, 255, 255);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.brand-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

.login-brand h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.brand-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
}

.login-features {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
}

.feature-item i {
    font-size: 1.5rem;
    opacity: 0.9;
}

.login-right {
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.login-card {
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #64748b;
    font-size: 0.875rem;
}

.login-form {
    margin-bottom: 1rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.login-form .input-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

.login-form .input-wrapper > i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    z-index: 2;
    font-size: 0.95rem;
    width: 1rem;
    text-align: center;
    pointer-events: none;
}

/* Beat global .form-group input rules so icons don't overlap text */
.login-form .input-wrapper input,
.login-form .input-wrapper input:not([type="checkbox"]):not([type="radio"]) {
    box-sizing: border-box;
    width: 100%;
    min-height: 3rem;
    padding: 0.875rem 1rem 0.875rem 2.85rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.875rem;
    line-height: 1.25;
    transition: all 0.3s;
    background: #f8fafc;
    color: #1e293b;
}

.login-form .input-wrapper input[type="password"],
.login-form .input-wrapper input.has-toggle {
    padding-right: 3rem;
}

.login-form .input-wrapper input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.login-form .password-toggle {
    position: absolute;
    right: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    z-index: 2;
}

.login-form .password-toggle:hover {
    color: #667eea;
}

.login-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.login-btn:active {
    transform: translateY(0);
}

.login-divider {
    text-align: center;
    margin: 2.75rem 0 0;
    position: relative;
    color: #94a3b8;
    font-size: 0.875rem;
}

.login-divider::before,
.login-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #e2e8f0;
}

.login-divider::before {
    left: 0;
}

.login-divider::after {
    right: 0;
}

.login-footer {
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 2.75rem;
    padding-top: 0.25rem;
}

.login-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover {
    text-decoration: underline;
}

.login-footer .copyright {
    margin: 0;
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 968px) {
    .login-container {
        grid-template-columns: 1fr;
        width: 95%;
    }

    .login-left {
        display: none;
    }

    .login-right {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .login-card {
        max-width: 100%;
    }

    .login-header h2 {
        font-size: 1.5rem;
    }
}

