.loading {
    display: none;
}

.modal-content {
    z-index: 1050;
}

.select2-container {
    z-index: 1051 !important;
    /* Select2'nin modal üstünde kalmasını sağlar */
}

.select2-container--default .select2-selection--single {
    height: 38px;
    padding: 6px;
}


.select2-results__option {
    display: block !important;
    /* Listeyi blok halinde gösterir */
}

.custom-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.custom-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #fff;
    color: #333;
    border-radius: 12px;
    padding: 16px 20px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s, transform 0.2s;
}

.custom-menu-item:hover {
    background-color: rgba(0, 123, 255, 0.08);
    transform: translateY(-2px);
}

.custom-menu-item .icon {
    font-size: 26px;
    color: #007bff;
    flex-shrink: 0;
}

.custom-menu-item .text {
    display: flex;
    flex-direction: column;
}

.custom-menu-item .text strong {
    font-size: 16pt;
}

.custom-menu-item .text span {
    font-size: 10pt;
    color: #666;
}

.dark-theme .custom-menu-item {
    --card-bg: #2a2a3b;
    --text-color: #eee;
}

.dark-theme .custom-menu-item .text span {
    color: #ccc;
}

body.dark-theme {
    --card-bg: #2a2a3b;
    --text-color: #eee !important;
}

body.dark-theme .custom-menu-item {
    background-color: #2b2b3c !important;
    color: #f5f5f5 !important;
}

body.dark-theme .custom-menu-item .text span {
    color: #cccccc !important;
}

body.dark-theme .custom-menu-item .icon {
    color: #66b2ff !important;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 80px;
    }
}

.fixed-btn-grp {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 10px 20px;
    background-color: #fff;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
}

.badge {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 8px;
    background-color: rgba(0, 123, 255, 0.85);
    /* Yarı şeffaf mavi */
    backdrop-filter: blur(4px);
    /* Modern cam efekti */
}

.video-thumbnail {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #eaeaea;
    position: relative;
}

.play-button {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    background-color: #0d6efd;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.play-button i {
    color: white;
}


.product-card-section {
    background-color: #fff;
    border: 1px solid #ddd;
    /* Border tüm section'a */
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    /* Gölge tüm kartta */
    padding: 20px;
    margin-bottom: 40px;
    transition: all 0.3s ease-in-out;
}

.product-card-section:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* Kırpmasız görüntü */
    padding: 10px;
    border-radius: 8px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #007bff;
    background: rgba(255, 255, 255, 0.9);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    top: 50%;
    transform: translateY(-50%);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

.table td,
.table th {
    font-size: 14px;
    vertical-align: middle;
}

.video-trigger:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.hover-detail-box {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0d6efd;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    pointer-events: none;
    z-index: 10;
}

.position-relative:hover .hover-detail-box {
    opacity: 1;
}