/* ===== BOM Page Styles ===== */

.bom-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;
}

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

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

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

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

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

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

.bom-dropzone {
    border: 2px dashed #94A3B8;
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    background: linear-gradient(180deg, #F8FAFC, #FFFFFF);
}

.bom-dropzone:hover,
.bom-dropzone.dragover {
    border-color: var(--primary);
    background: #EFF6FF;
    transform: translateY(-2px);
}

.bom-dropzone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.bom-dropzone-icon {
    font-size: 48px;
    margin-bottom: 12px;
    color: var(--primary);
}

.bom-dropzone-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--primary);
    display: block;
    margin: 0 auto;
}

.bom-dropzone-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

.bom-dropzone-formats {
    font-size: 13px;
    color: var(--text-light);
}

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

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

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

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

.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) {
    .bom-layout {
        grid-template-columns: 1fr;
    }
    .bom-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .bom-sidebar .sidebar-card {
        flex: 1;
        min-width: 280px;
    }
}

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

@media (max-width: 480px) {
    .bom-dropzone {
        padding: 24px 12px;
    }

    .bom-dropzone-text {
        font-size: 14px;
    }
}
