/* 登录页面样式 */

.tl-mt-login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.tl-mt-login-bg-decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.tl-mt-login-bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    background: #38bdf8;
}

.tl-mt-login-bg-circle:nth-child(1) {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
}

.tl-mt-login-bg-circle:nth-child(2) {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -80px;
}

.tl-mt-login-bg-circle:nth-child(3) {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.03;
}

.tl-mt-login-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 48px 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
    animation: tl-mt-login-fadeIn 0.5s ease-out;
}

@keyframes tl-mt-login-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tl-mt-login-header {
    text-align: center;
    margin-bottom: 36px;
}

.tl-mt-login-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    margin-bottom: 20px;
}

.tl-mt-login-logo .material-symbols-outlined {
    font-size: 32px;
    color: #ffffff;
}

.tl-mt-login-title {
    font-size: 24px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.tl-mt-login-subtitle {
    font-size: 14px;
    color: #94a3b8;
}

.tl-mt-login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tl-mt-login-field {
    position: relative;
}

.tl-mt-login-field-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 8px;
}

.tl-mt-login-field-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.tl-mt-login-field-icon {
    position: absolute;
    left: 14px;
    color: #64748b;
    font-size: 20px;
    pointer-events: none;
    transition: color 0.2s;
}

.tl-mt-login-field-input {
    width: 100%;
    padding: 12px 14px 12px 44px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 15px;
    color: #f1f5f9;
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
}

.tl-mt-login-field-input::placeholder {
    color: #475569;
}

.tl-mt-login-field-input:focus {
    border-color: #38bdf8;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.tl-mt-login-field-input:focus + .tl-mt-login-field-icon,
.tl-mt-login-field-input:focus ~ .tl-mt-login-field-icon {
    color: #38bdf8;
}

.tl-mt-login-field-input-wrapper:focus-within .tl-mt-login-field-icon {
    color: #38bdf8;
}

.tl-mt-login-error {
    text-align: center;
    color: #f87171;
    font-size: 13px;
    min-height: 20px;
    animation: tl-mt-login-shake 0.4s ease;
}

@keyframes tl-mt-login-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.tl-mt-login-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    letter-spacing: 0.02em;
}

.tl-mt-login-submit:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.3);
}

.tl-mt-login-submit:active {
    transform: translateY(0);
}

.tl-mt-login-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.tl-mt-login-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 12px;
    color: #475569;
}

@media (max-width: 480px) {
    .tl-mt-login-card {
        margin: 16px;
        padding: 36px 24px;
    }
}
