﻿.lbn-location-select-d{
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
}
@media screen and (min-width: 992px) {
    .lbn-location-select-d{
        position: relative;
    }
    .lbn-location-select-d.active{
        background-color: #f47b22;
        color: #fff;
        border-radius: 6px;
    }
    .lbn-location-select-d.active .lbn-location-select-d-icon svg path {
        fill: #FFFFFF!important;
    }
    .lbn-location-select-d.active .lbn-location-select-d-icon svg circle {
        fill: #F47B22!important;
    }
}
.lbn-location-select-d-body{
    display: none;
    padding: 1rem;
    box-shadow: 0 0 0 1px rgba(0,0,0,.1);
    border-radius: 6px;
    background: #fff;
}
@media screen and (max-width: 992px){
    .lbn-location-select-d-body{
        position: fixed;
        z-index: 10000;
        width: 100%;
        left: 0;
        bottom: 0;
    }
}
@media screen and (min-width: 992px){
    .lbn-location-select-d-body{
        right: 0;
        top: 100%;
        width:275px;
        height: unset;
        position: absolute;
        z-index: 1003;
    }
}
.lbn-location-select-d-body.active{
    display: block;
}
.lbn-location-select-d-body-title{
    font-weight: 900;
    margin-bottom: .5rem;
}
.lbn-location-select-d-select{
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
    height: 28px;
}
.lbn-location-select-d-select-item{
    display: flex;
    width: 50%;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    cursor:pointer;
}
.lbn-location-select-d-select-item{
    border: none;
}
.lbn-location-select-d-select-item.active {
    color: #f47b22;
    border-bottom: 1px solid #f47b22 ;
}
.lbn-location-select-d-select .nav-tabs .nav-item{
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lbn-location-select-d-select .nav-tabs .nav-item .nav-link{
    border: unset;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lbn-location-select-d-select .nav-tabs .nav-item .nav-link.active{
    border-bottom: 1px solid #f47b22;
}
.lbn-address-select-list{
    margin: .5rem 0;
    max-height: 170px;
    overflow-y: auto ;
}
.lbn-address-select-list .select-list-item{
    display: flex;
    margin-bottom: 1rem;
}
.select-list-item-title {
    font-size: 14px;
    font-weight: 900;
}
.select-list-item-text {
    font-size: 12px;
    word-break: break-word;
}
.lbn-location-select-d-button{
    width: 100%;
    height: 100%;
    user-select: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lbn-location-select-d-button.active-shadow::before{
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width:100vw;
    height: 100vh;
    z-index: 1000;
    background-color: rgba(0,0,0,0.1);
}
.fast-delivery-component{
    display: flex;
    width: 100%;
    font-size: 11px;
}

.fast-delivery-component__container{
    display: flex;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: .5rem;
    margin: 1rem 0;
    width: 100%;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Aktif durumda container vurgusu */
.fast-delivery-component__container.has-active,
.fast-delivery-component__container:has(#fastDeliveryFilter:checked) {
    border: 2px solid #f47b22 !important;
    background: linear-gradient(135deg, rgba(244, 123, 34, 0.08) 0%, rgba(255, 140, 66, 0.08) 100%) !important;
    box-shadow: 0 4px 20px rgba(244, 123, 34, 0.25), 0 0 0 4px rgba(244, 123, 34, 0.1) !important;
    transform: translateY(-2px);
}

/* Aktif durumda ribbon efekti - Container içinde */
.fast-delivery-component__container.has-active::before,
.fast-delivery-component__container:has(#fastDeliveryFilter:checked)::before {
    content: "";
    position: absolute;
    top: 4px;
    right: 20px;
    width: 120px;
    height: 30px;
    background-image: url('/Assets/images/lastik-borsasi/120dakika.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
    animation: slideDown 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(244, 123, 34, 0.3));
    pointer-events: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media screen and (min-width: 992px) {
    .fast-delivery-component__container{
        padding: 0.8rem 1rem;
    }
    .fast-delivery-component{
        font-size: 14px;
    }
    
    .fast-delivery-component__container.has-active::before,
    .fast-delivery-component__container:has(#fastDeliveryFilter:checked)::before {
        top: 6px;
        right: 24px;
        width: 140px;
        height: 35px;
    }
    
    .fast-delivery-component__container.has-active .lbn-filter-location-button,
    .fast-delivery-component__container:has(#fastDeliveryFilter:checked) .lbn-filter-location-button {
        margin-top: 12px;
    }
}
.fast-delivery-component__checkbox-label {
    margin: 0;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fast-delivery-component__checkbox{
    width: 24px;
    height: 24px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    margin-bottom: 0;
    display: block;
}
@media screen and (min-width: 992px) {
    .fast-delivery-component__checkbox{
        width: 28px;
        height: 28px;
    }
}
.fast-delivery-component__input{
    display: none;
}
.fast-delivery-component__label{
    margin-bottom: 0;
    display: flex;
    width: 100%;
}
.fast-delivery-component__input:checked ~ .fast-delivery-component__checkbox-label .fast-delivery-component__checkbox,
.fast-delivery-component__label .fast-delivery-component__input:checked ~ .fast-delivery-component__checkbox{
    background: #f47b22;
    position: relative;
}
.fast-delivery-component__input:checked ~ .fast-delivery-component__checkbox-label .fast-delivery-component__checkbox:before,
.fast-delivery-component__label .fast-delivery-component__input:checked ~ .fast-delivery-component__checkbox:before{
    content: "";
    position: absolute;
    left: 6px;
    top: 1px;
    width: 10px;
    height: 16px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
@media screen and (min-width: 992px) {
    .fast-delivery-component__input:checked ~ .fast-delivery-component__checkbox-label .fast-delivery-component__checkbox:before,
    .fast-delivery-component__label .fast-delivery-component__input:checked ~ .fast-delivery-component__checkbox:before{
        left: 8px;
        top: 2px;
        width: 10px;
        height: 16px;
    }
}
.lbn-filter-location-button{
    padding: .33rem .6rem;
    border:1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}

/* Inline Badge - Başlıkta gösterilen */
.fast-delivery-active-badge-inline {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #f47b22 0%, #ff8c42 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 8px rgba(244, 123, 34, 0.3);
    margin-left: 8px;
}

.fast-delivery-active-badge-inline[style*="display: none"],
.fast-delivery-active-badge-inline.hidden {
    display: none !important;
}

.fast-delivery-active-badge-inline i {
    font-size: 12px;
}

@media screen and (min-width: 992px) {
    .fast-delivery-active-badge-inline {
        font-size: 12px;
        padding: 5px 14px;
    }
    
    .fast-delivery-active-badge-inline i {
        font-size: 13px;
    }
}

/* Sticky Floating Badge - Sayfanın sağ üstünde */
.fast-delivery-sticky-badge {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    background: linear-gradient(135deg, #f47b22 0%, #ff8c42 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(244, 123, 34, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    animation: slideInRight 0.5s ease, pulse 2s infinite 0.5s;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fast-delivery-sticky-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(244, 123, 34, 0.6);
}

.fast-delivery-sticky-badge i {
    font-size: 16px;
    animation: bounce 1s infinite;
}

@keyframes slideInRight {
    from {
        transform: translateX(150%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(244, 123, 34, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(244, 123, 34, 0.6);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
    .fast-delivery-sticky-badge {
        top: 70px;
        right: 10px;
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .fast-delivery-sticky-badge i {
        font-size: 14px;
    }
    
    .fast-delivery-sticky-badge span {
        display: none;
    }
    
    .fast-delivery-sticky-badge::after {
        content: "120 DK";
        font-size: 11px;
    }
}

@media screen and (max-width: 480px) {
    .fast-delivery-sticky-badge {
        top: 60px;
        right: 8px;
        padding: 8px 12px;
    }
    
    .fast-delivery-component__container.has-active::before,
    .fast-delivery-component__container:has(#fastDeliveryFilter:checked)::before {
        width: 90px;
        height: 22px;
        right: 10px;
        top: 4px;
    }
    
    .fast-delivery-component__container.has-active .lbn-filter-location-button,
    .fast-delivery-component__container:has(#fastDeliveryFilter:checked) .lbn-filter-location-button {
        margin-top: 10px;
    }
}