/* Login Page Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 500px;
    min-width: 500px;
}

.login-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.login-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 40px 30px 30px;
}

.logo-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.app-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.app-subtitle {
    font-size: 14px;
    opacity: 0.8;
    font-weight: 300;
    margin-bottom: 8px;
}

.app-description {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.5px;
}

.login-body {
    padding: 40px 30px;
}

.signup-footer-link {
    text-align: center;
    margin-top: 8px;
    font-size: 13px;
}

.signup-footer-link a {
    color: #667eea;
    text-decoration: none;
}

.signup-footer-link a:hover {
    text-decoration: underline;
}

.form-item {
    margin-bottom: 24px;
}

.form-item-label {
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 8px;
}

.form-input {
    height: 45px;
    border-radius: 8px;
    border: 1px solid #d9d9d9;
    padding: 0 16px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-input:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
    outline: none;
}

.input-affix-wrapper {
    height: 48px;
    border-radius: 8px;
    border: 1px solid #d9d9d9;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.input-affix-wrapper:focus-within {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.input-affix-wrapper.focused {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.input-prefix {
    color: rgba(0, 0, 0, 0.45);
    margin-right: 12px;
    margin-left: 12px;
}

.input-affix-wrapper .form-input {
    border: none;
    box-shadow: none;
    flex: 1;
}

.btn {
    height: 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn i {
    margin-right: 8px;
}

.demo-info {
    background: #f0f9ff;
    border: 1px solid #bae7ff;
    border-radius: 8px;
    padding: 16px;
    margin-top: 24px;
    text-align: center;
}

.demo-info-title {
    color: #1890ff;
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-info-title i {
    margin-right: 8px;
}

.demo-info-content {
    color: rgba(0, 0, 0, 0.65);
    font-size: 14px;
}

.loading-spinner {
    display: none;
    margin-right: 8px;
}

.loading .loading-spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-message {
    background: #fff2f0;
    border: 1px solid #ffccc7;
    color: #ff4d4f;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: none;
}

.error-message i {
    margin-right: 8px;
}

.success-message {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #52c41a;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: none;
}

.success-message i {
    margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 480px) {
    .login-container {
        padding: 0 16px;
    }
    
    .login-body {
        padding: 30px 24px;
    }
    
    .login-header {
        padding: 30px 24px 24px;
    }
    
    .app-title {
        font-size: 28px;
    }
}
