/* 1. BEFORE/AFTER SLIDER STİLLERİ */
.qba-slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.qba-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    pointer-events: none;
}

.qba-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Resmin büzüşmesini ve kaymasını önlemek için genişlik her zaman %100 kalmalıdır */
    height: 100%;
    overflow: hidden;
    /* Başlangıçta görselin sağ taraftan %50'lik alanını kırparak maskeleriz */
    clip-path: inset(0 50% 0 0);
    -webkit-clip-path: inset(0 50% 0 0);
}

.qba-slider-overlay .qba-img-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qba-slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #ffffff;
    cursor: ew-resize;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    z-index: 10;
}

.qba-slider-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qba-slider-arrow::before {
    content: "↔";
    color: #333;
    font-size: 18px;
    font-weight: bold;
}

/* 2. NORMAL SLIDER STİLLERİ */
.qba-normal-slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.qba-normal-slider-wrapper {
    display: flex;
    width: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.qba-normal-slide {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: auto;
}

.qba-normal-slide img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    pointer-events: none;
}

/* Slayt Yazı ve Başlık Alanı (Caption) */
.qba-normal-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: #ffffff;
    padding: 30px 20px 20px 20px;
    z-index: 5;
}

.qba-normal-slide-caption h3 {
    margin: 0 0 5px 0;
    font-size: 20px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.qba-normal-slide-caption p {
    margin: 0;
    font-size: 14px;
    color: #e5e5e5;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Navigasyon Okları */
.qba-normal-slider-prev,
.qba-normal-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 10;
    transition: background 0.2s, transform 0.2s;
}

.qba-normal-slider-prev:hover,
.qba-normal-slider-next:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.05);
}

.qba-normal-slider-prev { left: 15px; }
.qba-normal-slider-next { right: 15px; }

/* Navigasyon Noktaları (Dots) */
.qba-normal-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.qba-normal-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.qba-normal-slider-dot.active {
    background: #ffffff;
    transform: scale(1.2);
}

/* Admin Panel Ek CSS Düzeltmeleri */
.qba-admin-box h3 {
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}