/* ==================================================
   NEVİ ÇİÇEK - BÖLGE SEÇİM & GÜVEN BARI MODÜLÜ
================================================== */

.region-trust-card {
    background: #ffffff;
    border: 1px solid var(--flora-border);
    border-radius: 12px;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    width: 100%;
}

.region-left {
    flex: 1;
    padding-right: 25px;
    border-right: 1px solid var(--flora-border);
}

.region-left-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--flora-text);
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
}

.region-left-title i {
    color: #ef4444;
    font-size: 1.3rem;
}

.region-left-desc {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 10px;
}

.bolge-secici-wrapper {
    position: relative;
    width: 100%;
}

.bolge-trigger {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--flora-border);
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bolge-trigger:hover {
    border-color: var(--flora-green-primary);
    background: #ffffff;
}

.bolge-trigger-icon {
    width: 34px;
    height: 34px;
    background: #ecfdf5;
    color: var(--flora-green-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.bolge-trigger-texts {
    display: flex;
    flex-direction: column;
}

.bolge-trigger-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.bolge-trigger-value {
    display: flex;
    flex-direction: column;
}

/* Seçili bölge ismi */
.bt-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--flora-text);
    font-family: var(--font-body);
}

/* Seçili bölge açık adresi (Alt metin) */
.bt-address {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 1px;
}

.bolge-trigger-btn {
    margin-left: auto;
    background: #ffffff;
    border: 1px solid var(--flora-border);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--flora-green-primary);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
    flex-shrink: 0;
}

.bolge-trigger-btn:hover {
    background: var(--flora-green-primary);
    color: #ffffff;
}

.trust-right {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-icon {
    width: 40px;
    height: 40px;
    background: #ecfdf5;
    color: var(--flora-green-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.trust-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--flora-text);
    line-height: 1.2;
    font-family: var(--font-heading);
    text-align: left;
}

.bolge-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--flora-border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bolge-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bolge-dropdown-header,
.bolge-dropdown-info,
.bolge-dropdown-desc {
    display: none !important;
}

.bolge-search-box {
    padding: 12px 15px;
    border-bottom: 1px solid var(--flora-border);
    background: #f8fafc;
}

.bolge-search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.2rem;
}

.bolge-search-box input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    transition: 0.3s;
}

.bolge-search-box input:focus {
    border-color: var(--flora-green-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.bolge-search-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.72rem;
    color: #94a3b8;
    font-style: italic;
    padding-left: 5px;
}

.info-text-mobile {
    display: none;
}

.bolge-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 5px 0;
}

.bolge-list::-webkit-scrollbar {
    width: 6px;
}

.bolge-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* YENİ: Bölge Liste Öğesi Yapısı */
.bolge-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    cursor: pointer;
    transition: 0.2s;
    color: var(--flora-text);
}

.bolge-item:hover {
    background: #f1f5f9;
}

.bi-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bi-name {
    font-size: 0.9rem;
}

.bolge-item.selectable:hover .bi-name {
    color: var(--flora-green-primary);
    font-weight: 600;
}

.bi-address {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 2px;
}

.bi-price {
    font-size: 0.75rem;
    color: #f59e0b;
    font-weight: 700;
    flex-shrink: 0;
}

.bolge-parent {
    font-weight: 700;
    border-bottom: 1px solid #f1f5f9;
}

.bolge-parent i {
    color: #94a3b8;
    transition: transform 0.3s;
}

.bolge-parent.expanded i {
    transform: rotate(180deg);
    color: var(--flora-green-primary);
}

.bolge-children {
    display: none;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.bolge-children.active {
    display: block;
}

.bolge-child {
    padding: 8px 20px 8px 40px;
    border-bottom: 1px dashed #e2e8f0;
}

.bolge-child:last-child {
    border-bottom: none;
}

@media (max-width: 992px) {
    .region-left {
        padding-right: 15px;
    }

    .trust-right {
        gap: 10px;
    }
}

/* ==================================================
   MOBİL TASARIM (MODAL)
================================================== */
@media (max-width: 768px) {
    .trust-right {
        display: none !important;
    }

    .region-trust-card {
        padding: 15px;
        margin-bottom: 15px;
        border: none;
        box-shadow: none;
    }

    .region-left {
        padding-right: 0;
        border-right: none;
    }

    body.bolge-modal-open {
        overflow: hidden !important;
    }

    body.bolge-modal-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        z-index: 999998;
    }

    .bolge-dropdown {
        position: fixed;
        top: auto !important;
        bottom: 0 !important;
        left: 0;
        width: 100%;
        height: auto;
        max-height: 85vh;
        background: #ffffff;
        border-radius: 24px 24px 0 0 !important;
        transform: translateY(100%);
        z-index: 999999 !important;
        display: flex;
        flex-direction: column;
        padding-top: 10px;
    }

    .bolge-dropdown.active {
        transform: translateY(0);
    }

    .bolge-dropdown-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        border-bottom: 1px solid #f1f5f9;
    }

    .bolge-dropdown-header h4 {
        font-size: 1.1rem;
        font-weight: 800;
        color: #334155;
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .bolge-dropdown-header button {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #94a3b8;
        position: absolute;
        right: 20px;
        cursor: pointer;
    }

    .bolge-dropdown-info {
        display: flex !important;
        align-items: center;
        gap: 10px;
        background: #eff6ff;
        color: #1d4ed8;
        padding: 12px 15px;
        margin: 15px 20px 10px 20px;
        border-radius: 8px;
        font-size: 0.85rem;
        font-weight: 600;
    }

    .bolge-dropdown-info i {
        font-size: 1.2rem;
    }

    /* MOBİLDE METİNLERİ DEĞİŞTİREN ALAN */
    .info-text-desktop {
        display: none !important;
    }

    .info-text-mobile {
        display: inline !important;
    }

    .bolge-search-hint {
        display: none !important;
    }

    .bolge-search-box {
        padding: 0 20px 15px 20px;
        border-bottom: none;
        background: transparent;
    }

    .bolge-search-box input {
        border: 1px solid #ec4899;
        border-radius: 30px;
        padding: 14px 15px 14px 45px;
        font-size: 0.95rem;
        font-weight: 600;
    }

    .bolge-search-box input:focus {
        border-color: #ec4899;
        box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
    }

    /* İKONUN TAŞMASINI ENGELLEYEN KISIM (15px olarak düzeltildi) */
    .bolge-search-box i {
        left: 15px;
        color: #ec4899;
        font-size: 1.3rem;
    }

    .bolge-list {
        flex: 1;
        overflow-y: auto;
        padding-bottom: 30px;
        max-height: calc(85vh - 200px);
    }
}