/* Specific styles for the login page */

.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* Background floating orbs */
.login-body::before, .login-body::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    z-index: 1;
    filter: blur(80px);
}

.login-body::before {
    background: rgba(59, 130, 246, 0.15); /* Blue */
    top: 20%;
    left: 20%;
    animation: drift1 10s infinite alternate cubic-bezier(0.5, 0, 0.5, 1);
}

.login-body::after {
    background: rgba(139, 92, 246, 0.15); /* Purple */
    bottom: 20%;
    right: 20%;
    animation: drift2 12s infinite alternate cubic-bezier(0.5, 0, 0.5, 1);
}

@keyframes drift1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

@keyframes drift2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, -50px) scale(1.1); }
}

.login-container {
    padding: 40px;
    text-align: center;
    animation: slideUpFadeIn 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

.login-header {
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary-text), #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-header p {
    color: var(--secondary-text);
    font-size: 0.95rem;
}

.login-form {
    text-align: left;
}

.form-actions {
    margin-top: 30px;
}

.login-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
}

.login-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.login-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.2);
}
