/* 遮罩层 */
.access-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.access-modal-box {
    background: #fff;
    padding: 25px 30px;
    border-radius: 10px;
    max-width: 460px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
}

.access-modal-box h3 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.access-modal-box p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.access-modal-box label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #555;
}

.access-modal-box input,
.access-modal-box textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
    margin-bottom: 12px;
    transition: border-color 0.2s;
}

.access-modal-box input:focus,
.access-modal-box textarea:focus {
    border-color: #007bff;
    outline: none;
}

.access-modal-box textarea {
    min-height: 80px;
    resize: vertical;
}

.access-modal-box .btn-primary {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.access-modal-box .btn-primary:hover {
    background: #0056b3;
}

.access-modal-box .btn-success {
    background: #28a745;
}

.access-modal-box .btn-success:hover {
    background: #1e7e34;
}

.access-modal-box .btn-secondary {
    width: 100%;
    padding: 12px;
    background: #6c757d;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 8px;
}

.access-modal-box .error-msg {
    color: #dc3545;
    font-size: 14px;
    display: none;
    margin-bottom: 10px;
}

.access-modal-box .input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}
.access-modal-box .input-group input {
    flex: 1;
}
.access-modal-box .access-section {
    margin-bottom: 10px;
}
.access-modal-box hr {
    margin: 15px 0;
}

/* 选项卡样式 */
/* 选项卡样式 */
.access-tabs {
    display: flex;
    margin: 0 0 15px 0;
    padding: 0;
    list-style: none;
    border-bottom: 2px solid #eee;
}
.access-tabs li {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    font-weight: bold;
    color: #888;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}
.access-tabs li.active {
    color: #333;
    border-bottom-color: #007bff;
}
.access-tab-content {
    display: none;
}
.access-tab-content.active {
    display: block;
}
.access-hint {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    text-align: center;
}
/* 密码输入框 + 眼睛 */
.password-wrapper {
    position: relative;
}
.password-wrapper input {
    width: 100%;
    padding: 10px 40px 10px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}
.password-wrapper .toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.5;
}
.password-wrapper .toggle-password:hover {
    opacity: 1;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .access-modal-box {
        padding: 20px;
        width: 95%;
    }
    .access-modal-box h3 {
        font-size: 18px;
    }
    .access-modal-box input,
    .access-modal-box textarea {
        font-size: 16px;
        padding: 12px;
    }
    .access-modal-box .btn-primary,
    .access-modal-box .btn-secondary {
        font-size: 15px;
        padding: 14px;
    }
}