/* vwa-advisor.css */
.vwa-advisor-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #1e2a3e;
    background: #f0f4f9;
    border-radius: 32px;
}
.vwa-header {
    text-align: center;
    margin-bottom: 2rem;
}
.vwa-title {
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(125deg, #1f2e3f, #0f3a53);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}
.vwa-subtitle {
    font-size: 1.1rem;
    color: #4b6584;
}
.vwa-form-card {
    background: white;
    border-radius: 40px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}
.vwa-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.vwa-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.vwa-field.full-width {
    grid-column: 1 / -1;
}
.vwa-field label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #2c3e50;
}
.vwa-field input, .vwa-field textarea, .vwa-field input[type="file"] {
    background: #f8fafd;
    border: 1px solid #e2e8f0;
    border-radius: 32px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.2s;
}
.vwa-field input:focus, .vwa-field textarea:focus {
    border-color: #008EF2;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,142,242,0.15);
}
.vwa-field .form-text {
    font-size: 0.7rem;
    color: #6c7f96;
    margin-top: 4px;
}
.vwa-actions {
    text-align: center;
    margin-top: 25px;
}
.vwa-btn-primary {
    background: #1e293b;
    color: white;
    border: none;
    padding: 14px 34px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.25s;
    margin-top: 10px;
}
.vwa-btn-primary:hover {
    background: #0f172a;
    transform: scale(0.97);
}
.vwa-result-area {
    margin-top: 30px;
}
.vwa-ai-card {
    background: white;
    border-radius: 36px;
    padding: 24px 28px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}
.vwa-ai-response {
    background: #F8FAFF;
    border-radius: 28px;
    padding: 22px;
    min-height: 200px;
    font-size: 1rem;
    line-height: 1.55;
}
.vwa-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}
.vwa-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 25px;
    border-radius: 40px;
    width: 90%;
    max-width: 1100px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}
.vwa-modal-close {
    position: absolute;
    right: 25px;
    top: 15px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}
.vwa-modal-close:hover {
    color: #000;
}
.vwa-report-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}
.vwa-inquiry-form {
    background: #f9f9f9;
    border-radius: 28px;
    padding: 20px;
    margin-top: 20px;
}
.vwa-footer-note {
    text-align: center;
    margin-top: 42px;
    font-size: 0.8rem;
    color: #6c7f96;
}
@media (max-width: 680px) {
    .vwa-form-grid {
        grid-template-columns: 1fr;
    }
    .vwa-title {
        font-size: 1.8rem;
    }
}
/* 表格推荐标记样式 */
.vwa-ai-response table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}
.vwa-ai-response th, .vwa-ai-response td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
.vwa-ai-response th {
    background-color: #f2f2f2;
}
.vwa-ai-response td strong {
    background-color: #d4edda;
    padding: 2px 6px;
    border-radius: 4px;
    color: #155724;
}