.login-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(77, 127, 255, 0.2);
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.login-box h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
}

.login-box h2::after {
    content: 'Login';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    color: #5A6DB3;
    opacity: 0.8;
}

.login-form-group {
    margin-bottom: 20px;
}

.login-form-group label {
    color: #b3b3b3;
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.login-form-group input {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-form-group input:focus {
    border-color: #5A6DB3;
    outline: none;
    box-shadow: 0 0 0 2px rgba(77, 127, 255, 0.2);
}

.login-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.login-remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b3b3b3;
    cursor: pointer;
}

.login-remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #5A6DB3;
}

.login-forgot-password {
    color: #5A6DB3;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.login-forgot-password:hover {
    color: #ff3333;
}

.login-button {
    width: 100%;
    padding: 14px;
    background: #5A6DB3;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.login-button:hover {
    background: #ff3333;
    transform: translateY(-2px);
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    color: #b3b3b3;
}

.login-footer a {
    color: #5A6DB3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: #ff3333;
}

.login-password-input {
    position: relative;
}

.login-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #b3b3b3;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.login-toggle-password:hover {
    color: #5A6DB3;
}

.login-toggle-password i {
    font-size: 1.2rem;
}

/* Welcome styles */
.login-welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.login-welcome-content {
    text-align: center;
    color: #fff;
    animation: scaleIn 0.5s ease;
}

.login-welcome-icon {
    font-size: 4rem;
    color: #5A6DB3;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.login-welcome-text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 0;
    animation: slideUp 0.5s ease 0.5s forwards;
}

.login-username-animation {
    font-size: 1.8rem;
    color: #5A6DB3;
    opacity: 0;
    animation: slideUp 0.5s ease 1s forwards;
}

/* Error notification styles */
.login-error-notification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
}

.login-error-icon {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    color: #5A6DB3;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-error-message {
    text-align: center;
    color: #fff;
    padding: 40px;
    max-width: 500px;
    background: rgba(20, 20, 20, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(77, 127, 255, 0.2);
}

.login-error-text {
    color: #fff;
    font-size: 0.9rem;
    margin-top: 6px;
}

.login-error-hint {
    color: #666;
    font-size: 0.8rem;
    margin-top: 15px;
}

/* Animations */
@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .login-box {
        padding: 30px 20px;
    }
}