/* 外层容器 */
.logout-box {
    width: 420px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 选项卡头部 */
.tab-header {
    display: flex;
    border-bottom: 1px solid #eee;
}

.tab-item {
    flex: 1;
    text-align: center;
    line-height: 50px;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    position: relative;
}

.tab-item.active {
    color: #e53935;
    font-weight: 500;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #e53935;
}

/* 表单区域 */
.tab-content {
    padding: 30px 25px;
}

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

.form-item label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.form-item input {
    width: 100%;
    height: 44px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.form-item input:focus {
    border-color: #e53935;
}

/* 验证码行布局 */
.code-row {
    display: flex;
    gap: 10px;
}

.code-row input {
    flex: 1;
}

.get-code {
    width: 110px;
    height: 44px;
    border: none;
    background-color: #f0f0f0;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.get-code:hover:not(:disabled) {
    background-color: #e9e9e9;
}

.get-code:disabled {
    background-color: #f8f8f8;
    color: #999;
    cursor: not-allowed;
}

/* 提交按钮 */
.submit-btn {
    width: 100%;
    height: 46px;
    background-color: #e53935;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.submit-btn:hover {
    background-color: #d32f2f;
}

/* 隐藏表单 */
.form-box {
    display: none;
}

.form-box.show {
    display: block;
}

.tip-text {
    font-size: 12px;
    color: #999;
    margin: 5px 0 15px;
}