/* 创作者招募表单页面样式 */

.creator-page {
    position: relative;
    overflow-x: hidden;
    padding: 0 0 100px;
    background: linear-gradient(180deg, #e8eaef 0%, #f0f2f5 40%, #e8ecf1 100%);
    min-height: calc(100vh - 80px);
}

/* 通屏背景（全宽铺满视口，加高区域 + 背景略下移，减少裁切、尽量露全图） */
.creator-page-hero-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    /* 加高：cover 时纵向能保留更多画面 */
    min-height: clamp(480px, 82vh, 960px);
    max-height: none;
    background: url('../images/蒙版组 12@2x.png') no-repeat center;
    /* 垂直方向略往下，让构图下移、顶部少被裁掉 */
    background-position: center 62%;
    background-size: cover;
    z-index: 0;
    pointer-events: none;
}

.creator-page-inner {
    position: relative;
    z-index: 1;
    padding: 32px 20px 0;
}

.form-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.form-intro {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 10px;
}

.form-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    /* 相对原位置上移叠图基础上，再整体下移约视口高度 30%（两次各 15%） */
    margin: calc(-72px + 30vh) auto 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 50px 60px;
}

/* 表单区块 */
.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.required {
    color: #FF6B35;
    font-weight: normal;
}

.section-desc {
    font-size: 14px;
    color: #888;
    margin: -15px 0 15px;
}

/* 表单组 */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 15px;
    color: #444;
    margin-bottom: 10px;
    font-weight: 500;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* 输入框样式 */
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s;
    background-color: #fafafa;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF6B35;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

/* 内联输入框 */
.inline-input {
    display: inline-block;
    width: 200px !important;
    margin-left: 8px;
    padding: 6px 10px !important;
    font-size: 14px !important;
}

.conditional-input {
    margin-top: 10px;
    width: 100%;
    max-width: 400px;
}

/* 复选框组 */
.checkbox-group,
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-item,
.radio-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-item input[type="checkbox"],
.radio-item input[type="radio"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    accent-color: #FF6B35;
    cursor: pointer;
}

/* 提交说明 */
.submit-notice {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px 30px;
    margin: 30px 0;
}

.submit-notice h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.submit-notice ul {
    margin: 0;
    padding-left: 20px;
}

.submit-notice li {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 8px;
}

.submit-notice li:last-child {
    margin-bottom: 0;
}

/* 提交按钮 */
.form-actions {
    text-align: center;
    margin-top: 40px;
}

.btn-submit {
    padding: 14px 60px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
}

/* 提交成功态 */
.submit-success {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
}

.submit-success[hidden] {
    display: none !important;
}

.success-icon {
    width: 96px;
    height: auto;
}

.success-title {
    font-size: 36px;
    color: #333;
    margin: 8px 0 0;
    line-height: 1.3;
}

.success-desc {
    font-size: 24px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.success-btn {
    margin-top: 24px;
    min-width: 220px;
    font-size: 22px;
    padding: 12px 28px;
}

/* 响应式 */
@media (max-width: 768px) {
    .creator-page-hero-bg {
        min-height: clamp(380px, 70vh, 720px);
        max-height: none;
        background-position: center 58%;
    }

    .creator-page-inner {
        padding-top: 20px;
    }

    .form-container {
        padding: 30px 20px;
        margin: calc(-48px + 30vh) auto 0;
    }

    .form-title {
        font-size: 22px;
    }

    .form-intro {
        font-size: 13px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .section-title {
        font-size: 16px;
    }

    .inline-input {
        width: 150px !important;
    }

    .submit-notice {
        padding: 20px;
    }

    .btn-submit {
        width: 100%;
        padding: 14px 20px;
    }

    .submit-success {
        min-height: 300px;
    }

    .success-title {
        font-size: 28px;
    }

    .success-desc {
        font-size: 18px;
    }

    .success-btn {
        width: auto;
        min-width: 160px;
        font-size: 18px;
    }
}
