/* ========================================
   提交需求页面 - 全宽页面布局
   ======================================== */

/* 需求容器 - 全宽布局 */
.requirement-container {
    display: block;
    padding: 0;
    max-width: 100%;
    margin: 0;
    background: transparent;
    min-height: calc(100vh - var(--header-height));
}

/* 表单包装器 - 全宽页面样式 */
.requirement-form-wrapper {
    background: transparent;
    padding: 60px 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* 表单内容容器 */
.requirement-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 表单标题 */
.requirement-form h2 {
    font-size: 32px;
    font-weight: 700;
    color: #262626;
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    padding-bottom: 20px;
}

.requirement-form h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* 表单组 */
.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.form-group .required {
    color: #ff4d4f;
    margin-left: 4px;
}

/* 输入框和文本域 */
.form-group textarea,
.form-group input {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #333;
    box-sizing: border-box;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 200px;
    line-height: 1.6;
}

.form-group textarea::placeholder,
.form-group input::placeholder {
    color: #bfbfbf;
}

.form-group textarea:hover,
.form-group input:hover {
    border-color: #667eea;
}

.form-group textarea:focus,
.form-group input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

/* 字符计数器 */
.char-count {
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 6px;
}

.char-count span {
    color: #667eea;
    font-weight: 600;
}

/* 提交按钮 */
.btn-submit {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    margin-top: 32px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 信息提示块 */
.form-tips {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    background: #f6f8fa;
    border-left: 3px solid #667eea;
    border-radius: 6px;
    font-size: 14px;
    color: #595959;
    margin-top: 24px;
}

.form-tips .icon {
    font-style: normal;
    font-size: 18px;
    flex-shrink: 0;
}

/* 信息包装器 */
.requirement-info-wrapper {
    padding: 32px;
    text-align: center;
    order: -1;
    width: 100%;
    max-width: 700px;
    display: none;
    z-index: 1;
}

.requirement-info-img {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
}

.requirement-info-wrapper h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.requirement-info-wrapper p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .requirement-form-wrapper {
        padding: 40px 0;
    }

    .requirement-form {
        padding: 0 16px;
    }

    .requirement-form h2 {
        font-size: 26px;
        margin-bottom: 32px;
    }

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

    .form-group textarea {
        min-height: 160px;
    }

    .btn-submit {
        padding: 14px 20px;
        font-size: 15px;
        margin-top: 24px;
    }

    .form-tips {
        font-size: 13px;
        padding: 14px 16px;
    }
}

