/* ==========================================
   提交收录页样式（submit.html）
   ========================================== */

/* ---------- 站点路径导航（透明背景，与列表页一致） ---------- */
.submit-breadcrumb {
    padding: 14px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.breadcrumb-home {
    color: #6B7390;
    transition: color 0.25s ease;
}

.breadcrumb-home:hover { color: #7B5CFF; }

.breadcrumb-sep { color: #C6CBD9; }

.breadcrumb-cur {
    color: #1A1F36;
    font-weight: 600;
}

/* ---------- 主体左右布局 ---------- */
.submit-main {
    padding: 8px 0 48px;
}

.submit-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* 左侧表单卡片 */
.submit-panel {
    flex: 1;
    min-width: 0;
    background: #fff;
    border: 1px solid #EEF1F7;
    border-radius: 14px;
    padding: 32px 36px;
    box-shadow: 0 4px 24px rgba(79, 139, 255, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
}

.submit-head {
    margin-bottom: 24px;
}

.submit-title {
    position: relative;
    font-size: 22px;
    font-weight: 700;
    color: #1A1F36;
    padding-left: 12px;
    margin: 0 0 6px;
}

.submit-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    border-radius: 2px;
    background: linear-gradient(135deg, #4F8BFF, #C63CFF);
}

.submit-sub {
    font-size: 13px;
    color: #A0A6BC;
    margin: 0;
    padding-left: 16px;
}

/* ---------- 表单字段 ---------- */
.s-field {
    margin-bottom: 18px;
}

.s-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1A1F36;
    margin-bottom: 8px;
}

.s-required {
    color: #FF4757;
    font-style: normal;
    margin-left: 2px;
}

/* 输入框组：左侧图标 + 输入 */
.s-box {
    display: flex;
    align-items: center;
    height: 44px;
    border: 1.5px solid #EEF1F7;
    border-radius: 10px;
    background: #F5F7FF;
    padding: 0 14px;
    transition: all 0.25s ease;
}

.s-box:focus-within {
    border-color: #7B5CFF;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(123, 92, 255, 0.12);
}

.s-icon {
    display: flex;
    color: #A0A6BC;
    margin-right: 10px;
    flex-shrink: 0;
}

.s-box:focus-within .s-icon { color: #7B5CFF; }

.s-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #1A1F36;
    outline: none;
}

.s-input::placeholder { color: #A0A6BC; }

/* ---------- 类型下拉 ---------- */
.s-select-box {
    position: relative;
    cursor: pointer;
}

.s-select {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #1A1F36;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.s-select::placeholder { color: #A0A6BC; }

.s-select-arrow {
    display: flex;
    color: #A0A6BC;
    pointer-events: none;
    flex-shrink: 0;
}

.s-select-box:focus-within .s-select-arrow { color: #7B5CFF; }

/* ---------- 图标上传 ---------- */
.s-upload-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}

.s-upload {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1.5px dashed #D4DAEB;
    border-radius: 10px;
    background: #F9FAFF;
    padding: 16px 18px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.s-upload:hover {
    border-color: #7B5CFF;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(123, 92, 255, 0.1);
}

.s-upload-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4F8BFF 0%, #7B5CFF 50%, #C63CFF 100%);
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(123, 92, 255, 0.3);
}

.s-upload-text {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1A1F36;
}

.s-upload-tip {
    display: block;
    font-size: 12px;
    color: #A0A6BC;
    margin-top: 4px;
}

/* ---------- 简介文本区 ---------- */
.s-textarea {
    width: 100%;
    border: 1.5px solid #EEF1F7;
    border-radius: 10px;
    background: #F5F7FF;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.7;
    color: #1A1F36;
    outline: none;
    resize: vertical;
    min-height: 110px;
    font-family: inherit;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.s-textarea::placeholder { color: #A0A6BC; }

.s-textarea:focus {
    border-color: #7B5CFF;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(123, 92, 255, 0.12);
}

/* ---------- 提交按钮 ---------- */
.s-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #4F8BFF 0%, #7B5CFF 50%, #C63CFF 100%);
    background-size: 200% auto;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 4px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(123, 92, 255, 0.35);
    transition: all 0.25s ease;
    margin-top: 6px;
}

.s-submit-btn:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 92, 255, 0.45);
}

.s-submit-btn:active { transform: scale(0.98); }

/* ---------- 底部提示：会员权益 ---------- */
.submit-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 22px;
    padding: 14px 16px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(79, 139, 255, 0.07), rgba(198, 60, 255, 0.07));
    border: 1px solid rgba(123, 92, 255, 0.18);
}

.submit-notice-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4F8BFF, #7B5CFF);
    color: #fff;
    flex-shrink: 0;
}

.submit-notice-text {
    font-size: 13.5px;
    line-height: 1.8;
    color: #454B66;
    margin: 0;
}

.submit-notice-link {
    color: #7B5CFF;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed rgba(123, 92, 255, 0.5);
    transition: all 0.25s ease;
}

.submit-notice-link:hover {
    color: #C63CFF;
    border-bottom-color: #C63CFF;
}

/* ---------- 右侧栏 ---------- */
.submit-aside {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.aside-card {
    background: #fff;
    border: 1px solid #EEF1F7;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 4px 24px rgba(79, 139, 255, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
}

.aside-card-title {
    position: relative;
    font-size: 16px;
    font-weight: 700;
    color: #1A1F36;
    padding-left: 12px;
    margin: 0 0 16px;
}

.aside-card-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 15px;
    border-radius: 2px;
    background: linear-gradient(135deg, #4F8BFF, #C63CFF);
}

/* 收录步骤 */
.aside-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}

.aside-steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #454B66;
    padding: 7px 0;
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4F8BFF, #7B5CFF);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.aside-tips {
    list-style: none;
    padding: 12px 14px 0;
    margin: 14px 0 0;
    border-top: 1px dashed #E4E8F0;
}

.aside-tips li {
    font-size: 12.5px;
    color: #A0A6BC;
    line-height: 2;
}

/* 会员权益卡 */
.aside-card-vip {
    position: relative;
    overflow: hidden;
}

.aside-card-vip::after {
    content: 'VIP';
    position: absolute;
    right: -14px;
    top: 10px;
    font-size: 40px;
    font-weight: 800;
    color: rgba(198, 60, 255, 0.06);
    letter-spacing: 2px;
    pointer-events: none;
}

.vip-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 8px;
    transition: all 0.25s ease;
}

.vip-benefit:hover {
    background: #F5F7FF;
    transform: translateX(3px);
}

.vip-benefit:last-of-type { margin-bottom: 0; }

.vip-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 18px;
    flex-shrink: 0;
}

.vip-benefit-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1A1F36;
}

.vip-benefit-text p {
    font-size: 12px;
    color: #A0A6BC;
    margin: 2px 0 0;
}

.vip-btn {
    display: block;
    text-align: center;
    height: 40px;
    line-height: 40px;
    margin-top: 16px;
    border-radius: 50px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF4757 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.32);
    transition: all 0.25s ease;
}

.vip-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.45);
    color: #fff;
}

.vip-btn:active { transform: scale(0.98); }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
    .submit-layout { flex-direction: column; }
    .submit-aside {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .aside-card { flex: 1; min-width: 280px; }
}

@media (max-width: 768px) {
    .submit-panel { padding: 20px 18px; }
    .submit-aside { flex-direction: column; }
    .s-submit-btn { letter-spacing: 2px; }
}
