/* 
 * Login Page Specific Styles
 * 登录页面专用样式
 */

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 450px;
    padding: 50px 40px;
}

.system-title {
    color: var(--primary-blue);
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 50px;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.login-form {
    margin-top: 30px;
}

.forgot-password {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9em;
}

.forgot-password a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.forgot-password a:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

.register-link {
    text-align: center;
    margin-top: 25px;
    color: var(--text-gray);
    font-size: 0.95em;
}

.register-link a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.register-link a:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .login-card {
        padding: 40px 30px;
    }
    
    .system-title {
        font-size: 1.5em;
        margin-bottom: 40px;
    }
}

/* Toast通知样式 */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    max-width: 400px;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.hide {
    opacity: 0;
    transform: translateX(400px);
}

.toast-icon {
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.toast-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-dark);
}

.toast-success {
    border-left: 4px solid #22c55e;
}

.toast-success .toast-icon {
    color: #22c55e;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-error .toast-icon {
    color: #ef4444;
}

.toast-info {
    border-left: 4px solid var(--primary-blue);
}

.toast-info .toast-icon {
    color: var(--primary-blue);
}

/* 移动端适配 */
@media (max-width: 480px) {
    .toast-container {
        left: 10px;
        right: 10px;
        top: 10px;
    }
    
    .toast {
        min-width: auto;
        max-width: none;
    }
}

