/* =============================================================================
 * Stok Bildirim Formu Component
 * /urun/{slug} - out-of-stock varyantlarda lead capture formu
 * Inline CSS yasagi (feedback_inline_css_js_yasak) - tum stil burada.
 * ========================================================================== */

.sbf-card {
    margin-top: 12px;
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #fde68a;
    background: #fffbeb;
    border-radius: 10px;
    color: #78350f;
}

.sbf-baslik {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sbf-baslik i {
    color: #d97706;
}

.sbf-aciklama {
    font-size: 13px;
    margin: 0 0 10px 0;
    color: #92400e;
    line-height: 1.4;
}

.sbf-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sbf-input-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sbf-input {
    flex: 1 1 200px;
    min-width: 0;
    padding: 9px 12px;
    border: 1px solid #fcd34d;
    background: #fff;
    border-radius: 6px;
    font-size: 14px;
    color: #1f2937;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

.sbf-input:focus {
    border-color: #d97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, .15);
}

.sbf-input:disabled {
    background: #fef3c7;
    color: #92400e;
    cursor: not-allowed;
}

.sbf-btn {
    flex: 0 0 auto;
    padding: 9px 16px;
    background: #d97706;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, opacity .15s;
    white-space: nowrap;
}

.sbf-btn:hover:not(:disabled) {
    background: #b45309;
}

.sbf-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.sbf-onay {
    font-size: 12px;
    color: #78350f;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
}

.sbf-onay input[type="checkbox"] {
    margin-top: 2px;
    accent-color: #d97706;
    cursor: pointer;
}

.sbf-onay a {
    color: #b45309;
    text-decoration: underline;
}

.sbf-mesaj {
    margin-top: 6px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
}

.sbf-mesaj--basari {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.sbf-mesaj--hata {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* "Sınırlı stok" uyarı satırı yerine bunu kullanırsak yine stok-uyari class'ı
 * altında kalıyor ama biz buradaki başlık iconu için ayrı stil veriyoruz. */
.stok-uyari .stok-uyari-baslik {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}
