/* =====================================================
   API Shanhe Cloud - 科技感登录页面样式 - 左右布局
   ===================================================== */

:root {
    --primary-blue: #2196F3;
    --primary-cyan: #00BCD4;
    --primary-orange: #ff6b35;
    --tech-dark: #0a0e27;
    --tech-purple: #1a1f3a;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--tech-dark);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ========== 登录容器 - 左右布局 ========== */

.tech-login-container {
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 3fr 2fr;
    background: var(--tech-dark);
    position: relative;
}

/* 添加柔和的分界线效果 */
.tech-login-container::before {
    content: '';
    position: absolute;
    left: 60%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(33, 150, 243, 0.2) 20%,
        rgba(0, 188, 212, 0.3) 50%,
        rgba(33, 150, 243, 0.2) 80%,
        transparent 100%
    );
    z-index: 10;
    pointer-events: none;
}

/* ========== 左侧动画区 ========== */

.tech-login-left {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(0, 188, 212, 0.1) 100%);
}

/* 背景网格 - 六边形样式 */
.tech-login-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(33, 150, 243, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(33, 150, 243, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    animation: gridFloat 30s linear infinite;
}

/* 多边形背景装饰 */
.tech-login-polygons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.tech-polygon {
    position: absolute;
    border: 2px solid rgba(33, 150, 243, 0.2);
    opacity: 0.6;
    animation: polygonRotate 20s linear infinite;
}

.tech-polygon-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation-duration: 25s;
}

.tech-polygon-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    right: 15%;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation-duration: 20s;
    animation-direction: reverse;
}

.tech-polygon-3 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 20%;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation-duration: 15s;
}

.tech-polygon-4 {
    width: 100px;
    height: 100px;
    top: 20%;
    right: 30%;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation-duration: 30s;
    animation-direction: reverse;
}

@keyframes polygonRotate {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: rotate(360deg) scale(1.1);
        opacity: 0.3;
    }
}

/* 粒子容器 */
.tech-login-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.tech-login-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, var(--primary-cyan) 0%, transparent 70%);
    border-radius: 0;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: particleFloat 15s ease-in-out infinite;
}

.tech-login-particle:nth-child(3n+1) {
    background: radial-gradient(circle, var(--primary-orange) 0%, transparent 70%);
    animation-duration: 12s;
}

.tech-login-particle:nth-child(3n+2) {
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    animation-duration: 18s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(80vh) translateX(20px) rotate(45deg) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateY(40vh) translateX(-20px) rotate(90deg) scale(1.2);
    }
    90% {
        opacity: 0.3;
        transform: translateY(10vh) translateX(10px) rotate(135deg) scale(0.8);
    }
}

/* 3D旋转八面体 */
.tech-cube-container {
    position: relative;
    width: 200px;
    height: 200px;
    perspective: 1000px;
    z-index: 1;
}

.tech-cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: cubeRotate 20s linear infinite;
}

@keyframes cubeRotate {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

.tech-cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(33, 150, 243, 0.6);
    background: rgba(33, 150, 243, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-cyan);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.tech-cube-face:nth-child(1) { transform: rotateY(0deg) translateZ(100px); }
.tech-cube-face:nth-child(2) { transform: rotateY(90deg) translateZ(100px); }
.tech-cube-face:nth-child(3) { transform: rotateY(180deg) translateZ(100px); }
.tech-cube-face:nth-child(4) { transform: rotateY(-90deg) translateZ(100px); }
.tech-cube-face:nth-child(5) { transform: rotateX(90deg) translateZ(100px); }
.tech-cube-face:nth-child(6) { transform: rotateX(-90deg) translateZ(100px); }
.tech-cube-face:nth-child(7) {
    transform: rotateY(45deg) rotateX(45deg) translateZ(70px);
    background: rgba(0, 188, 212, 0.2);
    border-color: rgba(0, 188, 212, 0.6);
}
.tech-cube-face:nth-child(8) {
    transform: rotateY(-45deg) rotateX(-45deg) translateZ(70px);
    background: rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.6);
}

/* 环绕的多边形 */
.tech-rotating-text {
    position: absolute;
    width: 350px;
    height: 350px;
    animation: textRotate 30s linear infinite;
    z-index: 1;
}

@keyframes textRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.tech-rotating-text span {
    position: absolute;
    left: 50%;
    top: 0;
    transform-origin: 0 175px;
    font-size: 1rem;
    font-weight: 700;
    color: rgba(33, 150, 243, 0.6);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(33, 150, 243, 0.5);
}

/* 脉冲多边形 */
.tech-pulse-rings {
    position: absolute;
    width: 400px;
    height: 400px;
    z-index: 0;
}

.tech-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(33, 150, 243, 0.4);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: pulseExpand 4s ease-out infinite;
}

.tech-pulse-ring:nth-child(2) {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation-delay: 1.3s;
}

.tech-pulse-ring:nth-child(3) {
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation-delay: 2.6s;
}

@keyframes pulseExpand {
    0% {
        width: 100px;
        height: 100px;
        opacity: 1;
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
        transform: translate(-50%, -50%) rotate(180deg);
    }
}

/* 扫描线效果 */
.tech-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 255, 255, 0.5) 50%,
        transparent 100%
    );
    animation: scanMove 4s linear infinite;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
    z-index: 2;
}

@keyframes scanMove {
    0% {
        top: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* 数据流线条 */
.tech-data-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.tech-data-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--primary-cyan) 20%,
        var(--primary-cyan) 50%,
        var(--primary-blue) 80%,
        transparent 100%
    );
    animation: dataLineMove 3s linear infinite;
    opacity: 0.6;
}

@keyframes dataLineMove {
    0% {
        transform: translateX(calc(-100vw - 300px));
        opacity: 0;
    }
    5% {
        opacity: 0.6;
    }
    95% {
        opacity: 0.6;
    }
    100% {
        transform: translateX(100vw);
        opacity: 0;
    }
}

/* ========== 右侧登录表单 ========== */

.tech-login-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: var(--tech-dark);
    position: relative;
}

/* 右侧表单区域的柔和光晕效果 */
.tech-login-right::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(
        to right,
        rgba(33, 150, 243, 0.05) 0%,
        transparent 100%
    );
    pointer-events: none;
}

.tech-login-card {
    width: 100%;
    max-width: 520px;
    background: rgba(26, 31, 58, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: cardSlideIn 0.6s ease;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.tech-login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.tech-login-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 8px 30px rgba(33, 150, 243, 0.4);
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.tech-login-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-login-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

/* 表单样式 */
.tech-login-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tech-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tech-form-label {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.3px;
}

.tech-form-label i {
    color: var(--primary-cyan);
    font-size: 1.1rem;
}

.tech-form-input {
    width: 100%;
    padding: 1.1rem 1.4rem;
    background: var(--glass-bg);
    border: 1.5px solid var(--glass-border);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1.1rem;
    transition: all 0.3s;
    outline: none;
    font-weight: 400;
}

.tech-form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.05rem;
}

.tech-form-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.15);
    background: rgba(255, 255, 255, 0.1);
}

/* 验证码输入组 */
.tech-code-group {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.tech-code-group .tech-form-input {
    flex: 1;
}

.tech-send-code-btn {
    padding: 0 1.75rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-send-code-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.tech-send-code-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========== 紧凑型表单（手机号登录、找回密码） ========== */
.tech-login-form--compact {
    gap: 1.5rem;
}

.tech-login-form--compact .tech-form-label {
    font-size: 0.95rem;
}

.tech-login-form--compact .tech-form-label i {
    font-size: 1rem;
}

.tech-login-form--compact .tech-form-input {
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
}

.tech-login-form--compact .tech-form-input::placeholder {
    font-size: 0.95rem;
}

.tech-login-form--compact .tech-send-code-btn {
    padding: 0 1.2rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.tech-login-form--compact .tech-password-toggle {
    width: 2.75rem;
}

.tech-login-form--compact .tech-reset-type-selector {
    margin-bottom: 1.5rem;
}

.tech-login-form--compact .tech-reset-type-btn {
    padding: 0.75rem 0.875rem;
    font-size: 0.9rem;
    min-height: 40px;
}

.tech-login-form--compact .tech-reset-type-btn i {
    font-size: 1rem;
}

/* 登录按钮 */
.tech-login-btn {
    width: 100%;
    padding: 1.15rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tech-login-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.5);
}

.tech-login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* 提示文字 */
.tech-login-tip {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tech-login-tip i {
    color: var(--primary-cyan);
}

/* 返回链接 */
.tech-back-link {
    text-align: center;
    margin-top: 2rem;
}

.tech-back-link a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.tech-back-link a:hover {
    color: var(--primary-cyan);
}

/* Toast 通知 */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    animation: toastSlideIn 0.3s ease;
}

.toast.success {
    border-color: rgba(16, 185, 129, 0.5);
}

.toast.success i {
    color: #10B981;
}

.toast.error {
    border-color: rgba(239, 68, 68, 0.5);
}

.toast.error i {
    color: #ef4444;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.hide {
    animation: toastSlideOut 0.3s ease forwards;
}

@keyframes toastSlideOut {
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* 加载动画 */
.tech-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========== 响应式 ========== */

@media (max-width: 1200px) {
    .tech-login-container {
        grid-template-columns: 1fr 1fr;
    }

    .tech-login-container::before {
        left: 50%;
    }
}

@media (max-width: 1024px) {
    .tech-login-container {
        grid-template-columns: 1fr;
    }

    .tech-login-left {
        display: none;
    }

    .tech-login-container::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .tech-login-card {
        margin: 1rem;
        padding: 2rem;
    }

    .tech-login-title {
        font-size: 1.75rem;
    }

    .tech-code-group {
        flex-direction: column;
    }

    .tech-send-code-btn {
        width: 100%;
        padding: 1rem;
    }
}

/* ========== Tab 切换器样式 ========== */
.tech-login-tabs {
    position: relative;
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: var(--glass-bg);
    padding: 0.3rem;
    border-radius: 12px;
    border: 1.5px solid var(--glass-border);
}

.tech-tab-btn {
    flex: 1;
    padding: 0.9rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.tech-tab-btn i {
    font-size: 1.2rem;
    transition: color 0.3s;
}

.tech-tab-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.tech-tab-btn.active {
    color: #ffffff;
}

/* 滑动指示器 */
.tech-tab-indicator {
    position: absolute;
    top: 0.3rem;
    left: 0.3rem;
    width: calc(33.33% - 0.5rem);
    height: calc(100% - 0.6rem);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
    border-radius: 10px;
    transition: transform 0.3s ease-out;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
    z-index: 1;
}

.tech-tab-indicator.email-mode {
    transform: translateX(100%);
}

.tech-tab-indicator.password-mode {
    transform: translateX(200%);
}

/* ========== 表单切换动画 ========== */
.tech-login-form {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.3s ease-out;
}

.tech-login-form.tech-form-active {
    display: flex;
    animation: formSlideIn 0.3s ease-out forwards;
}

.tech-login-form.tech-form-hidden {
    animation: formSlideOut 0.3s ease-out forwards;
}

@keyframes formSlideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes formSlideOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-30px); }
}

/* ========== 密码输入组 ========== */
.tech-password-group {
    position: relative;
    display: flex;
    align-items: stretch;
}

.tech-password-group .tech-form-input {
    padding-right: 3.5rem;
}

.tech-password-toggle {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-password-toggle:hover {
    color: var(--primary-cyan);
}

/* ========== 密码强度指示器 ========== */
.tech-password-strength {
    margin-top: 0.5rem;
}

.tech-strength-bar {
    height: 4px;
    background: var(--glass-bg);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.tech-strength-bar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #10b981 100%);
    transition: width 0.3s;
}

.tech-strength-text {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ========== 表单提示 ========== */
.tech-form-hint {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.85rem;
    min-height: 1.2em;
    transition: color 0.3s;
}

.tech-form-hint.error { color: #ef4444; }
.tech-form-hint.success { color: #10b981; }
.tech-form-hint.info { color: var(--primary-cyan); }

/* ========== 表单底部链接 ========== */
.tech-form-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.tech-link {
    color: var(--primary-cyan);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.tech-link:hover {
    color: var(--primary-blue);
    transform: translateX(3px);
}

/* ========== 响应式适配 - Tab切换 ========== */
@media (max-width: 768px) {
    .tech-login-tabs {
        margin-bottom: 1.5rem;
    }

    .tech-tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        gap: 0.3rem;
    }

    .tech-tab-btn i {
        font-size: 1rem;
    }
}

/* ========== 找回密码表单样式 ========== */
.tech-reset-type-selector {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    background: var(--glass-bg);
    padding: 0.375rem;
    border-radius: 12px;
    border: 1.5px solid var(--glass-border);
}

.tech-reset-type-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
}

.tech-reset-type-btn:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.tech-reset-type-btn.active {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.tech-reset-type-btn i {
    font-size: 1.125rem;
}

.tech-reset-fields {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
