/* B2BOF Frontend CSS — StayCreative by Baris D. | www.staycreative.be */

/* Teslimat tarihi seçici */
.b2bof-delivery-section { margin: 20px 0; padding: 18px 20px; background: #f0f6ff; border-left: 3px solid #1e3a5f; border-radius: 4px; }
.b2bof-section-title { font-size: 1em; color: #1e3a5f; margin: 0 0 14px; font-weight: 700; }
.b2bof-date-hint { display: block; font-size: .82em; color: #888; margin-top: 4px; }
.b2bof-datepicker { background: #fff !important; cursor: pointer !important; }

/* Müşteri hesap sevk tablosu */
.b2bof-account-shipments { margin-top: 30px; }
.b2bof-account-shipments h2 { font-size: 1.1em; border-bottom: 1px solid #eee; padding-bottom: 8px; }
.b2bof-ship-table td, .b2bof-ship-table th { padding: 8px 12px; font-size: .9em; }

/* Hızlı sipariş formu */
.b2bof-quick-order-wrap { max-width: 900px; margin: 0 auto; }
.b2bof-qo-title { font-size: 1.4em; color: #1e3a5f; margin-bottom: 6px; }
.b2bof-qo-desc { color: #666; margin-bottom: 20px; }

.b2bof-qo-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 10px;
    align-items: start;
    padding: 12px;
    background: #f8f9fa;
    border: 1px solid #dde3ea;
    border-radius: 6px;
    margin-bottom: 8px;
}
.b2bof-qo-search-wrap { position: relative; }
.b2bof-qo-search { width: 100%; padding: 9px 12px; border: 1.5px solid #c9d5e0; border-radius: 4px; font-size: .95em; box-sizing: border-box; }
.b2bof-qo-search:focus { border-color: #1e3a5f; outline: none; }
.b2bof-qo-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid #c9d5e0; border-radius: 4px; z-index: 999; box-shadow: 0 4px 12px rgba(0,0,0,.1); max-height: 240px; overflow-y: auto; }
.b2bof-qo-result { padding: 8px 12px; cursor: pointer; font-size: .88em; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; }
.b2bof-qo-result:hover { background: #f0f6ff; }
.b2bof-qo-product-info { font-size: .85em; display: flex; flex-direction: column; gap: 3px; }
.b2bof-qo-tabs { display: flex; gap: 3px; margin-bottom: 5px; }
.b2bof-qo-tab { padding: 4px 10px; font-size: .8em; border: 1.5px solid #c9d5e0; border-radius: 4px; background: #f2f5f8; cursor: pointer; }
.b2bof-qo-tab.active { background: #1e3a5f; color: #fff; border-color: #1e3a5f; }
.b2bof-qo-qty-input { width: 100%; padding: 8px 10px; border: 1.5px solid #c9d5e0; border-radius: 4px; font-size: .95em; box-sizing: border-box; }
.b2bof-qo-qty-result { display: block; font-size: .78em; color: #555; margin-top: 4px; }
.b2bof-qo-remove { background: none; border: none; color: #999; font-size: 1.1em; cursor: pointer; padding: 6px; border-radius: 4px; }
.b2bof-qo-remove:hover { color: #c62828; background: #ffebee; }

.b2bof-qo-toolbar { margin: 10px 0 15px; }
.b2bof-qo-summary { background: #f0f6ff; border: 1px solid #c0d4ea; padding: 10px 16px; border-radius: 4px; margin-bottom: 14px; }
.b2bof-qo-total-line { display: flex; justify-content: space-between; font-size: 1.05em; }
.b2bof-qo-actions { display: flex; gap: 12px; align-items: center; }

.b2bof-msg { padding: 10px 14px; border-radius: 4px; font-size: .9em; font-weight: 600; margin-top: 12px; }
.b2bof-msg-ok { background: #e8f5e9; color: #2e7d32; }
.b2bof-msg-err { background: #ffebee; color: #c62828; }

@media (max-width: 640px) {
    .b2bof-qo-row { grid-template-columns: 1fr; }
}
