@charset "utf-8";

/* ========== 招标投诉书页面样式 ========== */
.complain-wrapper {
    background: #FFFFFF;
    padding: 20px 24px 30px;
    box-sizing: border-box;
}

/* 页面主标题 */
.complain-page-title {
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    padding-left: 12px;
    border-left: 4px solid #016FFF;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* ========== 分组区块 ========== */
.form-section {
    border: 1px solid #E0E0E0;
    margin-bottom: 16px;
    border-radius: 2px;
    overflow: hidden;
}

.section-title {
    background: #eeeeee;
    font-size: 14px;
    color: #656565;
    font-weight: bold;
    padding: 0 16px;
    height: 36px;
    line-height: 36px;
    border-bottom: 1px solid #E0E0E0;
}

.section-body {
    padding: 16px 16px 6px;
}

/* ========== 表单行 ========== */
.form-row {
    margin-bottom: 12px;
}

/* 左右两列布局 */
.form-col {
    width: 49%;
    zoom: 1;
}

.form-col:after {
    content: "";
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
}

.form-label {
    float: left;
    font-size: 14px;
    color: #444444;
    white-space: nowrap;
    width: 120px;
    text-align: right;
    height: 32px;
    line-height: 32px;
}

.required-label::before {
    content: '* ';
    color: #E82F2F;
}

/* 输入框 */
.form-input {
    float: left;
    height: 32px;
    border: 1px solid #D2D2D2;
    border-radius: 2px;
    padding: 0 8px;
    font-size: 14px;
    color: #333333;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
    width: calc(100% - 120px);
}

.form-input:focus {
    border-color: #016FFF;
}

.form-input::placeholder {
    color: #BBBBBB;
    font-size: 14px;
}

/* 下拉框 */
.form-select {
    float: left;
    height: 32px;
    border: 1px solid #D2D2D2;
    border-radius: 2px;
    padding: 0 8px;
    font-size: 14px;
    color: #333333;
    outline: none;
    box-sizing: border-box;
    background: #FFFFFF;
    width: calc(100% - 120px);
}

.form-select:focus {
    border-color: #016FFF;
}

/* 双列下拉框（监管部门） */
.form-inline {
    float: left;
    width: calc(100% - 120px);
    zoom: 1;
}

.form-inline:after {
    content: "";
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
}

.form-select.half {
    float: left;
    width: calc(50% - 4px);
    margin-right: 8px;
}

.form-select.half:last-child {
    margin-right: 0;
}

/* 大文本框行（单列满宽） */
.form-label-block {
    display: block;
    font-size: 14px;
    color: #444444;
    margin-bottom: 6px;
}

.form-label-block.required-label::before {
    content: '* ';
    color: #E82F2F;
}

.form-textarea {
    width: 100%;
    height: 110px;
    border: 1px solid #D2D2D2;
    border-radius: 2px;
    padding: 10px 12px;
    font-size: 14px;
    color: #333333;
    outline: none;
    resize: vertical;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-textarea:focus {
    border-color: #016FFF;
}

.form-textarea::placeholder {
    color: #BBBBBB;
    font-size: 12px;
}

/* ========== 上传文件区域 ========== */
.upload-area {
    margin-bottom: 6px;
}

.upload-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
    font-size: 14px;
}

.upload-table th,
.upload-table td {
    border: 1px solid #E0E0E0;
    padding: 0 10px;
    height: 36px;
    line-height: 36px;
    color: #444444;
    text-align: center;
}

.upload-table thead th {
    background: #eee;
    font-weight: normal;
}

.upload-table tbody .empty-row td {
    color: #999999;
}


.upload-btn-wrap {
    zoom: 1;
}

.upload-btn-wrap:after {
    content: "";
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
}

.upload-btn {
    display: inline-block;
    height: 32px;
    line-height: 32px;
    padding: 0 22px;
    background: #016FFF;
    border-radius: 2px;
    font-size: 14px;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.2s;
    user-select: none;
    margin-bottom: 10px;
}

.upload-btn:hover {
    background: #0052CC;
}

/* ========== 底部操作按钮 ========== */
.form-actions {
    text-align: center;
    padding-top: 20px;
}

.btn-submit,
.btn-cancel {
    display: inline-block;
    height: 36px;
    line-height: 36px;
    padding: 0 36px;
    border-radius: 2px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    margin: 0 10px;
    transition: background 0.2s, color 0.2s;
}

.btn-submit {
    background: #016FFF;
    color: #FFFFFF;
}

.btn-submit:hover {
    background: #0052CC;
}

.btn-cancel {
    background: #FFFFFF;
    color: #666666;
    border: 1px solid #D2D2D2;
}

.btn-cancel:hover {
    border-color: #016FFF;
    color: #016FFF;
}

.complainxq-result{
    float: left;
    width: calc(100% - 90px);
    height: 32px;
    border: 1px solid #D2D2D2;
    border-radius: 2px;
    padding: 8px;
    font-size: 14px;
    color: #333333;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
    min-height: 200px;
}