/* =========================================
   İLAN DETAY SAĞ TARAF - TEKLİF BUTONU / MODAL
========================================= */

.teklif-button{
    width:100%;
    min-height:56px;
    border:none;
    border-radius:14px;
    background:#b91c1c;
    color:#fff;
    font-size:16px;
    font-weight:600;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    cursor:pointer;
    box-shadow:none;
    transition:.18s ease;
    font-family:'Inter',sans-serif;
}

.teklif-button:hover{
    background:#a81818;
    transform:translateY(-1px);
}

.teklif-button:disabled{
    opacity:.65;
    cursor:not-allowed;
    transform:none;
}

.teklif-login-note{
    margin-top:10px;
    font-size:14px;
    line-height:1.5;
    color:#b45309;
    background:#fff7ed;
    border:1px solid #fed7aa;
    border-radius:10px;
    padding:10px 12px;
}

.teklif-login-note--muted{
    color:#6b7280;
    background:#f9fafb;
    border-color:#e5e7eb;
}

/* =========================================
   MODAL OVERLAY
========================================= */

.offer-modal-overlay{
    position:fixed;
    inset:0;
    z-index:99999;
    display:none;
    align-items:center;
    justify-content:center;
    background:rgba(15,23,42,.55);
    padding:24px;
}

.offer-modal-overlay.active{
    display:flex;
}

.offer-modal {
    position: relative;
    width: 100%;
    max-width: 550px;
    max-height: 75vh;
    overflow: auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(15,23,42,.18);
    animation: offerModalIn .18s ease;
    font-family: 'Inter',sans-serif;
}

@keyframes offerModalIn{
    from{
        opacity:0;
        transform:translateY(10px) scale(.98);
    }
    to{
        opacity:1;
        transform:translateY(0) scale(1);
    }
}

.offer-modal-close{
    position:absolute;
    top:16px;
    right:16px;
    width:40px;
    height:40px;
    border:none;
    border-radius:999px;
    background:#f7f7f8;
    color:#374151;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-size:17px;
    transition:.18s ease;
}

.offer-modal-close:hover{
    background:#efeff1;
    color:#111827;
}

.offer-modal-header{
    padding:22px 24px 14px;
    border-bottom:1px solid #edf1f4;
}

.offer-modal-header h3{
    margin:0;
    font-size:17px;
    line-height:1.2;
    font-weight:600;
    letter-spacing:-0.01em;
    color:#111827;
    text-align:center;
    font-family:'Inter',sans-serif;
}

.offer-modal-body{
    padding:18px 24px 20px;
}

.offer-modal-footer{
    padding:16px 24px 24px;
    border-top:1px solid #edf1f4;
}

/* =========================================
   ÜRÜN KUTUSU
========================================= */

.offer-product-box{
    display:flex;
    align-items:center;
    gap:14px;
    padding:14px 16px;
    border:1px solid #e8ecef;
    border-radius:18px;
    background:#fbfbfc;
    margin-bottom:18px;
}

.offer-product-image{
    width:82px;
    height:82px;
    object-fit:cover;
    border-radius:14px;
    border:1px solid #e5e7eb;
    flex-shrink:0;
}

.offer-product-info{
    min-width:0;
    flex:1;
}

.offer-product-title {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    color: #111827;
    margin-bottom: 5px;
    font-family: 'Inter',sans-serif;
}

.offer-product-price {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
    font-family: 'Inter',sans-serif;
}

.offer-product-price strong{
    color:#111827;
    font-weight:600;
}

/* =========================================
   HIZLI TEKLİF BUTONLARI
========================================= */

.offer-quick-buttons{
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:12px;
    margin-bottom:18px;
}

.offer-quick-btn{
    border:1px solid #dde4e8;
    background:#fff;
    border-radius:15px;
    padding:12px 10px;
    min-height:74px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    cursor:pointer;
    transition:.18s ease;
    font-family:'Inter',sans-serif;
}

.offer-quick-btn span {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
    transition: .18s ease;
}

.offer-quick-btn small{
    display:block;
    margin-top:4px;
    font-size:11px;
    color:#6b7280;
    line-height:1.3;
    transition:.18s ease;
    font-weight:400;
}

.offer-quick-btn:hover{
    border-color:#0f8a94;
    background:#f5fbfb;
    transform:translateY(-1px);
}

.offer-quick-btn:hover span{
    color:#111827;
}

.offer-quick-btn:hover small{
    color:#0f8a94;
}

.offer-quick-btn.active{
    border-color:#0f8a94;
    background:#0f8a94;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);
}

.offer-quick-btn.active span,
.offer-quick-btn.active small{
    color:#fff;
}

.custom-offer-btn.active{
    border-color:#007782;
    background:#007782;
}

.custom-offer-btn.active span,
.custom-offer-btn.active small{
    color:#fff;
}

/* =========================================
   INPUT ALANI
========================================= */

.offer-input-area{
    margin-bottom:18px;
}

.offer-label{
    display:block;
    font-size:14px;
    font-weight:600;
    color:#374151;
    margin-bottom:8px;
    font-family:'Inter',sans-serif;
}

.offer-input-wrap{
    position:relative;
}

.offer-amount-input {
    width: 100%;
    height: 54px;
    border: 1px solid #d7dde2;
    border-radius: 16px;
    padding: 0 54px 0 16px;
    font-size:28px;
    font-weight: 700;
    color: #111827;
    outline: none;
    background: #fff;
    font-family: 'Inter',sans-serif;
}

.offer-amount-input:focus{
    border-color:#0f8a94;
    box-shadow:0 0 0 4px rgba(15,138,148,.08);
}

.offer-currency{
    position:absolute;
    top:50%;
    right:16px;
    transform:translateY(-50%);
    font-size:16px;
    font-weight:600;
    color:#0f8a94;
    font-family:'Inter',sans-serif;
}

.offer-current-price-line{
    margin-top:10px;
    font-size:13px;
    color:#6b7280;
    font-family:'Inter',sans-serif;
    text-align: center;
    justify-content: center; /* yatay */
}

/* =========================================
   BİLGİ / UYARI
========================================= */

.offer-note{
    border:1px solid #d9f0ed;
    background:#f7fcfc;
    color:#3f5d63;
    border-radius:16px;
    padding:14px 16px;
    font-size:13px;
    line-height:1.65;
    margin-bottom:14px;
    font-family:'Inter',sans-serif;
}

.offer-warning{
    border:1px solid #fed7aa;
    background:#fff7ed;
    color:#b45309;
    border-radius:16px;
    padding:14px 16px;
    font-size:14px;
    line-height:1.6;
}

/* =========================================
   SUBMIT
========================================= */

.offer-submit-btn{
    width:100%;
    min-height:54px;
    border:none;
    border-radius:15px;
    background:#0f8a94;
    color:#fff !important;
    text-decoration:none !important;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.18s ease;
    box-shadow:none;
    font-family:'Inter',sans-serif;
}

.offer-submit-btn:hover{
    background:#0b7880;
    color:#fff !important;
    text-decoration:none !important;
}

/* =========================================
   MESAJ İÇİ TEKLİF KARTI
========================================= */

.mes-offer-system-card{
    min-width:260px;
    max-width:340px;
    border:1px solid #dbe7ea;
    background:#f8fbfc;
    border-radius:16px;
    padding:14px;
}

.mes-offer-system-title{
    font-size:15px;
    font-weight:700;
    color:#111827;
    margin-bottom:6px;
    line-height:1.4;
}

.mes-offer-system-status{
    font-size:14px;
    color:#475569;
    margin-bottom:8px;
}

.mes-offer-system-amount{
    font-size:22px;
    font-weight:800;
    color:#0f766e;
    margin-bottom:12px;
}

.mes-offer-system-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.mes-offer-link-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:0 12px;
    border-radius:10px;
    background:#007782;
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
}

.mes-offer-link-btn:hover{
    color:#fff;
    text-decoration:none;
    opacity:.95;
}

.mes-offer-link-btn--light{
    background:#eef6f6;
    color:#007782;
}

.mes-offer-link-btn--light:hover{
    color:#007782;
}

.offer-live-preview{
    margin-top:10px;
    font-size:13px;
    line-height:1.5;
    color:#6b7280;
    font-family:'Inter',sans-serif;
}

.offer-live-preview strong{
    color:#0f766e;
    font-weight:600;
}

@media (max-width: 640px){
    .offer-modal-overlay{
        padding:12px;
    }

    .offer-modal{
        max-width:100%;
        border-radius:20px;
    }

    .offer-modal-header h3{
        font-size:26px;
    }

    .offer-product-box{
        align-items:flex-start;
    }

    .offer-product-image{
        width:74px;
        height:74px;
    }

    .offer-quick-buttons{
        grid-template-columns:1fr;
    }

    .offer-submit-btn,
    .teklif-button{
        min-height:52px;
    }
}