/* ============================================
   coin-list.css — coin.php sayfasina ozel stiller
   (Ortak stiller components.css dosyasindadir)
   ============================================ */

/* --- Coin Kart Stilleri --- */
.coin-card {
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    background: var(--card-background);
}
.dark-mode .coin-card {
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    background: var(--card-background);
    border: 1px solid rgba(255,255,255,0.08);
}
.coin-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(98, 54, 255, 0.15);
    cursor: pointer;
}
.dark-mode .coin-card:hover {
    box-shadow: 0 10px 25px rgba(98, 54, 255, 0.25);
    border-color: rgba(98, 54, 255, 0.3);
}
.coin-card .card-header {
    padding: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background: var(--card-background);
    position: relative;
}
.dark-mode .coin-card .card-header {
    border-bottom-color: rgba(255,255,255,0.05);
}
.coin-card .card-body {
    padding: 15px;
    background: var(--card-background);
}
.coin-card .avatar {
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    border: 2px solid #fff;
    overflow: hidden;
}
.dark-mode .coin-card .avatar {
    background: rgba(255,255,255,0.05);
    border-color: #333;
}
.coin-card .avatar img {
    width: 85%;
    height: 85%;
    object-fit: cover;
}
.price-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
}
.dark-mode .price-text {
    color: #fff;
}
.coin-card .card-title {
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text-color);
}
.dark-mode .coin-card .card-title {
    color: #fff;
}
.coin-card .badge {
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.badge.text-success {
    background-color: rgba(40, 167, 69, 0.15);
    color: #28a745 !important;
}
.badge.text-danger {
    background-color: rgba(220, 53, 69, 0.15);
    color: #dc3545 !important;
}
.dark-mode .badge.text-success {
    background-color: rgba(40, 167, 69, 0.25);
}
.dark-mode .badge.text-danger {
    background-color: rgba(220, 53, 69, 0.25);
}
#loadingMore {
    padding: 15px;
    border-radius: 16px;
    margin: 20px auto;
    max-width: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.dark-mode #loadingMore {
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}
.btn-detail {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-weight: 600;
}
.dark-mode .btn-detail {
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.btn-detail:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    background-color: #6236FF;
}
.dropdown-item ion-icon {
    margin-right: 5px;
    vertical-align: middle;
}
.chart-toggle {
    text-align: center;
    padding: 12px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6236FF;
    transition: all 0.2s ease;
    border-top: 1px solid rgba(0,0,0,0.05);
    background: var(--card-background);
}
.dark-mode .chart-toggle {
    border-top-color: rgba(255,255,255,0.05);
}
.chart-toggle:hover {
    background-color: rgba(98, 54, 255, 0.08);
}
.chart-toggle ion-icon {
    font-size: 1.2rem;
}
.toggle-icon {
    transition: transform 0.3s ease;
}
.chart-toggle.active .toggle-icon {
    transform: rotate(180deg);
}
.chart-container {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    padding: 0 10px;
    background: var(--card-background);
}
.chart-container.active {
    height: 200px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 15px;
}
.dark-mode .chart-container.active {
    border-top-color: rgba(255,255,255,0.05);
}
.chart-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.card-footer {
    padding: 0;
    border-top: none;
    background-color: transparent;
}

/* --- Coin.php Sayfasina Ozel Arama Stilleri --- */
/* coin.php'de search-box z-index'i daha yuksek (Bootstrap modal ustunde) */
.coin-list-search .search-box {
    z-index: 1050;
}
.coin-list-search #searchResults {
    z-index: 1051;
    background-color: var(--card-background);
}
.coin-list-search .search-result-item {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.dark-mode .coin-list-search .search-result-item {
    background-color: #1D1D1D !important;
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

/* coin.php sayfasina ozel arama kutusu degisiklikleri */
.search-box input {
    padding-right: 45px;
    padding-left: 15px;
    border-radius: 12px;
    background-color: rgb(255, 255, 255);
    color: var(--bs-body-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 44px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06);
    font-size: 0.95rem;
}
.search-box input:focus {
    box-shadow: 0 4px 12px rgba(98, 54, 255, 0.15);
    border-color: rgba(98, 54, 255, 0.3);
    outline: none;
}
.dark-mode .search-box input {
    background-color: #1a1d21;
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}
.dark-mode .search-box input:focus {
    box-shadow: 0 4px 12px rgba(98, 54, 255, 0.25);
    border-color: rgba(98, 54, 255, 0.4);
}
.search-box .form-control {
    padding-right: 44px;
    height: 44px;
    border-radius: 12px;
    font-weight: 500;
}
.search-button {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
}
.search-button:hover {
    transform: scale(1.05);
}

/* Arama kutusu container icin padding ayarlari */
.section.mt-2.mb-1 {
    padding-left: 0;
    padding-right: 0;
}

/* Arama kutusu card genislik ayarlari */
.section.mt-2.mb-1 .card {
    margin-left: 0;
    margin-right: 0;
}

/* Mobil icin arama kutusu optimizasyonu */
@media (max-width: 768px) {
    .search-box input {
        height: 42px;
        font-size: 0.9rem;
        padding-left: 12px;
    }

    .search-box .form-control {
        height: 42px;
        padding-right: 42px;
    }

    .search-button {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

/* Cok kucuk ekranlar icin */
@media (max-width: 480px) {
    .search-box input {
        height: 40px;
        font-size: 0.85rem;
    }

    .search-box .form-control {
        height: 40px;
        padding-right: 40px;
    }

    .search-button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* --- AI Buton Konteyneri --- */
.ai-btn-container {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}

/* --- Follow Butonu Stilleri --- */
.follow-btn {
    font-size: 0.8rem;
    padding: 0px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 3px 6px rgba(220, 53, 69, 0.15);
    font-weight: 600;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
    width: 32px;
    height: 32px;
}
.dark-mode .follow-btn {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.3);
    box-shadow: 0 3px 6px rgba(220, 53, 69, 0.25);
}
.follow-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.25);
    background: rgba(220, 53, 69, 0.15);
}
.dark-mode .follow-btn:hover {
    background: rgba(220, 53, 69, 0.25);
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.35);
}
.follow-btn.followed {
    background: rgba(220, 53, 69, 0.8);
    color: white;
}
.follow-btn.followed .follow-icon {
    animation: heartBeat 1s infinite;
}
.follow-btn .follow-icon {
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin-top: 1px;
    margin-left: 2px;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* --- AI Analiz Butonu Stilleri --- */
.ai-analyze-btn {
    font-size: 0.8rem;
    padding: 5px 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    box-shadow: 0 3px 6px rgba(98, 54, 255, 0.15);
    font-weight: 600;
    background: rgba(98, 54, 255, 0.1);
    color: #6236FF;
    border: 1px solid rgba(98, 54, 255, 0.2);
}
.dark-mode .ai-analyze-btn {
    background: rgba(98, 54, 255, 0.2);
    border-color: rgba(98, 54, 255, 0.3);
    box-shadow: 0 3px 6px rgba(98, 54, 255, 0.25);
}
.ai-analyze-btn ion-icon {
    font-size: 1rem;
}
.ai-analyze-btn .ai-star-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 2px;
}
.ai-analyze-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(98, 54, 255, 0.25);
    background: rgba(98, 54, 255, 0.15);
}
.dark-mode .ai-analyze-btn:hover {
    background: rgba(98, 54, 255, 0.25);
    box-shadow: 0 4px 10px rgba(98, 54, 255, 0.35);
}
.ai-analyze-btn:hover .ai-star-icon {
    animation: starPulse 1s infinite alternate;
}

@keyframes starPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

/* --- Tarama Efekti --- */
.coin-card.analyzing {
    position: relative;
    z-index: 1000;
    overflow: hidden;
}
.spotlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.spotlight.active {
    opacity: 1;
}

/* --- Section Card Stilleri --- */
.section .card {
    border-radius: 16px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    background: #ffffff;
}
.dark-mode .section .card {
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.08);
}
.section .card-body {
    padding: 18px;
}

/* --- Volume ve Fiyat Stilleri --- */
.volume-badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    background: rgba(0,0,0,0.03);
    color: var(--text-secondary);
}
.dark-mode .volume-badge {
    background: rgba(255,255,255,0.08);
}

/* --- Teknik Filtre Modal Stilleri --- */
.filter-section {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: var(--card-background);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.dark-mode .filter-section {
    border-color: rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.03);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.filter-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}
.dark-mode .filter-header {
    background-color: rgba(255, 255, 255, 0.03);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}
.filter-header:hover {
    background-color: rgba(98, 54, 255, 0.05);
}
.filter-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(98, 54, 255, 0.1);
    border-radius: 50%;
    margin-right: 12px;
    color: #6236FF;
    font-size: 1.2rem;
}
.filter-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-color);
}
.dark-mode .filter-title {
    color: #fff;
}
.filter-content {
    padding: 15px;
}
.range-slider-container {
    margin-bottom: 15px;
}
.range-info {
    margin-bottom: 8px;
}
.range-label {
    font-weight: 500;
    font-size: 13px;
    color: var(--text-secondary);
}
.range-value {
    font-weight: 600;
    color: #6236FF;
    font-size: 13px;
}
.range-labels {
    margin-top: 5px;
    font-size: 11px;
    color: var(--text-secondary);
}
.preset-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.double-slider-container {
    position: relative;
    height: 20px;
    margin: 10px 0;
}
.double-slider-container input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    position: absolute;
    background: transparent;
    pointer-events: none;
}
.double-slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #6236FF;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    margin-top: -7px;
}
.double-slider-container input[type="range"]::-moz-range-thumb {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #6236FF;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
.slider-track {
    position: absolute;
    width: 100%;
    height: 4px;
    background: #E0E0E0;
    top: 8px;
    border-radius: 2px;
}
.dark-mode .slider-track {
    background: #444;
}
.slider-range {
    position: absolute;
    height: 4px;
    background: #6236FF;
    top: 8px;
    border-radius: 2px;
}

/* --- SMA ve EMA Toggle --- */
.moving-average-switch {
    position: relative;
    padding: 10px 12px;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
}
.moving-average-switch:hover {
    background-color: rgba(98, 54, 255, 0.05);
}
.dark-mode .moving-average-switch {
    background-color: rgba(255, 255, 255, 0.05);
}
.dark-mode .moving-average-switch:hover {
    background-color: rgba(98, 54, 255, 0.1);
}

/* --- Ozel toggle switch stilleri --- */
.custom-toggle-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.custom-toggle-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color);
    user-select: none;
    cursor: pointer;
}
.dark-mode .custom-toggle-label {
    color: #fff;
}

.custom-toggle-input {
    position: relative;
    width: 42px;
    height: 21px;
    -webkit-appearance: none;
    appearance: none;
    background-color: #e4e4e4;
    border-radius: 20px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.3s;
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
}

.dark-mode .custom-toggle-input {
    background-color: #333;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.custom-toggle-input:checked {
    background-color: #6236FF;
}

.custom-toggle-input:before {
    content: "";
    position: absolute;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.custom-toggle-input:checked:before {
    left: 23px;
}

.custom-toggle-input:focus {
    box-shadow: 0 0 0 2px rgba(98, 54, 255, 0.3);
}

.custom-toggle-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.custom-toggle-input:disabled + .custom-toggle-label {
    color: var(--text-muted);
    cursor: not-allowed;
}

/* --- Aktif filtreler chip stilleri --- */
.chip-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}
.chip-label {
    font-weight: 500;
    font-size: 13px;
    color: var(--text-secondary);
}
.chip-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background-color: #F0F0F0;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    gap: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.dark-mode .chip {
    background-color: rgba(255,255,255,0.1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.chip.chip-outline {
    background-color: transparent;
    border: 1px solid currentColor;
}
.chip.chip-primary {
    background-color: rgba(98, 54, 255, 0.1);
    color: #6236FF;
}
.chip.chip-error {
    color: #dc3545;
}
.chip ion-icon {
    font-size: 16px;
}

/* --- AI Analiz Modal Stilleri --- */
.ai-analysis-content {
    line-height: 1.6;
    font-size: 14px;
}
.ai-analysis-content p {
    margin-bottom: 12px;
}
.ai-analysis-content strong {
    color: #6236FF;
    font-weight: 600;
}
.dark-mode .ai-analysis-content strong {
    color: #8B5FFF;
}
.ai-analysis-content em {
    font-style: italic;
    color: var(--text-secondary);
}
.analysis-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #6236FF;
}
.dark-mode .analysis-avatar {
    border-color: #8B5FFF;
}
#aiAnalysisModal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.dark-mode #aiAnalysisModal .modal-content {
    background-color: #030108;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
#aiAnalysisModal .modal-header {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 20px;
}
.dark-mode #aiAnalysisModal .modal-header {
    border-bottom-color: rgba(255,255,255,0.1);
}
#aiAnalysisModal .modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}
#aiAnalysisModal .modal-title {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--text-color);
}
.dark-mode #aiAnalysisModal .modal-title {
    color: #fff;
}

/* --- Typing Cursor Animasyonu --- */
.typing-cursor {
    display: inline-block;
    background-color: #6236FF;
    width: 2px;
    animation: blink 1s infinite;
    margin-left: 2px;
}
.dark-mode .typing-cursor {
    background-color: #8B5FFF;
}
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* --- Exchange Butonlari Responsive Tasarim --- */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.btn-group-responsive {
    flex-shrink: 0;
}

.action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

/* Exchange butonlari icin ozel stiller */
.exchange-buttons .btn {
    border-radius: 0;
    position: relative;
    min-width: 70px;
    text-align: center;
    font-size: 0.85rem;
    padding: 6px 10px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.exchange-buttons .btn:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.exchange-buttons .btn:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Action butonlari icin gelistirilmis stiller */
.filter-btn, .dropdown .btn {
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}

.filter-btn:hover, .dropdown .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.dark-mode .filter-btn, .dark-mode .dropdown .btn {
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.dark-mode .filter-btn:hover, .dark-mode .dropdown .btn:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Mobil cihazlar icin exchange butonlari */
@media (max-width: 768px) {
    .button-group {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }

    .btn-group-responsive {
        width: 100%;
    }

    .exchange-buttons {
        width: 100%;
        display: flex;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid rgba(var(--bs-primary-rgb), 0.2);
    }

    .dark-mode .exchange-buttons {
        box-shadow: 0 2px 6px rgba(0,0,0,0.3);
        border-color: rgba(var(--bs-primary-rgb), 0.3);
    }

    .exchange-buttons .btn {
        flex: 1;
        font-size: 0.75rem;
        padding: 10px 4px;
        min-width: auto;
        border-radius: 0 !important;
        margin: 0;
        border: none;
        border-right: 1px solid rgba(var(--bs-primary-rgb), 0.2);
        font-weight: 600;
        background-color: transparent;
    }

    .dark-mode .exchange-buttons .btn {
        border-right-color: rgba(var(--bs-primary-rgb), 0.3);
    }

    .exchange-buttons .btn:last-child {
        border-right: none;
    }

    .exchange-buttons .btn:first-child {
        border-top-left-radius: 7px !important;
        border-bottom-left-radius: 7px !important;
    }

    .exchange-buttons .btn:last-child {
        border-top-right-radius: 7px !important;
        border-bottom-right-radius: 7px !important;
    }

    .action-buttons {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
    }

    .action-buttons .btn {
        flex: 1;
        font-size: 0.85rem;
        padding: 10px 12px;
        min-width: auto;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
    }

    .action-buttons .filter-btn {
        flex: 1;
    }

    .action-buttons .sort-dropdown {
        flex: 1;
    }

    .action-buttons .dropdown .btn {
        width: 100%;
    }

    /* Section title mobilde stack yapma */
    .section-title {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px;
        padding: 0;
    }

    .section-title > div:first-child {
        font-size: 1.2rem;
        font-weight: 700;
        text-align: left;
        margin-bottom: 0;
    }

    /* Mobilde button-group icin ozel padding */
    .section-title .button-group {
        padding: 0 2px;
    }
}

/* Tablet cihazlar icin orta boyut */
@media (max-width: 992px) and (min-width: 769px) {
    .exchange-buttons .btn {
        font-size: 0.85rem;
        padding: 6px 12px;
        min-width: 70px;
    }

    .action-buttons .btn {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
}

/* Tablet cihazlar icin */
@media (max-width: 992px) and (min-width: 769px) {
    .exchange-buttons .btn {
        font-size: 0.8rem;
        padding: 8px 12px;
        min-width: 75px;
    }

    .action-buttons .btn {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
}

/* Cok kucuk ekranlar icin ek optimizasyon */
@media (max-width: 480px) {
    .exchange-buttons {
        box-shadow: 0 2px 8px rgba(0,0,0,0.12);
        border: 1px solid rgba(var(--bs-primary-rgb), 0.25);
    }

    .exchange-buttons .btn {
        font-size: 0.7rem;
        padding: 9px 3px;
        letter-spacing: -0.3px;
    }

    .action-buttons {
        gap: 6px;
    }

    .action-buttons .btn {
        font-size: 0.8rem;
        padding: 9px 8px;
        gap: 3px;
    }

    /* Ikonlari ayarla */
    .button-group ion-icon {
        font-size: 1rem;
    }

    /* Dropdown metnini kisalt */
    .action-buttons .dropdown .btn {
        font-size: 0.8rem;
    }

    .section-title > div:first-child {
        font-size: 1.1rem;
    }
}

/* Hover ve aktif durumlar */
.exchange-buttons .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: rgba(var(--bs-primary-rgb), 0.05);
}

.exchange-buttons .btn.active,
.exchange-buttons .btn:checked + .btn {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(var(--bs-primary-rgb), 0.3);
}

/* Dark mode icin ozel stiller */
.dark-mode .exchange-buttons .btn:hover {
    box-shadow: 0 2px 4px rgba(255,255,255,0.1);
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.dark-mode .exchange-buttons .btn.active,
.dark-mode .exchange-buttons .btn:checked + .btn {
    box-shadow: 0 2px 8px rgba(var(--bs-primary-rgb), 0.4);
}

/* Action buttons icin tooltip benzeri efekt */
.action-buttons .btn {
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.action-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.action-buttons .btn:hover::before {
    left: 100%;
}

.action-buttons .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(98, 54, 255, 0.25);
}

.dark-mode .action-buttons .btn:hover {
    box-shadow: 0 3px 8px rgba(98, 54, 255, 0.35);
}

/* Mobilde hover efektini kaldir */
@media (max-width: 768px) {
    .action-buttons .btn:hover {
        transform: none;
    }

    .exchange-buttons .btn:hover {
        transform: none;
    }
}

/* --- Responsive Ekran Ayarlari --- */
@media (max-width: 576px) {
    .filter-title {
        font-size: 13px;
    }
    .preset-buttons {
        flex-direction: column;
        gap: 6px;
    }
    .preset-buttons .btn {
        width: 100%;
    }
    .range-labels {
        font-size: 10px;
    }
}
