/* ═══════════════════════════════════════
   KFE Sell Form — esf-sell-form.css
   ═══════════════════════════════════════ */

/* İşlem türü toggle */
.esf-sell-toggle {
    display: flex;
    gap: 0;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}
.esf-toggle-btn {
    flex: 1;
    padding: 12px;
    background: #fff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all .15s;
}
.esf-toggle-btn:first-child { border-right: 1.5px solid #e5e7eb; }
.esf-toggle-btn.active {
    background: #F97316;
    color: #fff;
}
.esf-toggle-btn:hover:not(.active) { background: #f9fafb; color: #374151; }

/* 3 kolonlu row */
.esf-row-3 { display: contents; }
.esf-row-3 .esf-apply-field { flex: 1 1 120px; }

/* Fiyat input */
.esf-price-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.esf-price-input-wrap input {
    padding-right: 40px !important;
}
.esf-price-symbol {
    position: absolute;
    right: 14px;
    font-size: 16px;
    font-weight: 700;
    color: #9ca3af;
    pointer-events: none;
}
.esf-price-input-wrap input:disabled {
    background: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
}

/* Opsiyonel label */
.esf-opt-label {
    font-weight: 400;
    color: #9ca3af;
    font-size: 12px;
    margin-left: 4px;
}

/* Checkbox satır */
.esf-checks-row {
    flex-direction: row !important;
    gap: 20px;
}

/* Dropzone */
.esf-dropzone {
    display: block;
    cursor: pointer;
}
.esf-dropzone-inner {
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    padding: 32px 20px;
    text-align: center;
    background: #fafafa;
    transition: border-color .15s, background .15s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.esf-dropzone:hover .esf-dropzone-inner {
    border-color: #F97316;
    background: #fff7ed;
}
.esf-dropzone-inner p {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin: 0;
}
.esf-dropzone-inner small {
    font-size: 12px;
    color: #9ca3af;
}

/* Foto önizleme grid */
.esf-photo-preview-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 4px;
}
.esf-photo-thumb {
    width: 72px; height: 72px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
}

/* Foto ipucu */
.esf-photo-tip {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #16a34a;
    margin-top: 8px;
}

@media (max-width: 600px) {
    .esf-row-3 .esf-apply-field { flex: 1 1 100%; }
    .esf-checks-row { flex-direction: column !important; }
}
