/* Login Styles */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.login-container {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    padding: 32px;
    border-bottom: 1px solid #333;
    background: #1e1e1e;
    border-radius: 12px 12px 0 0;
}

.login-header h1 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    font-weight: 500;
}

.login-form {
    padding: 32px;
}

.login-error {
    background: #3d1f1f;
    border: 1px solid #5d2f2f;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ff6b6b;
    font-size: 14px;
    animation: shake 0.4s ease-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-8px);
    }

    75% {
        transform: translateX(8px);
    }
}

.login-error svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.login-field {
    margin-bottom: 24px;
}

.login-field label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #cccccc;
    font-size: 14px;
    font-weight: 500;
}

.login-field label svg {
    width: 18px;
    height: 18px;
    fill: #888;
}

.login-field input {
    width: 100%;
    padding: 12px 16px;
    background: #252525;
    border: 1px solid #333;
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.2s;
    box-sizing: border-box;
}

.login-field input::placeholder {
    color: #666;
}

.login-field input:focus {
    outline: none;
    border-color: #5dade2;
    background: #2a2a2a;
}

.login-field input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.login-btn {
    width: 100%;
    padding: 14px 24px;
    background: #2d2d2d;
    border: 1px solid #444;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 32px;
}

.login-btn:hover:not(:disabled) {
    background: #3d3d3d;
    border-color: #555;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.login-btn:active:not(:disabled) {
    transform: translateY(0);
}

.login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 480px) {
    .login-container {
        width: 95%;
        margin: 0 auto;
    }

    .login-header {
        padding: 24px;
    }

    .login-form {
        padding: 24px;
    }
}