/* ==========================================================================
   Betonka - Teklif İste Sayfası Özel UI Tasarım Sistemi
   Version: 3.0
   ========================================================================== */

.bquote-container {
    padding: 70px 0 90px;
    background: #f8fafc;
}

/* Sol Form Kartı */
.bquote-form-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 40px -10px rgba(15, 23, 42, 0.07);
    padding: 40px 35px;
    position: relative;
    overflow: hidden;
}

.bquote-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #d9381e 0%, #f39c12 100%);
}

.bquote-step-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.bquote-step-num {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #d9381e, #b82b13);
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(217, 56, 30, 0.25);
}

/* Form Elemanları */
.bquote-label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.bquote-label span.req {
    color: #d9381e;
    font-weight: 700;
}

.bquote-label span.opt {
    color: #94a3b8;
    font-weight: 400;
    font-size: 12px;
}

.bquote-input,
.bquote-select,
.bquote-textarea {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    color: #0f172a;
    font-size: 14.5px;
    transition: all 0.25s ease;
    outline: none;
}

.bquote-textarea {
    height: 110px;
    padding: 14px 16px;
    resize: vertical;
}

.bquote-input:focus,
.bquote-select:focus,
.bquote-textarea:focus {
    background: #ffffff;
    border-color: #d9381e;
    box-shadow: 0 0 0 3px rgba(217, 56, 30, 0.12);
}

/* Number input stepper oklarını gizle (m3 çakışmasını önler) */
input[type="number"].bquote-no-spinner::-webkit-inner-spin-button,
input[type="number"].bquote-no-spinner::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"].bquote-no-spinner {
    -moz-appearance: textfield;
}

/* m3 Metraj Alanı Sarmalayıcısı */
.bquote-input-wrapper {
    position: relative;
    display: block;
}

.bquote-input-wrapper .bquote-input {
    padding-right: 50px;
}

.bquote-input-suffix {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14.5px;
    font-weight: 700;
    color: #64748b;
    pointer-events: none;
    user-select: none;
}

/* Zaman Planı Select ve Takvim İkon Sarmalayıcısı */
.bquote-select-wrapper {
    position: relative;
    display: block;
}

.bquote-select-wrapper .bquote-select {
    padding: 0 38px 0 46px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 12px 12px !important;
    cursor: pointer;
}

.bquote-select-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.bquote-select-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    opacity: 0.75;
}

/* Radyo Kart Seçicileri (Beton Sınıfı & Pompa) */
.bquote-radio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.bquote-radio-card {
    position: relative;
    cursor: pointer;
    margin: 0;
}

.bquote-radio-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.bquote-radio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 10px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.25s ease;
    min-height: 72px;
}

.bquote-radio-content .badge-sub {
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
}

.bquote-radio-content .title-main {
    font-size: 14.5px;
    font-weight: 700;
    color: #1e293b;
}

.bquote-radio-card:hover .bquote-radio-content {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.bquote-radio-card input:checked + .bquote-radio-content {
    background: #fff5f4;
    border-color: #d9381e;
    box-shadow: 0 4px 12px rgba(217, 56, 30, 0.15);
}

.bquote-radio-card input:checked + .bquote-radio-content .title-main {
    color: #d9381e;
}

/* Döküm Şekli Radyoları (2x2 Dengeli & Eşit Yükseklik Grid) */
.bquote-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.bquote-type-card {
    position: relative;
    cursor: pointer;
    margin: 0;
    height: 100%;
    display: flex;
}

.bquote-type-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bquote-type-content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    transition: all 0.25s ease;
    width: 100%;
    min-height: 76px;
    box-sizing: border-box;
}

.bquote-type-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d9381e;
    font-size: 18px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    border: 1px solid #f1f5f9;
}

.bquote-type-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.bquote-type-card:hover .bquote-type-content {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.bquote-type-card input:checked + .bquote-type-content {
    background: #fff5f4;
    border-color: #d9381e;
    box-shadow: 0 4px 12px rgba(217, 56, 30, 0.15);
}

.bquote-type-card input:checked + .bquote-type-content .bquote-type-icon {
    background: #ffffff;
    border: 1.5px solid #d9381e;
    box-shadow: 0 2px 8px rgba(217, 56, 30, 0.18);
}

/* Metraj Hızlı Seçim Butonları */
.bquote-quick-m3 {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.bquote-m3-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bquote-m3-btn:hover {
    border-color: #d9381e;
    color: #d9381e;
    background: #fff5f4;
}

/* Gönder Butonu */
.bquote-submit-btn {
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, #d9381e 0%, #b82b13 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 25px -5px rgba(217, 56, 30, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bquote-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(217, 56, 30, 0.5);
    color: #ffffff;
}

.bquote-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Sağ Kenar Çubuğu (Sidebar) */
.bquote-sidebar {
    position: sticky;
    top: 110px;
}

.bquote-phone-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 18px;
    padding: 30px 24px;
    color: #ffffff;
    margin-bottom: 24px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.2);
    position: relative;
    overflow: hidden;
}

.bquote-phone-card::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(217, 56, 30, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.bquote-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.bquote-pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: bquote-pulse 1.8s infinite;
}

@keyframes bquote-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.bquote-phone-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #ffffff;
    color: #d9381e !important;
    font-size: 20px;
    font-weight: 800;
    padding: 14px 20px;
    border-radius: 12px;
    margin-top: 18px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.bquote-phone-link:hover {
    background: #fff5f4;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 56, 30, 0.25);
}

.bquote-trust-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    padding: 28px 24px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
}

.bquote-trust-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.bquote-trust-item:last-child {
    margin-bottom: 0;
}

.bquote-trust-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: #fff5f4;
    color: #d9381e;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.bquote-trust-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.bquote-trust-text h6 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}

.bquote-trust-text p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

/* Alert Kutuları */
.bquote-alert {
    padding: 18px 22px;
    border-radius: 12px;
    margin-bottom: 28px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 14.5px;
    line-height: 1.5;
}

.bquote-alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.bquote-alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

@media (max-width: 991px) {
    .bquote-container {
        padding: 40px 0 60px;
    }
    .bquote-sidebar {
        position: static;
        margin-top: 30px;
    }
    .bquote-form-card {
        padding: 28px 22px;
    }
}

@media (max-width: 768px) {
    .bquote-container {
        padding: 24px 0 45px !important;
    }

    .bquote-form-card {
        padding: 20px 14px !important;
        border-radius: 16px !important;
        box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
    }

    .bquote-form-card h2 {
        font-size: 20px !important;
        line-height: 1.3 !important;
        margin-top: 6px !important;
    }

    .bquote-form-card p.text-muted {
        font-size: 12.5px !important;
        line-height: 1.45 !important;
    }

    /* Adım Başlıkları */
    .bquote-step-title {
        font-size: 15px !important;
        gap: 9px !important;
        margin-bottom: 14px !important;
        padding-bottom: 8px !important;
    }

    .bquote-step-num {
        width: 26px !important;
        height: 26px !important;
        font-size: 12px !important;
        min-width: 26px !important;
    }

    /* Form Elemanları & Etiketler */
    .bquote-label {
        font-size: 12.5px !important;
        margin-bottom: 5px !important;
    }

    .bquote-input,
    .bquote-select {
        height: 44px !important;
        font-size: 13.5px !important;
        padding: 0 12px !important;
        border-radius: 8px !important;
    }

    .bquote-select-wrapper .bquote-select {
        padding-left: 38px !important;
    }

    .bquote-select-icon {
        left: 11px !important;
    }

    .bquote-select-icon img {
        width: 16px !important;
        height: 16px !important;
    }

    .bquote-input-wrapper .bquote-input {
        padding-right: 42px !important;
    }

    .bquote-input-suffix {
        right: 12px !important;
        font-size: 13px !important;
    }

    .bquote-textarea {
        height: 85px !important;
        font-size: 13px !important;
        padding: 10px 12px !important;
        border-radius: 8px !important;
    }

    /* Beton Sınıfı Seçim Izgarası (2 Kolon) */
    .bquote-radio-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .bquote-radio-content {
        min-height: 56px !important;
        padding: 10px 6px !important;
        border-radius: 10px !important;
    }

    .bquote-radio-content .title-main {
        font-size: 13.5px !important;
    }

    .bquote-radio-content .badge-sub {
        font-size: 10px !important;
        margin-top: 2px !important;
    }

    /* Hızlı m3 Butonları */
    .bquote-quick-m3 {
        gap: 6px !important;
        margin-top: 6px !important;
    }

    .bquote-m3-btn {
        padding: 4px 8px !important;
        font-size: 11px !important;
        border-radius: 6px !important;
    }

    /* Döküm Şekli (Mobil Tek Kolon) */
    .bquote-type-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .bquote-type-content {
        padding: 10px 12px !important;
        min-height: auto !important;
        gap: 10px !important;
        border-radius: 10px !important;
    }

    .bquote-type-icon {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        border-radius: 8px !important;
    }

    .bquote-type-icon img {
        width: 20px !important;
        height: 20px !important;
    }

    /* Gönder Butonu */
    .bquote-submit-btn {
        height: 48px !important;
        font-size: 15px !important;
        border-radius: 10px !important;
    }

    /* Bildirim Kutuları */
    .bquote-alert {
        padding: 12px 14px !important;
        font-size: 12.5px !important;
        border-radius: 10px !important;
        margin-bottom: 18px !important;
        gap: 10px !important;
    }

    /* Sağ Kenar Çubuğu (Sidebar) */
    .bquote-sidebar {
        margin-top: 24px !important;
    }

    .bquote-phone-card {
        padding: 22px 18px !important;
        border-radius: 16px !important;
        text-align: center !important;
        margin-bottom: 16px !important;
    }

    .bquote-status-indicator {
        margin-bottom: 12px !important;
        padding: 4px 10px !important;
        font-size: 11px !important;
    }

    .bquote-phone-card h4 {
        font-size: 17.5px !important;
        margin-bottom: 6px !important;
    }

    .bquote-phone-card p {
        font-size: 12.5px !important;
        line-height: 1.4 !important;
    }

    .bquote-phone-link {
        font-size: 18px !important;
        padding: 12px 16px !important;
        border-radius: 10px !important;
        justify-content: center !important;
        margin-top: 14px !important;
    }

    .bquote-trust-card {
        padding: 20px 16px !important;
        border-radius: 16px !important;
    }

    .bquote-trust-card h5 {
        font-size: 15px !important;
        margin-bottom: 14px !important;
        padding-bottom: 8px !important;
    }

    .bquote-trust-item {
        gap: 10px !important;
        margin-bottom: 14px !important;
    }

    .bquote-trust-icon {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        border-radius: 8px !important;
    }

    .bquote-trust-icon img {
        width: 20px !important;
        height: 20px !important;
    }

    .bquote-trust-text h6 {
        font-size: 13.5px !important;
        margin-bottom: 2px !important;
    }

    .bquote-trust-text p {
        font-size: 11.5px !important;
        line-height: 1.4 !important;
    }
}

@media (max-width: 480px) {
    .bquote-container {
        padding: 18px 0 35px !important;
    }

    .bquote-form-card {
        padding: 16px 12px !important;
    }

    .bquote-radio-grid {
        gap: 6px !important;
    }

    .bquote-radio-content {
        padding: 8px 4px !important;
    }

    .bquote-radio-content .title-main {
        font-size: 13px !important;
    }

    .bquote-radio-content .badge-sub {
        font-size: 9.5px !important;
    }
}

