/* 弹窗基础样式 */
.podcast-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999; /* 确保覆盖所有内容 */
    font-family: inherit;
}

/* 遮罩层 */
.podcast-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

/* 弹窗主体 */
.podcast-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    padding: 20px;
    box-sizing: border-box;
}

/* 关闭按钮 */
.podcast-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #666;
    padding: 0 5px;
}
.podcast-modal-close:hover {
    color: #000;
}

/* 标签切换 */
.podcast-modal-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    border-bottom: 2px solid transparent;
}
.tab-btn.active {
    color: #2c3e50;
    border-bottom: 2px solid #2c3e50;
    font-weight: 600;
}

/* 表单面板（默认隐藏非激活面板） */
.podcast-tab-panel {
    display: none;
}
.podcast-tab-panel.active {
    display: block;
}

/* 表单样式 */
.podcast-form-group {
    margin-bottom: 15px;
}
.podcast-form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}
.podcast-form-group input,
.podcast-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}
.podcast-form-group textarea {
    resize: vertical;
}
.required {
    color: #e74c3c;
}
.privacy-agree {
    font-size: 13px;
}
.privacy-agree a {
    color: #3498db;
    text-decoration: none;
}
.privacy-agree a:hover {
    text-decoration: underline;
}
.submit-btn input {
    width: 100%;
    background: #2c3e50;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
.submit-btn input:hover {
    background: #34495e;
}
.podcast-form-link {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
}
.podcast-form-link a {
    color: #3498db;
    text-decoration: none;
}
.podcast-form-link a:hover {
    text-decoration: underline;
}

/* 错误提示 */
.podcast-form-error {
    padding: 10px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
}

/* 响应式适配（手机端） */
@media (max-width: 576px) {
    .podcast-modal-content {
        width: 95%;
        padding: 15px;
    }
    .tab-btn {
        font-size: 14px;
        padding: 8px;
    }
}