/* Login Page Specific Styles */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(174, 62, 201, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(217, 70, 239, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-2%) translateY(-1%); }
    50% { transform: translateX(1%) translateY(-2%); }
    75% { transform: translateX(-1%) translateY(1%); }
}

.login-container {
    position: relative;
    z-index: 10;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 420px;
    margin: 20px;
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #ae3ec9, #d946ef);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 32px rgba(174, 62, 201, 0.4);
}

.login-logo svg {
    width: 32px;
    height: 32px;
    color: white;
}

.login-title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin: 0 0 var(--space-sm) 0;
}

.login-subtitle {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin: 0;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-page .form-group {
    position: relative;
}

.login-page .form-label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
}

.login-page .form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    height: 48px;
    line-height: 24px;
}

.login-page .form-input:focus {
    outline: none;
    border-color: #ae3ec9;
    box-shadow: 0 0 0 3px rgba(174, 62, 201, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.login-page .form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.login-page .password-wrapper {
    position: relative;
}

.login-page .password-wrapper .form-input {
    padding-right: 48px;
}

.login-page .password-toggle {
    position: absolute;
    right: 16px;
    top: calc(8px + 21px + 24px);
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 0;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    z-index: 10;
    margin: 0;
    line-height: 1;
}

.login-page .password-toggle:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.login-page .password-toggle svg {
    width: 18px;
    height: 18px;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

.login-page .remember-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.login-page .remember-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.login-page .remember-label {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    cursor: pointer;
    user-select: none;
}

.login-button {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #ae3ec9, #d946ef);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 8px;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(174, 62, 201, 0.4);
}

.login-button:active {
    transform: translateY(0);
}

.login-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.login-button:hover::before {
    left: 100%;
}

.login-page .flash-message {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    font-size: var(--font-size-sm);
    font-weight: var(--font-medium);
    animation: slideInDown 0.5s ease-out;
}

.login-page .flash-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.login-page .flash-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.login-page .flash-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating particles */
.login-page .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.login-page .particle {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.3;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .login-container {
        margin: var(--space-md);
        padding: var(--space-xl);
    }
    
    .login-title {
        font-size: var(--font-size-xl);
    }
}

