/* Quote Page Styles */

/* 头部背景简化 */
.top-bar{
    background-color: #144279;
    background-image: none;
}

.top-bar .hero {
    display: none;
}

.hero{
    display: none;
}

/* 页面整体布局 */
.quote-main{
    padding: 40rem 0 80rem;
}

.quote-container{
    width: 100%;
    max-width: 720rem;
    margin: 0 auto;
    box-sizing: border-box;
}

/* 面包屑 */
.quote-breadcrumb{
    font-size: 12rem;
    color: #666;
    margin-bottom: 20rem;
}

.quote-breadcrumb-home{
    color: #144279;
}

.quote-breadcrumb-separator{
    margin: 0 4rem;
}

.quote-breadcrumb-current{
    color: #999;
}

/* 标题与说明 */
.quote-title{
    font-size: 32rem;
    font-weight: 400;
    color: #144279;
    margin-bottom: 12rem;
}

.quote-subtitle{
    font-size: 14rem;
    color: #666;
    margin-bottom: 28rem;
}

/* 区块 */
.quote-section{
    margin-bottom: 28rem;
    max-width: 600rem;
    margin-left: auto;
    margin-right: auto;
}

.quote-section-title{
    font-size: 18rem;
    color: #333;
    margin-bottom: 12rem;
    font-weight: 600;
    padding-top: 10rem;
}

/* 表单网格 */
.quote-form-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12rem 18rem;
}

.quote-field{
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.quote-field.full-width{
    grid-column: 1 / -1;
}

.quote-field label{
    font-size: 12rem;
    color: #333;
}

.quote-field input,
.quote-field select,
.quote-field textarea{
    width: 100%;
    height: 36rem;
    padding: 0 12rem;
    border: 1rem solid #c8c8c8;
    border-radius: 4rem;
    font-size: 12rem;
    box-sizing: border-box;
}

.quote-field textarea{
    min-height: 140rem;
    resize: vertical;
    padding: 10rem 12rem;
}

/* 切换按钮 */
.quote-toggle{
    width: 100%;
    display: flex;
    overflow: hidden;
    border: 1rem solid #ccc;
    margin-bottom: 18rem;
    background: #f6f6f6;
    border-radius: 28rem;
}

.quote-toggle-btn{
    flex: 1;
    height: 52rem;
    border: none;
    font-size: 13rem;
    background: transparent;
    cursor: pointer;
    color: #444;
}

.quote-toggle-btn.active{
    background: #0b4f85;
    color: #fff;
}

/* 上传区域 */
.quote-helper{
    font-size: 12rem;
    color: #555;
    margin-bottom: 8rem;
}

.quote-link{
    display: inline-block;
    font-size: 12rem;
    color: #0b4f85;
    text-decoration: underline;
    margin-bottom: 10rem;
}

.quote-add-link{
    display: inline-block;
    margin-top: 6rem;
    font-size: 12rem;
    color: #0b4f85;
    text-decoration: none;
}

.quote-add-link:hover{
    text-decoration: underline;
}

.quote-label-hidden{
    position: absolute;
    left: -9999rem;
}

.quote-upload-row{
    display: flex;
    align-items: center;
    gap: 14rem;
    margin-top: 12rem;
}

.quote-upload-btn{
    width: 110rem;
    height: 42rem;
    border-radius: 6rem;
    border: 1rem solid #ccc;
    font-size: 12rem;
    background: #f6f6f6;
    cursor: pointer;
}

.quote-upload-tip{
    font-size: 11rem;
    color: #777;
    max-width: 320rem;
    line-height: 1.4;
}

/* 勾选项 */
.quote-consents{
    display: flex;
    flex-direction: column;
    gap: 10rem;
    margin-top: 12rem;
}

.quote-checkbox{
    display: flex;
    align-items: flex-start;
    gap: 8rem;
    font-size: 12rem;
    color: #444;
    line-height: 1.4;
}

.quote-checkbox input{
    margin-top: 3rem;
}

/* 提交按钮 */
.quote-actions{
    margin-top: 16rem;
}

.quote-submit-btn{
    min-width: 90rem;
    height: 32rem;
    border-radius: 4rem;
    border: none;
    background: #b8741a;
    color: #fff;
    font-size: 12rem;
    cursor: pointer;
}

.quote-submit-btn:hover{
    background: #b8b21a;
}

.quote-msg-success{ background: #e8f5e9; color: #2e7d32; }
.quote-msg-error{ background: #ffebee; color: #c62828; }

/* 响应式 */
@media (max-width: 768rem){
    .quote-form-grid{
        grid-template-columns: 1fr;
    }

    .quote-section{
        max-width: 100%;
    }
}