.login-container {
    max-width: 100%;
    margin: 0 auto;
    padding-top: 40px;
    overflow-x: hidden;
}

.welcome-section {
    text-align: center;
    margin-bottom: 40px;
}

.welcome-section h1 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.welcome-section p {
    font-size: 16px;
    color: #64748b;
}

.login-form {
    margin-bottom: 32px;
}

.form-options {
    margin: 24px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.auth-link {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.auth-link p {
    color: #64748b;
    font-size: 14px;
}

.auth-link a {
    font-weight: 600;
}

/* Input animations */
.form-group input {
    position: relative;
}

.form-group input:focus {
    transform: translateY(-1px);
}

/* Form validation styles */
.form-group input:invalid {
    border-color: #ef4444;
}

.form-group input:valid {
    border-color: #22c55e;
}

/* Loading state */
.btn-primary.loading {
    position: relative;
    color: transparent;
}

.btn-primary.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}