/* Login Page Styles */

.login-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    position: relative;
}

.login-card {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.login-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 50px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 36px;
}

.login-header h1 {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.login-header p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* Input Styles */
.login-input :deep(.el-input__wrapper) {
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    padding: 12px 16px;
}

.login-input :deep(.el-input__wrapper):hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.login-input :deep(.el-input__wrapper.is-focus) {
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25);
    border-color: #667eea;
}

.login-input :deep(.el-input__prefix) {
    color: #667eea;
    font-size: 16px;
    margin-right: 10px;
}

.login-input :deep(.el-input__inner) {
    font-size: 15px;
}

.login-input :deep(.el-input__inner::placeholder) {
    color: #999;
}

/* Button Styles */
.login-button {
    width: 100%;
    height: 48px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5568d3 0%, #6a4190 100%);
}

.login-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.login-footer {
    text-align: center;
    margin-top: 24px;
}

.register-link {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.register-link i {
    font-size: 13px;
}

.register-link:hover {
    color: #764ba2;
    text-decoration: none;
    transform: translateX(2px);
}

.register-link:hover span {
    text-decoration: underline;
}

/* Form Item Spacing */
.el-form-item {
    margin-bottom: 24px;
}

.el-form-item:last-of-type {
    margin-bottom: 0;
}

/* Loading Spinner */
.login-loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 40px 0;
}

.spinner-container {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 16px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-text {
    color: #666;
    font-size: 14px;
    margin: 0;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .login-card {
        padding: 36px 24px;
        max-width: 100%;
    }
    
    .login-header h1 {
        font-size: 28px;
    }
    
    .login-container {
        padding: 20px 16px;
    }
}

