* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 10vw;
    overflow: hidden;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./小混沌.png') no-repeat center center/cover;
    z-index: -1;
    animation: breathBackground 25s ease-in-out infinite;
}

@keyframes breathBackground {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06) translate(-5px, -3px);
    }

    100% {
        transform: scale(1);
    }
}

/* 毛玻璃面板 */
.glass-panel {
    width: 400px;
    /* 稍微加宽一点，容纳更多内容 */
    padding: 35px 30px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    color: #333;
}

/* 标签切换 */
.tab-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding-bottom: 10px;
}

.tab {
    font-size: 18px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.45);
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    padding: 0 10px;
}

.tab:hover,
.tab.active {
    color: #333;
}

.tab.active::after {
    content: "";
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #87CEFA;
    border-radius: 3px;
}

/* 输入框样式 */
.input-group {
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.input-group input {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.06);
    color: #333;
    font-size: 15px;
    outline: none;
}

.input-group input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.input-group input:focus {
    background: rgba(0, 0, 0, 0.1);
}

/* 验证码特殊布局 */
.code-group {
    display: flex;
    gap: 10px;
}

.code-group input {
    flex: 1;
}

.send-btn {
    padding: 0 15px;
    border: none;
    border-radius: 12px;
    background: rgba(135, 206, 235, 0.7);
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.send-btn:hover {
    background: rgba(135, 206, 235, 0.9);
}

.send-btn:disabled {
    background: rgba(135, 206, 235, 0.35);
    color: rgba(255, 255, 255, 0.7);
    cursor: not-allowed;
}

/* 按钮 */
.submit-btn {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #87CEFA 0%, #AEC6CF 100%);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(135, 206, 235, 0.4);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(135, 206, 235, 0.6);
}

/* 跳过登录按钮 */
.skip-btn {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    border: 2px solid rgba(135, 206, 235, 0.6);
    border-radius: 12px;
    background: transparent;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.skip-btn:hover {
    border-color: #87CEFA;
    color: #333;
    background: rgba(135, 206, 235, 0.1);
    transform: translateY(-2px);
}