

.login-container,
.login-container *,
.login-container *::before,
.login-container *::after {
    box-sizing: border-box;
}

.login-container {
    max-width: 900px;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .login-container {
        flex-direction: row;
        min-height: 550px;
    }
}

.login-left {
    width: 100%;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .login-left {
        width: 45%;
    }
}


.login-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 30px 30px;
}

.login-right {
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .login-right {
        width: 55%;
        padding: 2.5rem;
    }
}

.login-logo {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.15);
}

.login-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.login-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.login-welcome-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.login-welcome-text {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.login-alert {
    background: #fee2e2;
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    border: 1px solid #fecaca;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-alert i {
    flex-shrink: 0;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.login-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.login-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.login-input-icon {
    position: absolute;
    left: 0;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 0.875rem;
    color: #9ca3af;
    pointer-events: none;
}

.login-input {
    width: 100%;
    height: 48px;
    padding: 0 1rem 0 2.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-family: inherit;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-input::placeholder {
    color: #9ca3af;
}

.login-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.login-remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.login-checkbox {
    display: flex;
    align-items: center;
    color: #4b5563;
    cursor: pointer;
    gap: 0.5rem;
}

.login-checkbox input {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    cursor: pointer;
    accent-color: #2563eb;
}

.login-forgot {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.login-forgot:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.login-button {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    margin-top: 0.5rem;
}

.login-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.login-button:active {
    transform: translateY(0);
}

.login-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.75rem;
    color: #9ca3af;
}

.login-quote {
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    border-left: 4px solid rgba(147, 197, 253, 0.5);
    padding-left: 1rem;
    display: none;
    margin: 0;
}

@media (min-width: 768px) {
    .login-quote {
        display: block;
    }
}


.login-button:disabled {
    background: #93c5fd;
    cursor: not-allowed;
    transform: none;
}


.login-password-toggle {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.2s;
}

.login-password-toggle:hover {
    color: #4b5563;
}