/* ===== RFQ Page Additional Styles ===== */

.rfq-form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 44px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 18px 55px rgba(15, 23, 42, 0.07);
}

.rfq-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rfq-page {
    padding: 120px 0 80px;
    background:
        radial-gradient(circle at 10% 0%, rgba(37, 99, 235, 0.08), transparent 28%),
        linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 45%, #F8FAFC 100%);
    min-height: 100vh;
}

.rfq-header {
    text-align: center;
    margin-bottom: 48px;
}

.rfq-header h1 {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    margin-bottom: 12px;
    color: #0F172A;
    letter-spacing: -0.03em;
}

.rfq-header p {
    font-size: 17px;
    color: var(--text-secondary);
}

.rfq-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

.rfq-form .form-group {
    padding: 0;
}

.rfq-form .form-group label {
    color: #0F172A;
}

.rfq-form .form-group input,
.rfq-form .form-group select,
.rfq-form .form-group textarea {
    min-height: 50px;
    border-color: #CBD5E1;
    background: #FCFDFE;
}

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

.rfq-form .btn-submit {
    min-height: 56px;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

.custom-file-upload {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px;
    border: 1px dashed #CBD5E1;
    border-radius: 9px;
    background: #F8FAFC;
    cursor: pointer;
    transition: var(--transition);
}

.custom-file-upload input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.custom-file-button {
    padding: 8px 12px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    background: white;
    color: #0F172A;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.custom-file-name {
    min-width: 0;
    overflow: hidden;
    color: #64748B;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-file-upload:hover {
    border-color: #2563EB;
    background: #EFF6FF;
}

.rfq-sidebar .sidebar-card {
    border-radius: 16px;
    border-color: #E2E8F0;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.05);
}

.rfq-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.seo-rfq-card p {
    color: #64748B;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.sidebar-tags span {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #1D4ED8;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .rfq-layout {
        grid-template-columns: 1fr;
    }
    .rfq-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .rfq-sidebar .sidebar-card {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .rfq-form-wrapper {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .custom-file-upload {
        align-items: flex-start;
        flex-direction: column;
    }
}
