/* ==========================================================================
   MTS VOLKSWAGEN - FORMLAR, SABİT TEKLİF & AJAX BİLDİRİM STİLLERİ
   ========================================================================== */

/* 1. Sabit Kayan Teklif Kutusu (Sticky Floating Quote Widget) - Sol Alt Konumlandirma */
.sabit-teklif-kutusu {
    position: fixed;
    left: 25px;
    right: auto;
    bottom: 35px;
    z-index: 9998;
    font-family: inherit;
}

.teklif-tetikleyici-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.teklif-tetikleyici-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.55);
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    color: #ffffff;
}

.teklif-tetikleyici-btn i {
    font-size: 18px;
}

.teklif-form-paneli {
    position: absolute;
    bottom: 52px;
    left: 0;
    right: auto;
    width: 320px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.22);
    border: 1px solid #dce2e6;
    overflow: hidden;
    animation: fadeInSlideUp 0.25s ease-out;
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.teklif-form-baslik {
    background: #1a2e40;
    color: #ffffff;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.teklif-form-baslik h6 {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.teklif-kapat-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.teklif-kapat-btn:hover {
    opacity: 1;
}

.teklif-form-icerik {
    position: relative;
    padding: 14px 15px;
}

.teklif-form-icerik .form-control {
    font-size: 13px;
    padding: 6px 10px;
    height: auto;
    border-radius: 5px;
}

/* 2. Dönen Spinner ve Yükleniyor Overlay */
.form-spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 10;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1a2e40;
}

.form-spinner-overlay .spinner-border {
    width: 2rem;
    height: 2rem;
    margin-bottom: 8px;
}

/* 3. Ekranda Otomatik Kapanan Bildirim Kutusu */
.form-bildirim-alani {
    transition: opacity 0.4s ease;
    margin-bottom: 10px;
}

.form-bildirim-alani .alert {
    padding: 8px 12px;
    font-size: 13px;
    margin-bottom: 0;
    border-radius: 5px;
}

/* 4. Mobil Cihaz Uyumluluğu */
@media (max-width: 767px) {
    .sabit-teklif-kutusu {
        left: 15px;
        right: auto;
        bottom: 70px;
    }
    .teklif-tetikleyici-btn {
        padding: 8px 14px;
        font-size: 12px;
    }
    .teklif-tetikleyici-btn span {
        display: inline;
    }
    .teklif-form-paneli {
        width: 290px;
        bottom: 48px;
        left: 0;
        right: auto;
    }
}

/* 4.1 Urun Detay Fiyat & Teklif Al Buton Stili */
.btn-urundetay-teklif {
    padding: 8px 22px;
    margin-right: 10px;
    background-color: #ff324d;
    border: 1px solid #ff324d;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    vertical-align: middle;
    border-radius: 4px;
    cursor: pointer;
}
.btn-urundetay-teklif:hover {
    background-color: #d81c36;
    border-color: #d81c36;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 50, 77, 0.3);
}
.btn-urundetay-teklif i {
    font-size: 18px;
    line-height: 1;
}

/* 5. KVKK Çerez Onay Paneli */
.cerez-onay-paneli {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #1a2e40 !important;
    color: #ffffff !important;
    padding: 14px 15px !important;
    z-index: 9999999 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35) !important;
    border-top: 3px solid #007bff !important;
}

@media (max-width: 767px) {
    .cerez-onay-paneli {
        bottom: 50px !important;
        padding: 10px !important;
    }
}

/* 6. Modern CSS Ticker (Marquee Yerine) */
.modern-ticker-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: transparent;
    padding: 10px 0;
}

.modern-ticker-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: modernTickerAnim 30s linear infinite;
}

.modern-ticker-content:hover {
    animation-play-state: paused;
}

.modern-ticker-content img {
    display: inline-block;
    vertical-align: middle;
    margin: 0 15px;
    max-height: 50px;
    object-fit: contain;
}

@keyframes modernTickerAnim {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}
