/**
 * DWD Taxi Route List - Main Styles
 * Modern & Responsive Design
 * Version: 1.1 (Cleaned & Consolidated)
 */

/* ========================================
   GLOBAL & RESET
   ======================================== */

.dwd-route-card,
.dwd-all-routes,
.dwd-routes-table {
    box-sizing: border-box;
}

.dwd-route-card *,
.dwd-all-routes *,
.dwd-routes-table * {
    box-sizing: border-box;
}

/* ========================================
   NOTICE & ALERTS
   ======================================== */

.dwd-notice {
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    color: #856404;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    /* İkinci tanımda olan kural eklendi */
    margin: 20px 0; 
}

/* ========================================
   SINGLE ROUTE CARD - BASE
   ======================================== */

.dwd-route-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    /* Animasyon başlangıç değerleri */
    opacity: 0;
    transform: translateY(20px);
}

.dwd-route-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* ========================================
   ROUTE IMAGE
   ======================================== */

.dwd-route-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.dwd-route-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dwd-route-card:hover .dwd-route-image img {
    transform: scale(1.08);
}

.dwd-route-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

/* ========================================
   ROUTE CONTENT
   ======================================== */

.dwd-route-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 30px;
}

.dwd-route-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dwd-route-arrow {
    color: #ff6b35;
    font-weight: 400;
    font-size: 28px;
}

.dwd-route-subtitle {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.7;
    color: #666666;
}

/* ========================================
   PRICE LIST
   ======================================== */

.dwd-price-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.dwd-price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: padding-left 0.3s ease;
}

.dwd-price-item:last-child {
    border-bottom: none;
}

.dwd-route-card:hover .dwd-price-item {
    padding-left: 5px;
}

.dwd-price-label {
    font-size: 15px;
    font-weight: 500;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dwd-price-icon {
    font-size: 18px;
}

.dwd-price-value {
    font-size: 20px;
    font-weight: 700;
    color: #ff6b35;
}

.dwd-price-large {
    font-size: 32px !important;
    font-weight: 800 !important;
}

/* ========================================
   STARTING PRICE (EN DÜŞÜK FİYAT)
   ======================================== */

.dwd-starting-price {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8dc 100%);
    border-radius: 8px;
    text-align: center;
}

.dwd-starting-price .dwd-price-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    font-weight: 600;
}

.dwd-starting-price .dwd-price-value {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

/* ========================================
   BUTTONS
   ======================================== */

.dwd-book-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: #ff6b35;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    margin-top: 10px;
    text-align: center;
}

.dwd-book-button:hover {
    background: #e85a2a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.dwd-book-button:active {
    transform: translateY(0);
}

.dwd-button-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.dwd-book-button:hover .dwd-button-icon {
    transform: translateX(4px);
}

.dwd-book-button-small {
    display: inline-block;
    padding: 10px 20px;
    background: #ff6b35;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dwd-book-button-small:hover {
    background: #e85a2a;
    transform: scale(1.05);
}

/* ========================================
   TEMPLATE: CARD (DEFAULT)
   ======================================== */

.dwd-template-card {
    /* Default styling - already applied above */
}

/* ========================================
   TEMPLATE: MODERN GRADIENT
   ======================================== */

.dwd-template-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.dwd-template-modern .dwd-route-title,
.dwd-template-modern .dwd-route-subtitle,
.dwd-template-modern .dwd-price-label {
    color: white !important;
}

.dwd-template-modern .dwd-route-arrow {
    color: #ffd700 !important;
}

.dwd-template-modern .dwd-price-value {
    color: #ffd700 !important;
}

.dwd-template-modern .dwd-price-item {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.dwd-template-modern .dwd-book-button {
    background: #ffd700;
    color: #764ba2;
}

.dwd-template-modern .dwd-book-button:hover {
    background: #ffed4e;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

/* ========================================
   TEMPLATE: MINIMAL
   ======================================== */

.dwd-template-minimal {
    border: 2px solid #e0e0e0;
    box-shadow: none;
}

.dwd-template-minimal:hover {
    border-color: #ff6b35;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.15);
}

.dwd-template-minimal .dwd-price-item {
    border-bottom: none;
    background: #f9f9f9;
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.dwd-template-minimal .dwd-price-item:last-child {
    margin-bottom: 0;
}

/* ========================================
   TEMPLATE: LIST (Tekil kartı liste formatına çevirir)
   ======================================== */

.dwd-template-list {
    flex-direction: row;
    align-items: center;
}

.dwd-template-list .dwd-route-image {
    width: 250px; /* Layout listten biraz daha büyük bırakıldı */
    height: 180px;
    flex-shrink: 0;
}

.dwd-template-list .dwd-route-content {
    flex: 1;
    padding-left: 25px;
}

.dwd-template-list .dwd-price-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.dwd-template-list .dwd-price-item {
    border: none;
    padding: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    min-width: 120px;
}

/* ========================================
   ALL ROUTES CONTAINER
   ======================================== */

.dwd-all-routes {
    width: 100%;
    display: flex;
}

/* GRID LAYOUT */
.dwd-layout-grid {
    display: grid;
    gap: 20px;
    width: 100%; 
}

.dwd-layout-grid.dwd-columns-1 {
    grid-template-columns: 1fr;
}

.dwd-layout-grid.dwd-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.dwd-layout-grid.dwd-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}
.dwd-layout-grid.dwd-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* LIST LAYOUT (Tüm konteynırı liste formatına çevirir) */
.dwd-layout-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* dwd-template-list ile birleştirildi. */
.dwd-layout-list .dwd-route-card {
    flex-direction: row;
    align-items: center;
}

.dwd-layout-list .dwd-route-image {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
}

.dwd-layout-list .dwd-route-content {
    flex: 1;
    padding: 0 25px;
}

/* dwd-template-list ile birleştirildi. */
.dwd-layout-list .dwd-price-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

/* dwd-template-list ile birleştirildi. */
.dwd-layout-list .dwd-price-item {
    border: none;
    padding: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    min-width: 100px;
}

/* ========================================
   TABLE LAYOUT
   ======================================== */

.dwd-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.dwd-routes-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}

.dwd-routes-table thead {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.dwd-routes-table th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a1a1a;
    border-bottom: 2px solid #dee2e6;
}

.dwd-routes-table td {
    padding: 18px 20px;
    font-size: 15px;
    color: #666666;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dwd-routes-table tbody tr {
    transition: all 0.2s ease;
}

.dwd-routes-table tbody tr:hover,
.dwd-routes-table tbody tr.dwd-row-hover { /* Tooltip hover sınıfı ile birleştirildi */
    background-color: rgba(255, 107, 53, 0.05) !important;
    transform: translateX(3px);
}

.dwd-routes-table tbody tr:last-child td {
    border-bottom: none;
}

.dwd-table-price {
    font-weight: 700;
    color: #ff6b35;
    font-size: 16px;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Karta animasyon başlangıç değerleri yukarı taşındı. */
.dwd-route-card.dwd-animated {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.dwd-routes-table tbody tr {
    animation: slideInRight 0.4s ease-out both;
}

/* Stagger animation */
.dwd-route-card:nth-child(1) { animation-delay: 0.1s; }
.dwd-route-card:nth-child(2) { animation-delay: 0.2s; }
.dwd-route-card:nth-child(3) { animation-delay: 0.3s; }
.dwd-route-card:nth-child(4) { animation-delay: 0.4s; }
.dwd-route-card:nth-child(5) { animation-delay: 0.5s; }
.dwd-route-card:nth-child(6) { animation-delay: 0.6s; }
.dwd-route-card:nth-child(7) { animation-delay: 0.7s; }
.dwd-route-card:nth-child(8) { animation-delay: 0.8s; }
.dwd-route-card:nth-child(9) { animation-delay: 0.9s; }

.dwd-routes-table tbody tr:nth-child(1) { animation-delay: 0.05s; }
.dwd-routes-table tbody tr:nth-child(2) { animation-delay: 0.1s; }
.dwd-routes-table tbody tr:nth-child(3) { animation-delay: 0.15s; }
.dwd-routes-table tbody tr:nth-child(4) { animation-delay: 0.2s; }
.dwd-routes-table tbody tr:nth-child(5) { animation-delay: 0.25s; }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* TABLET */
@media (max-width: 1024px) {
    .dwd-layout-grid.dwd-columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .dwd-layout-grid.dwd-columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dwd-route-title {
        font-size: 22px;
    }
    
    .dwd-price-value {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    /* Tüm gridler tek sütun olur */
    .dwd-layout-grid.dwd-columns-4,
    .dwd-layout-grid.dwd-columns-3,
    .dwd-layout-grid.dwd-columns-2 {
        grid-template-columns: 1fr;
    }
    
    /* Liste ve Listeleme görünümleri dikey olur (Kodlar birleştirildi) */
    .dwd-template-list,
    .dwd-layout-list .dwd-route-card {
        flex-direction: column;
    }
    
    .dwd-template-list .dwd-route-image,
    .dwd-layout-list .dwd-route-image {
        width: 100%;
        height: 200px;
    }
    
    .dwd-template-list .dwd-route-content,
    .dwd-layout-list .dwd-route-content {
        padding: 20px;
    }
    
    .dwd-template-list .dwd-price-list,
    .dwd-layout-list .dwd-price-list {
        flex-direction: column;
    }
    
    /* Responsive metin boyutları */
    .dwd-route-title {
        font-size: 20px;
    }
    
    .dwd-price-value {
        font-size: 18px;
    }
    
    .dwd-price-large {
        font-size: 28px !important;
    }
    
    .dwd-route-content {
        padding: 20px;
    }
    
    /* Tablo kaydırılabilir */
    .dwd-routes-table {
        font-size: 13px;
    }
    
    .dwd-routes-table th,
    .dwd-routes-table td {
        padding: 12px 10px;
    }
}

@media (max-width: 480px) {
    /* Mobil özel ayarlamalar */
    .dwd-route-image {
        height: 180px;
    }
    
    .dwd-route-title {
        font-size: 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .dwd-route-arrow {
        font-size: 20px;
    }
    
    .dwd-price-item {
        padding: 12px 0;
    }
    
    .dwd-price-label {
        font-size: 14px;
    }
    
    .dwd-price-value {
        font-size: 16px;
    }
    
    .dwd-book-button {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }
    
    /* Tabloyu kaydırmaya zorla */
    .dwd-routes-table {
        min-width: 600px;
    }
    
    .dwd-starting-price .dwd-price-value {
        font-size: 26px;
    }
    
    /* Mobil cihazlarda animasyon gecikmelerini azalt */
    .dwd-route-card {
        animation-delay: 0s !important;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .dwd-book-button,
    .dwd-book-button-small {
        display: none;
    }
    
    .dwd-route-card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    .dwd-route-image {
        display: none;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.dwd-text-center {
    text-align: center;
}

.dwd-text-right {
    text-align: right;
}

.dwd-no-shadow {
    box-shadow: none !important;
}

.dwd-full-width {
    width: 100%;
}

.dwd-mb-10 {
    margin-bottom: 10px;
}

.dwd-mb-20 {
    margin-bottom: 20px;
}

.dwd-mb-30 {
    margin-bottom: 30px;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

.dwd-book-button:focus,
.dwd-book-button-small:focus {
    outline: 3px solid rgba(255, 107, 53, 0.5);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .dwd-route-card {
        border: 2px solid currentColor;
    }
    
    .dwd-price-item {
        border-bottom: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .dwd-route-card,
    .dwd-routes-table tbody tr,
    .dwd-book-button,
    .dwd-price-item,
    .dwd-route-image img {
        animation: none !important;
        transition: none !important;
    }
    
    .dwd-route-card:hover {
        transform: none;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .dwd-route-card {
        background: #2d2d2d;
        color: #f0f0f0;
    }
    
    .dwd-route-title {
        color: #ffffff;
    }
    
    .dwd-route-subtitle,
    .dwd-price-label {
        color: #b0b0b0;
    }
    
    .dwd-routes-table {
        background: #2d2d2d;
        color: #f0f0f0;
    }
    
    .dwd-routes-table th {
        background: #1a1a1a;
        color: #ffffff;
        border-bottom-color: #444;
    }
    
    .dwd-routes-table td {
        color: #b0b0b0;
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
}

/* ========================================
   LOADING STATE
   ======================================== */

.dwd-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.dwd-loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ff6b35;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: dwd-spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes dwd-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   TOOLTIP
   ======================================== */
.dwd-tooltip {
    position: absolute;
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 1000;
    margin-top: -30px;
}


/* dwd-route-styles.css dosyasına eklenecek KOD */

/* 1. Tüm sekme içeriklerini varsayılan olarak gizle */
.dwd-route-content .dwd-tab-content {
    display: none;
}

/* 2. Sadece "active" (aktif) olanı görünür yap */
.dwd-route-content .dwd-tab-content.active {
    display: block;
}

/* dwd-route-styles.css dosyanıza bu kodları ekleyin */

.dwd-route-card {
    /* KRİTİK: Ribbon'ı kartın içinde konumlandırmak için gereklidir */
    position: relative; 
    overflow: hidden; /* Ribbon dışarı taşmasın diye */
}

.dwd-price-ribbon {
    position: absolute; 
    top: 50px; /* Kartın üstünden 15px aşağı */
    right: -50px; /* Sağa doğru dışarı itme miktarını ayarla */
    padding: 8px 55px; /* Genişliği artırmak için sağ padding'i artır */
    z-index: 10;
    
    /* Yazı Stilleri */
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    
    /* KRİTİK DÜZELTME: Daha az dışarı itmek için translateX değeri düşürüldü */
    transform: rotate(45deg);
    
    /* Ribbon'ı genişletmek için genişlik eklendi */
    width: 230px; 
    
    /* Ribbon kuyruğu için gölge */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}

/* 2. Opsiyonel: Kuyruk efekti (Üçgen) */
.dwd-price-ribbon:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    border-style: solid;
    border-width: 0 0 7px 7px;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.2); /* Arka plan renginden biraz koyu */
}


/**
 * DWD Interactive Location Picker - Styles
 * Modern, animasyonlu, kullanıcı dostu tasarım
 */

/* ========================================
   ANA KONTEYNER
   ======================================== */

.dwd-interactive-picker {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    min-height: 400px;
}

/* ========================================
   EKRAN GEÇİŞLERİ
   ======================================== */

.dwd-picker-screen,
.dwd-results-screen {
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.dwd-picker-screen.active,
.dwd-results-screen.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
}

/* ========================================
   KONUM SEÇİCİ HEADER
   ======================================== */

.dwd-picker-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 0.8s ease-out;
}

.dwd-picker-title {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 15px 0;
    color: #1a1a1a;
    line-height: 1.2;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dwd-picker-subtitle {
    font-size: 18px;
    color: #666666;
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
}

/* ========================================
   KONUM GRID LAYOUT
   ======================================== */

.dwd-location-grid {
    display: grid;
    gap: 20px;
    width: 100%;
}

.dwd-location-grid.dwd-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.dwd-location-grid.dwd-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.dwd-location-grid.dwd-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.dwd-location-grid.dwd-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

/* Liste layout */
.dwd-location-grid.dwd-layout-list {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   KONUM KARTI - BASE
   ======================================== */

.dwd-location-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Stagger animation */
.dwd-location-item:nth-child(1) { animation-delay: 0.1s; }
.dwd-location-item:nth-child(2) { animation-delay: 0.15s; }
.dwd-location-item:nth-child(3) { animation-delay: 0.2s; }
.dwd-location-item:nth-child(4) { animation-delay: 0.25s; }
.dwd-location-item:nth-child(5) { animation-delay: 0.3s; }
.dwd-location-item:nth-child(6) { animation-delay: 0.35s; }
.dwd-location-item:nth-child(7) { animation-delay: 0.4s; }
.dwd-location-item:nth-child(8) { animation-delay: 0.45s; }

.dwd-location-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.dwd-location-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.25);
}

.dwd-location-item:hover::before {
    opacity: 1;
}

.dwd-location-item:active {
    transform: translateY(-4px) scale(0.98);
}

/* ========================================
   KONUM İKONU
   ======================================== */

.dwd-location-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8dc 100%);
    border-radius: 50%;
    color: #ff6b35;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.dwd-location-item:hover .dwd-location-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) rotate(10deg);
}

.dwd-location-icon svg {
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}

.dwd-location-item:hover .dwd-location-icon svg {
    stroke-width: 2.5;
}

/* ========================================
   KONUM METNI
   ======================================== */

.dwd-location-name {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
    line-height: 1.3;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.dwd-location-item:hover .dwd-location-name {
    transform: scale(1.05);
}

/* ========================================
   CARDS LAYOUT (Özel Modern Tasarım)
   ======================================== */

.dwd-location-grid.dwd-layout-cards .dwd-location-item {
    min-height: 200px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid transparent;
}

.dwd-location-grid.dwd-layout-cards .dwd-location-item:hover {
    border-color: #ff6b35;
    background: linear-gradient(135deg, #ff6b35 0%, #e85a2a 100%);
}

.dwd-location-grid.dwd-layout-cards .dwd-location-item:hover .dwd-location-name {
    color: #ffffff;
}

.dwd-location-grid.dwd-layout-cards .dwd-location-item:hover .dwd-location-icon {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* ========================================
   LİSTE LAYOUT
   ======================================== */

.dwd-location-grid.dwd-layout-list .dwd-location-item {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 25px 30px;
}

.dwd-location-grid.dwd-layout-list .dwd-location-icon {
    margin-right: 20px;
    flex-shrink: 0;
}

.dwd-location-grid.dwd-layout-list .dwd-location-name {
    flex: 1;
}

/* ========================================
   SONUÇ EKRANI
   ======================================== */

.dwd-results-screen {
    animation: slideInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dwd-results-container {
    margin-top: 30px;
}

/* ========================================
   GERİ DÖN BUTONU
   ======================================== */

.dwd-back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #ff6b35;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.dwd-back-button:hover {
    background: #e85a2a;
    transform: translateX(-5px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.3);
}

.dwd-back-button:active {
    transform: translateX(-3px);
}

/* ========================================
   SONUÇ GRİD
   ======================================== */

.dwd-results-grid {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.dwd-results-grid.dwd-columns-1 {
    grid-template-columns: 1fr;
}

.dwd-results-grid.dwd-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.dwd-results-grid.dwd-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.dwd-results-grid.dwd-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Liste layout için sonuçlar */
.dwd-results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

/* ========================================
   YÜKLEME ANİMASYONU
   ======================================== */

.dwd-picker-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 20px;
}

.dwd-picker-loader {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff6b35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.dwd-picker-loading-text {
    font-size: 16px;
    color: #666666;
    font-weight: 600;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   ANİMASYONLAR
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* TABLET */
@media (max-width: 1024px) {
    .dwd-location-grid.dwd-columns-5 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .dwd-location-grid.dwd-columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .dwd-picker-title {
        font-size: 36px;
    }
    
    .dwd-picker-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .dwd-location-grid.dwd-columns-5,
    .dwd-location-grid.dwd-columns-4,
    .dwd-location-grid.dwd-columns-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dwd-results-grid.dwd-columns-4,
    .dwd-results-grid.dwd-columns-3,
    .dwd-results-grid.dwd-columns-2 {
        grid-template-columns: 1fr;
    }
    
    .dwd-picker-title {
        font-size: 32px;
    }
    
    .dwd-picker-subtitle {
        font-size: 15px;
    }
    
    .dwd-location-item {
        padding: 25px 20px;
    }
    
    .dwd-location-name {
        font-size: 18px;
    }
    
    .dwd-picker-header {
        margin-bottom: 35px;
    }
}

@media (max-width: 480px) {
    .dwd-location-grid.dwd-columns-5,
    .dwd-location-grid.dwd-columns-4,
    .dwd-location-grid.dwd-columns-3,
    .dwd-location-grid.dwd-columns-2 {
        grid-template-columns: 1fr;
    }
    
    .dwd-picker-title {
        font-size: 28px;
    }
    
    .dwd-picker-subtitle {
        font-size: 14px;
    }
    
    .dwd-location-item {
        min-height: 150px;
        padding: 20px;
    }
    
    .dwd-location-icon {
        width: 50px;
        height: 50px;
    }
    
    .dwd-location-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .dwd-location-name {
        font-size: 16px;
    }
    
    .dwd-back-button {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
    }
    
    /* Liste layout mobilde dikey kalır */
    .dwd-location-grid.dwd-layout-list .dwd-location-item {
        flex-direction: column;
        text-align: center;
    }
    
    .dwd-location-grid.dwd-layout-list .dwd-location-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

.dwd-location-item:focus,
.dwd-back-button:focus {
    outline: 3px solid rgba(255, 107, 53, 0.5);
    outline-offset: 3px;
}

/* Klavye navigasyonu için */
.dwd-location-item:focus-visible {
    outline: 3px solid #ff6b35;
    outline-offset: 3px;
}

/* ========================================
   REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    .dwd-location-item,
    .dwd-picker-screen,
    .dwd-results-screen,
    .dwd-picker-header,
    .dwd-back-button {
        animation: none !important;
        transition: none !important;
    }
    
    .dwd-location-item:hover {
        transform: none;
    }
    
    .dwd-picker-loader {
        animation: none !important;
    }
}

/* ========================================
   DARK MODE SUPPORT
   ======================================== */

@media (prefers-color-scheme: dark) {
    .dwd-location-item {
        background: #2d2d2d;
        color: #f0f0f0;
    }
    
    .dwd-location-name {
        color: #ffffff;
    }
    
    .dwd-picker-title {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .dwd-picker-subtitle {
        color: #b0b0b0;
    }
    
    .dwd-location-icon {
        background: rgba(255, 107, 53, 0.2);
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .dwd-back-button,
    .dwd-location-icon {
        display: none;
    }
    
    .dwd-location-item {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    .dwd-picker-screen {
        page-break-after: always;
    }
}

/* ========================================
   HOVER EFFECT - PULSE
   ======================================== */

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.dwd-location-item:hover .dwd-location-icon {
    animation: pulse 1s ease-in-out infinite;
}

/* ========================================
   SKELETON LOADING (Opsiyonel)
   ======================================== */

.dwd-skeleton {
    background: linear-gradient(
        90deg,
        #f0f0f0 25%,
        #e0e0e0 50%,
        #f0f0f0 75%
    );
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ========================================
   SUCCESS MESSAGE
   ======================================== */

.dwd-success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideInDown 0.5s ease-out;
}

.dwd-success-icon {
    width: 24px;
    height: 24px;
    color: #28a745;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.dwd-text-center {
    text-align: center;
}

.dwd-mb-20 {
    margin-bottom: 20px;
}

.dwd-mt-20 {
    margin-top: 20px;
}

.dwd-hidden {
    display: none !important;
}

.dwd-fade-in {
    animation: fadeInUp 0.6s ease-out;
}