.icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    font-size: 20px;
    margin-right: 15px;
}

.stat-box {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.stat-box .title {
    font-size: 14px;
    color: var(--bs-secondary);
    margin-bottom: 5px;
}

.stat-box .value {
    font-size: 24px;
    font-weight: bold;
}

.transactions .item {
    padding: 15px 0;
    margin: 0 !important;
}

.img-wrapper {
    width: 40px;
    height: 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-right: 15px;
}

.img-wrapper img {
    width: 100%;
    height: auto;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(var(--bs-secondary-rgb), 0.1);
}

.card-header-action {
    display: flex;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 12px;
}

.badge ion-icon {
    margin-right: 5px;
}

.badge-success {
    background-color: var(--bs-success);
    color: #fff;
}

.badge-secondary {
    background-color: var(--bs-secondary);
    color: #fff;
}

.badge-container {
    display: flex;
    justify-content: center;
}

/* CSS değişkenleri - Tema renkleri */
:root {
    /* Light Mode (Varsayılan) */
    --card-color: #ffffff;
    --text-color: #434a54;
    --details-bg: #f5f5f5;
    --target-bg: #e9ecef;
    --target-text: #434a54;
    --button-bg: #e9ecef;
    --button-text: #434a54;
}

/* Dark Mode */
.dark-mode {
    --card-color: #161129;
    --text-color: #ffffff;
    --details-bg: #23243a;
    --target-bg: #030108;
    --target-text: #ffffff;
    --button-bg: #1a1d21;
    --button-text: #ffffff;
}

/* Main Container */
.signals-container {
  display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
  padding: 10px;
    width: 100%;
}

/* Signal Card */
.signal-card {
  background-color: var(--card-color);
  padding: 15px;
  border-radius: 10px;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
  position: relative;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}

/* Signal Details */
.signal-details {
  margin-top: 10px;
  display: none;
  background-color: var(--details-bg);
  padding: 10px;
  border-radius: 10px;
  box-sizing: border-box;
  width: 100%;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.signal-details.visible {
  display: block;
}

/* Detail Items */
.detail-item {
  background-color: var(--target-bg);
  border-radius: 5px;
  padding: 8px 10px;
  margin: 5px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--target-text); 
}

.detail-item.profit {
  background-color: #28a745;
  color: white;
}

.detail-item.loss {
  background-color: #b33a3a;
  color: white;
}

/* Signal Info Layout */
.signal-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.signal-header {
    display: flex;
    justify-content: space-between;
}

.coin-info {
    display: flex;
    flex-direction: column;
}

.position-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .signals-container {
    grid-template-columns: 1fr;
  }
}

/* Pozisyon kartı header'ını yan yana düzenleme */
.position-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    max-width: 100%;
}

.position-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Coin bilgisi yan yana */
.position-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 15px;
    justify-content: flex-start;
}

/* Coin logosu */
.position-header .coin-logo {
    width: 28px;
    height: 28px;
    margin-right: 10px;
    border-radius: 50%;
}

/* Coin ismi */
.position-header .coin-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-right: 10px;
    margin-bottom: 0;
    letter-spacing: 0.5px;
    color: #000;
}

.dark-mode .position-header .coin-name {
    color: var(--text-color);
}

/* Pozisyon yönü etiketi */
.position-side {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
}

.position-side.long {
    background-color: #00a352;
    color: #fff;
}

.position-side.short {
    background-color: #d1324a;
    color: #fff;
}

/* Pozisyon verileri */
.position-data {
    display: flex;
    flex-direction: column;
    margin: 10px 0 15px;
}

.data-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.data-label {
    color: #8a8a9a;
}

.data-value {
    font-weight: 500;
    text-align: right;
    color: #000;
}

.data-value.profit {
    color: #00a352;
}

.data-value.loss {
    color: #d1324a;
}

/* Butonlar */
.position-actions {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.position-actions .btn {
    flex: 1;
    padding: 6px 0;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.position-actions .btn ion-icon {
    margin-right: 4px;
    font-size: 14px;
}

.position-actions .btn-orders {
    background-color: #4040BB;
    color: white;
}

.position-actions .btn-chart {
    background-color: #5557da;
    color: white;
}

.position-actions .btn-close {
    background-color: #d1324a;
    color: white;
}

/* Emirler detay paneli */
.orders-detail-panel {
    background-color: #9c9999;
    border-radius: 8px;
    padding: 12px;
    margin-top: 10px;
    display: none;
}

.orders-detail-panel.visible {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Grafik detay paneli */
.chart-detail-panel {
    background-color: #9c9999;
    border-radius: 8px;
    padding: 12px;
    margin-top: 10px;
    display: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    left: 0;
    right: 0;
}

.chart-detail-panel.visible {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.detail-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.detail-title ion-icon {
    margin-right: 5px;
}

/* Emir kartı stili */
.order-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    border-left: 3px solid transparent;
}

.order-item:last-child {
    margin-bottom: 0;
}

.order-item.tp {
    border-left-color: #00a352;
}

.order-item.sl {
    border-left-color: #d1324a;
}

/* Emir başlığı */
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

/* Emir tipi etiketi */
.order-type {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    background-color: rgba(80, 82, 205, 0.2);
    color: #8084ff;
}

.order-type.tp {
    background-color: rgba(0, 163, 82, 0.15);
    color: #00a352;
}

.order-type.sl {
    background-color: rgba(209, 50, 74, 0.15);
    color: #d1324a;
}

/* Fiyat gösterimi */
.order-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: #000;
}

/* Emir detayları */
.order-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #8a8a9a;
}

.order-value {
    color: #000000;
}

.dark-mode .order-value {
    color: #fff;
}

/* Emir durumu */
.order-status {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    background-color: rgba(80, 82, 205, 0.2);
    color: #8084ff;
    display: inline-flex;
    align-items: center;
}

.order-status.untriggered {
    background-color: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

/* Trailing Stop için özel stiller */
.order-item.trailing-stop {
    border-left-color: #9747ff;
}

.order-type.trailing-stop {
    background-color: rgba(151, 71, 255, 0.15);
    color: #9747ff;
}

.trailing-details {
    margin-top: 6px;
    padding: 8px;
    background-color: rgba(151, 71, 255, 0.05);
    border-radius: 6px;
    font-size: 0.8rem;
}

.trailing-details .detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.trailing-details .detail-row:last-child {
    margin-bottom: 0;
}

.trailing-details .detail-label {
    color: #8a8a9a;
}

.trailing-details .detail-value {
    color: #000;
    font-weight: 500;
}


/* Animasyonlar */
.rotating {
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

/* Toast bildirimleri */
#toast-container {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.toast {
    min-width: 280px;
    max-width: 350px;
    background-color: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.toast-header {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.toast-body {
    padding: 0.75rem;
    word-wrap: break-word;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* KAPAT butonu stili */
.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: none;
}

.btn-danger:hover, .btn-danger:active, .btn-danger:focus {
    background-color: #c82333;
    border-color: #bd2130;
    color: white;
}

/* Grafik stil kuralları */
.chart-container {
    background-color: var(--card-color);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden !important;
}

/* Canvas stil kısıtlamaları */
canvas {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
}

.position-summary {
    background-color: var(--card-color);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.order-details {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.order-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 8px;
    background-color: var(--details-bg);
}

.stop-loss .badge {
    background-color: #d1324a;
}

.take-profit .badge {
    background-color: #00a352;
}

.trailing-stop .badge {
    background-color: #9747ff;
}

/* Modal arka planı */
.modal-content {
    background-color: var(--card-color);
    color: var(--text-color);
}

.modal-header {
    border-bottom-color: rgba(var(--bs-secondary-rgb), 0.1);
}

.modal-footer {
    border-top-color: rgba(var(--bs-secondary-rgb), 0.1);
}

/* Pozisyon kartları konteyneri */
.position-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Coin bilgisi yan yana */
.position-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 15px;
    justify-content: flex-start;
}

/* Dark Mode için mevcut renkler korunacak */
.dark-mode .position-card {
    background-color: #161129;
}

.dark-mode .orders-detail-panel {
    background-color: #1e1a32;
}

.dark-mode .order-item {
    background-color: #161129;
}

.dark-mode .order-price {
    color: #fff;
}

.dark-mode .data-value {
    color: #fff;
}

.dark-mode .chart-detail-panel {
    background-color: #1e1a32;
}

/* Trading View - Tam Ekran Grafik Düzeni */
.fullscreen-chart-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 140px); /* Header ve bottom navbar içn alan bırak */
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#tradingChart {
    width: 100%;
    height: 100%;
    background-color: var(--ion-background-color);
    z-index: 1;
    touch-action: pan-x pan-y;
    -ms-touch-action: pan-x pan-y;
    overscroll-behavior: contain;
}

/* Sağ fiyat ölçeği için dokunmatik desteği ekle */
.tv-lightweight-charts {
    touch-action: pan-x pan-y;
    -ms-touch-action: pan-x pan-y;
}

/* Fiyat ölçeği için özel kaydırma desteği */
.tv-lightweight-charts .tv-lightweight-charts-price-axis {
    touch-action: pan-y;
    -ms-touch-action: pan-y;
}

/* Zaman ölçeği için özel kaydırma desteği */
.tv-lightweight-charts .tv-lightweight-charts-time-axis {
    touch-action: pan-x;
    -ms-touch-action: pan-x;
}

/* Sol Yan İşlem Butonları */
.side-trading-buttons {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.side-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.side-btn ion-icon {
    font-size: 20px;
    margin-bottom: 3px;
}

.side-btn span {
    font-size: 11px;
    font-weight: 500;
}

.side-btn:hover {
    transform: scale(1.05);
}

/* İşlem Panelleri */
.trading-panel {
    position: absolute;
    width: 280px;
    background-color: #ffffff; /* Light mod için varsayılan arka plan rengi */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 20;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.2s ease;
    pointer-events: none;
    left: 85px;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
}

.trading-panel.active {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    pointer-events: all;
    background-color: #ffffff; /* Light mod için arka plan rengi (aktif durum) */
}

/* Panel header ve body için ek stiller */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #000000; /* Light mod için metin rengi */
}

.panel-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.panel-body {
    padding: 15px;
    color: #000000; /* Light mod için metin rengi */
}

.trading-panel .form-group {
    margin-bottom: 12px;
}

.trading-panel .form-group:last-child {
    margin-bottom: 0;
}

/* Alt Kontrol Paneli */
.bottom-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95); /* Light mod için opak arka plan */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    z-index: 5; /* Değeri düşürerek indikatör ve çizim panellerinin altında kalmasını sağlıyoruz */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.coin-controls {
    flex: 1;
    max-width: 70%;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #f5f7fa;
    border-radius: 30px;
    padding: 0 5px 0 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    max-width: 100%;
}

.search-container:focus-within {
    box-shadow: 0 2px 6px rgba(var(--bs-primary-rgb), 0.15);
    border-color: rgba(var(--bs-primary-rgb), 0.3);
}

.search-container ion-icon {
    margin-right: 8px;
    color: var(--ion-color-medium);
    min-width: 16px;
}

.search-container input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 0;
    outline: none;
    color: var(--ion-text-color);
    font-size: 14px;
    width: 100%;
    min-width: 0; /* Önemli: Flexbox içinde küçülmesine izin ver */
}

.search-container .btn {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    min-width: 32px; /* Sabit genişlik */
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
}

.timeframe-controls {
    width: 85px;
    margin-left: 12px;
}

.timeframe-controls select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #f5f7fa;
    font-size: 14px;
    font-weight: 500;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Dark Mode için Renk Ayarları */
:root.dark-mode .bottom-controls,
body.dark-mode .bottom-controls {
    background-color: rgba(30, 34, 48, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

:root.dark-mode .search-container,
body.dark-mode .search-container {
    background-color: rgba(26, 29, 33, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

:root.dark-mode .search-container input,
body.dark-mode .search-container input {
    color: #e4e6eb;
}

:root.dark-mode .timeframe-controls select,
body.dark-mode .timeframe-controls select {
    background-color: rgba(26, 29, 33, 0.95);
    color: #e4e6eb;
    border-color: rgba(255, 255, 255, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Responsive Düzenleme */
@media (max-width: 576px) {
    .bottom-controls {
        padding: 10px 12px;
        flex-wrap: nowrap;
        align-items: center;
    }
    
    .coin-controls {
        max-width: 65%;
    }
    
    .search-container {
        padding: 0 3px 0 10px;
    }
    
    .search-container input {
        padding: 8px 0;
        font-size: 13px;
    }
    
    .search-container ion-icon {
        margin-right: 5px;
        font-size: 16px;
    }
    
    .search-container .btn {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }
    
    .timeframe-controls {
        width: 70px;
        margin-left: 8px;
    }
    
    .timeframe-controls select {
        padding: 6px 8px;
        padding-right: 25px;
        font-size: 13px;
        background-position: right 8px center;
        background-size: 10px;
    }
    
    /* Yan butonlar için responsive stil */
    .side-trading-buttons {
        left: 10px;
    }
    
    .side-btn {
        width: 50px;
        height: 50px;
    }
    
    .side-btn ion-icon {
        font-size: 18px;
    }
    
    .side-btn span {
        font-size: 9px;
    }
    
    .trading-panel {
        width: 250px;
        left: 70px;
    }
}

/* Çok küçük ekranlar için ek düzenlemeler */
@media (max-width: 360px) {
    .bottom-controls {
        padding: 8px 10px;
    }
    
    .coin-controls {
        max-width: 60%;
    }
    
    .search-container input {
        font-size: 12px;
        padding: 6px 0;
    }
    
    .timeframe-controls {
        width: 60px;
        margin-left: 6px;
    }
    
    .timeframe-controls select {
        font-size: 12px;
        padding: 5px 6px;
        padding-right: 20px;
    }
}

@media (max-height: 700px) {
    .fullscreen-chart-container {
        height: calc(100vh - 120px);
    }
}

/* Logo ve Sembol Gösterimi */
.chart-header {
    font-weight: 600;
}

.chart-header .symbol-info {
    font-size: 16px;
    margin-bottom: 3px;
}

.chart-header .price-info {
    font-size: 18px;
    color: var(--bs-primary);
    font-weight: 700;
}

/* Trading View Ek Stiller */
.fullscreen-chart-container {
    background-color: var(--ion-background-color);
}

/* Dark Mode için Daha İyi Arka Plan Renkleri */
:root.dark-mode .fullscreen-chart-container,
body.dark-mode .fullscreen-chart-container {
    background-color: #1a1d21;
}

:root.dark-mode .trading-panel,
body.dark-mode .trading-panel {
    background-color: #2a2e39;
    color: #e4e6eb;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

:root.dark-mode .trading-panel.active,
body.dark-mode .trading-panel.active {
    background-color: #2a2e39; /* Dark mod için arka plan rengi (aktif durum) */
}

:root.dark-mode .panel-header,
body.dark-mode .panel-header {
    color: #e4e6eb; /* Dark mod için metin rengi */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

:root.dark-mode .panel-body,
body.dark-mode .panel-body {
    color: #e4e6eb; /* Dark mod için metin rengi */
}

/* Form elemanları için dark mode/light mode ayarları */
:root.dark-mode .trading-panel input,
:root.dark-mode .trading-panel select,
body.dark-mode .trading-panel input,
body.dark-mode .trading-panel select {
    background-color: #1a1d21;
    border-color: rgba(255, 255, 255, 0.1);
    color: #e4e6eb;
}

:root.dark-mode .trading-panel .form-label,
body.dark-mode .trading-panel .form-label {
    color: #d0d0d0;
}

/* Mobil Cihazlar için Ek Stiller */
@media (max-width: 767px) {
    .fullscreen-chart-container {
        height: calc(100vh - 120px);
    }
    
    .bottom-controls {
        padding: 8px 10px;
    }
    
    .chart-header {
        top: 5px;
        right: 10px;
    }
    
    .chart-header .symbol-info {
        font-size: 14px;
    }
    
    .chart-header .price-info {
        font-size: 16px;
    }
}

/* TP/SL Hareketleri için Uyarı Stili */
.price-change-info.invalid-move {
    background-color: rgba(255, 51, 51, 0.8);
    color: white;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.5);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 10px rgba(255, 51, 51, 0.5); }
    50% { box-shadow: 0 0 15px rgba(255, 51, 51, 0.8); }
    100% { box-shadow: 0 0 10px rgba(255, 51, 51, 0.5); }
}

/* Geri Butonu Stili */
.trading-back-button {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: var(--bs-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    cursor: pointer;
    transition: all 0.2s ease;
}

.trading-back-button:hover {
    transform: scale(1.05);
    background-color: var(--bs-primary-darker, #0056b3);
}

.trading-back-button ion-icon {
    font-size: 20px;
}

/* Dark mode için stil */
.dark-mode .trading-back-button {
    background-color: #2a2e39;
    color: #e4e6eb;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

/* Mobil için stil */
@media (max-width: 576px) {
    .trading-back-button {
        top: 10px;
        left: 10px;
        width: 35px;
        height: 35px;
    }
}

/* İndikatör panel stili */
.indicator-controls {
    display: flex;
    align-items: center;
    margin: 0 12px;
}

.indicator-controls .btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #f5f7fa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.indicator-controls .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(var(--bs-primary-rgb), 0.15);
}

.indicator-controls .btn ion-icon {
    font-size: 18px;
}

/* İndikatör paneli içeriği */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color);
}

.panel-header h4 {
    margin: 0;
    font-size: 16px;
    color: var(--text-color);
}

.panel-body {
    padding: 10px;
}

/* Çizim araçları paneli */
.drawing-tools-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.drawing-tool-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.drawing-tool-item:hover {
    background: var(--border-color);
}

.drawing-tool-item.active {
    background: var(--primary-color);
    color: #fff;
}

.drawing-tool-item ion-icon {
    font-size: 20px;
}

.drawing-tool-item span {
    font-size: 14px;
}

.clear-tool {
    grid-column: span 2;
    justify-content: center;
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
}

.clear-tool:hover {
    background: rgba(255, 59, 48, 0.2);
}

.drawing-toolbar {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(30, 30, 30, 0.8);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 15; /* Bottom-controls üzerinde görünmesi için z-index değerini artırıyoruz */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Sabit Chatbot Panel Stilleri - Sadece masaüstü */
.chatbot-fixed-panel {
    position: fixed;
    top: 0;
    right: -400px; /* Başlangıçta gizli */
    width: 400px;
    height: 100vh;
    background: var(--card-color, #ffffff);
    border-left: 1px solid rgba(var(--bs-secondary-rgb), 0.2);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease-in-out;
}

/* Panel açık olduğunda */
.trading-chart-page.chatbot-open .chatbot-fixed-panel {
    right: 0;
}

.chatbot-fixed-panel .panel-header {
    padding: 15px 20px;
    background: rgba(var(--bs-primary-rgb), 0.1);
    border-bottom: 1px solid rgba(var(--bs-secondary-rgb), 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.chatbot-fixed-panel .panel-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--bs-primary);
}

.chatbot-fixed-panel .close-panel {
    background: none;
    border: none;
    color: var(--bs-secondary);
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.chatbot-fixed-panel .close-panel:hover {
    background: rgba(var(--bs-secondary-rgb), 0.1);
    color: var(--bs-danger);
}

.chatbot-fixed-panel .panel-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-fixed-panel .messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    margin-bottom: 10px;
}

.chatbot-fixed-panel .chatFooter {
    padding: 15px 20px;
    border-top: 1px solid rgba(var(--bs-secondary-rgb), 0.1);
    flex-shrink: 0;
}

.chatbot-fixed-panel .chatbot-input {
    width: 100%;
    border: 1px solid rgba(var(--bs-secondary-rgb), 0.3);
    border-radius: 25px;
    padding: 10px 15px;
    font-size: 14px;
}

.chatbot-fixed-panel .input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-fixed-panel .input-wrapper .btn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Chart alanının boyutunu ayarla */
.trading-chart-page.chatbot-open #tradingChart {
    width: calc(100vw - 400px) !important;
    transition: width 0.3s ease-in-out;
}

.trading-chart-page.chatbot-open .fullscreen-chart-container {
    width: calc(100vw - 400px) !important;
    transition: width 0.3s ease-in-out;
}

/* Normal durum için transition */
#tradingChart {
    width: 100vw !important;
    transition: width 0.3s ease-in-out;
}

.fullscreen-chart-container {
    width: 100vw !important;
    transition: width 0.3s ease-in-out;
}

/* Dark mode desteği */
.dark-mode .chatbot-fixed-panel {
    background: var(--card-color, #161129);
    border-left-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .chatbot-fixed-panel .panel-header {
    background: rgba(var(--bs-primary-rgb), 0.2);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .chatbot-fixed-panel .chatFooter {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .chatbot-fixed-panel .chatbot-input {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Typing indicator stilleri */
.typing-bubble {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 15px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
}

.typing-dots {
    display: flex;
    gap: 3px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
    animation-delay: 0s;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    30% {
        transform: scale(1);
        opacity: 1;
    }
}

.typing-text {
    font-size: 13px;
    opacity: 0.9;
    font-style: italic;
}

/* Dark mode için typing bubble */
.dark-mode .typing-bubble {
    background: linear-gradient(135deg, #4c63d2 0%, #5a5783 100%);
}

/* Input disabled durumu */
.chatbot-fixed-panel .chatbot-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Küçük ekranlar için gizle */
@media (max-width: 767px) {
    .chatbot-fixed-panel {
        display: none !important;
    }
    
    .trading-chart-page.chatbot-open #tradingChart {
        width: 100vw !important;
    }
    
    .trading-chart-page.chatbot-open .fullscreen-chart-container {
        width: 100vw !important;
    }
}

.indicator-controls .btn ion-icon {
    font-size: 18px;
}

.indicator-panel {
    position: absolute;
    bottom: 100px;
    right: 20px;
    width: 250px;
    background: var(--card-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 15;
    display: none;
}

.indicator-panel.active {
    display: block;
}

.indicator-panel .panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    margin-bottom: 0;
}

.indicator-panel .panel-header h4 {
    margin: 0;
    font-size: 16px;
}

.indicator-panel .panel-body {
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
}

.indicator-options .form-check {
    margin-bottom: 10px;
}

.indicator-options .form-check-label {
    font-size: 14px;
}

/* Dark Mode stillerini ayarla */
.dark-mode .indicator-panel {
    background-color: rgba(40, 44, 52, 0.9);
    color: #f1f1f1;
}

.light-mode .indicator-panel {
    background-color: rgba(240, 240, 240, 0.9);
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Dark mode için indicator controls buton stili */
:root.dark-mode .indicator-controls .btn,
body.dark-mode .indicator-controls .btn {
    background-color: rgba(26, 29, 33, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e4e6eb;
}

/* Coin Autocomplete Stilleri */
.search-container {
    position: relative;
}

.coin-autocomplete {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 5px;
}

.autocomplete-list {
    padding: 4px 0;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid rgba(var(--bs-secondary-rgb), 0.1);
}

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

.autocomplete-item:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.autocomplete-item.selected {
    background-color: rgba(var(--bs-primary-rgb), 0.2);
}

.autocomplete-coin-logo {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
}

.autocomplete-coin-info {
    flex: 1;
}

.autocomplete-coin-symbol {
    font-weight: 600;
    font-size: 13px;
    color: var(--bs-dark);
}

.autocomplete-coin-name {
    font-size: 11px;
    color: var(--bs-secondary);
    margin-top: 2px;
}

/* Dark mode için autocomplete */
:root.dark-mode .coin-autocomplete,
body.dark-mode .coin-autocomplete {
    background: var(--card-color, #2c2c2c);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
}

:root.dark-mode .autocomplete-item,
body.dark-mode .autocomplete-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

:root.dark-mode .autocomplete-coin-symbol,
.dark-mode .autocomplete-coin-symbol {
    color: var(--bs-light);
}

/* Mobil için autocomplete */
@media (max-width: 576px) {
    .coin-autocomplete {
        max-height: 250px;
        margin-bottom: 3px;
    }
    
    .autocomplete-item {
        padding: 8px 10px;
    }
    
    .autocomplete-coin-logo {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }
    
    .autocomplete-coin-symbol {
        font-size: 13px;
    }
    
    .autocomplete-coin-name {
        font-size: 11px;
    }
}

/* ===== İZLEME LİSTESİ STİLLERİ ===== */

/* İzleme Listesi Panel */
.watchlist-panel {
    position: fixed;
    top: 0;
    left: -320px; /* Başlangıçta gizli */
    width: 320px;
    height: 100vh;
    background: var(--ion-background-color, #ffffff);
    border-right: 1px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1);
    z-index: 1000;
    transition: left 0.3s ease-in-out;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.watchlist-panel.active {
    left: 0; /* Açık durumda */
}

/* Dark mode için panel */
.dark-mode .watchlist-panel {
    background: var(--ion-background-color, #1a1a1a);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* Panel Header */
.watchlist-panel .panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1);
    background: var(--ion-background-color);
}

.watchlist-panel .panel-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--ion-text-color);
}

/* Panel Body */
.watchlist-panel .panel-body {
    padding: 20px;
}

/* Watchlist Search */
.watchlist-search .input-group-text {
    background: var(--ion-item-background, #f8f9fa);
    border: 1px solid var(--ion-border-color, #dee2e6);
    color: var(--ion-text-color);
}

.watchlist-search .form-control {
    background: var(--ion-item-background, #ffffff);
    border: 1px solid var(--ion-border-color, #dee2e6);
    color: var(--ion-text-color);
}

.watchlist-search .form-control:focus {
    border-color: var(--ion-color-primary, #007bff);
    box-shadow: 0 0 0 0.2rem rgba(var(--ion-color-primary-rgb, 0, 123, 255), 0.25);
}

/* Search Results */
.search-results {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--ion-border-color, #dee2e6);
    border-top: none;
    border-radius: 0 0 4px 4px;
    background: var(--ion-item-background, #ffffff);
    display: none;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.05);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background: var(--ion-color-light, #f8f9fa);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-logo {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.search-result-symbol {
    font-weight: 600;
    color: var(--ion-text-color);
}

.search-result-name {
    font-size: 12px;
    color: var(--ion-text-color-step-400);
    margin-left: auto;
}

/* Watchlist Content */
.watchlist-content {
    min-height: 200px;
}

.watchlist-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
}

.watchlist-item:hover {
    background: rgba(var(--ion-color-primary-rgb, 0, 123, 255), 0.05);
    transform: translateX(5px);
}

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

.watchlist-item-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 12px;
    border: 2px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1);
}

.watchlist-item-info {
    flex: 1;
}

.watchlist-item-symbol {
    font-weight: 600;
    font-size: 14px;
    color: var(--ion-text-color);
    margin-bottom: 2px;
}

.watchlist-item-name {
    font-size: 12px;
    color: var(--ion-text-color-step-400);
}

.watchlist-item-price {
    text-align: right;
}

.watchlist-item-current-price {
    font-weight: 600;
    font-size: 14px;
    color: var(--ion-text-color);
    margin-bottom: 2px;
}

.watchlist-item-change {
    font-size: 12px;
    font-weight: 500;
}

.watchlist-item-change.positive {
    color: var(--ion-color-success, #28a745);
}

.watchlist-item-change.negative {
    color: var(--ion-color-danger, #dc3545);
}

.watchlist-item-actions {
    display: flex;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.2s;
}

.watchlist-item:hover .watchlist-item-actions {
    opacity: 1;
}

.watchlist-remove-btn {
    background: var(--ion-color-danger, #dc3545);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.watchlist-remove-btn:hover {
    background: var(--ion-color-danger-shade, #c82333);
    transform: scale(1.1);
}

/* Quick Add Section */
.quick-add-section {
    border-top: 1px solid rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.1);
    padding-top: 15px;
}

.quick-add-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.quick-add-btn {
    font-size: 11px;
    padding: 4px 8px;
    font-weight: 600;
    border-radius: 15px;
    transition: all 0.2s;
}

.quick-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Empty State */
.watchlist-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--ion-text-color-step-400);
}

.watchlist-empty ion-icon {
    font-size: 48px;
    margin-bottom: 10px;
    opacity: 0.5;
}

.watchlist-empty p {
    margin: 0;
    font-size: 14px;
}

/* Dark Mode Specific Styles */
.dark-mode .watchlist-search .input-group-text {
    background: #2a2a2a;
    border-color: #404040;
    color: #ffffff;
}

.dark-mode .watchlist-search .form-control {
    background: #1a1a1a;
    border-color: #404040;
    color: #ffffff;
}

.dark-mode .search-results {
    background: #2a2a2a;
    border-color: #404040;
}

.dark-mode .search-result-item:hover {
    background: #404040;
}

.dark-mode .watchlist-item:hover {
    background: rgba(98, 54, 255, 0.1);
}

/* Mobil Responsive */
@media (max-width: 768px) {
    .watchlist-panel {
        width: 280px;
        left: -280px;
    }
    
    .watchlist-panel .panel-body {
        padding: 15px;
    }
    
    .watchlist-item-logo {
        width: 28px;
        height: 28px;
    }
    
    .watchlist-item-symbol {
        font-size: 13px;
    }
    
    .watchlist-item-current-price {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .watchlist-panel {
        width: 250px;
        left: -250px;
    }
}

/* === HİGHLIGHTS COİNLERİ STİLLERİ === */

/* Highlights container */
.highlights-quick-add {
    width: 100%;
}

/* Highlights coins grid */
.highlights-coins-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

/* Exchange info */
.highlights-exchange-info {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5px 0;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--ion-border-color, #e0e0e0);
}

.highlights-exchange-info small {
    font-size: 11px;
    font-weight: 500;
}

.highlights-exchange-info ion-icon {
    font-size: 12px;
    margin-right: 3px;
    vertical-align: middle;
}

/* Dark mode için exchange info */
.dark-mode .highlights-exchange-info {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Highlight coin card */
.highlight-coin-card {
    background: var(--ion-item-background, #ffffff);
    border: 1px solid var(--ion-border-color, #e0e0e0);
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.highlight-coin-card:hover {
    border-color: var(--ion-color-primary, #007bff);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Dark mode için highlight card */
.dark-mode .highlight-coin-card {
    background: var(--ion-background-color, #2a2a2a);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .highlight-coin-card:hover {
    border-color: var(--ion-color-primary, #007bff);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Coin header */
.highlight-coin-card .coin-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.highlight-coin-card .coin-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
}

.highlight-coin-card .coin-info {
    flex: 1;
    min-width: 0;
}

.highlight-coin-card .coin-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--ion-text-color);
    margin: 0;
    line-height: 1.2;
}

.highlight-coin-card .coin-price {
    font-size: 11px;
    color: var(--ion-text-color-step-400);
    margin: 0;
    line-height: 1.2;
}

/* Coin change percentage */
.highlight-coin-card .coin-change {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 5px;
}

/* Add to watchlist button */
.highlight-coin-card .add-to-watchlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    z-index: 10;
}

.highlight-coin-card .add-to-watchlist-btn ion-icon {
    font-size: 12px;
}

/* Hover effect için buton */
.highlight-coin-card .add-to-watchlist-btn:hover {
    background-color: var(--ion-color-primary);
    color: white;
    border-color: var(--ion-color-primary);
}

/* Responsive tasarım */
@media (max-width: 320px) {
    .highlights-coins-grid {
        grid-template-columns: 1fr;
    }
    
    .highlight-coin-card {
        min-height: 70px;
        padding: 8px;
    }
    
    .highlight-coin-card .coin-logo {
        width: 20px;
        height: 20px;
    }
    
    .highlight-coin-card .coin-name {
        font-size: 12px;
    }
    
    .highlight-coin-card .coin-price {
        font-size: 10px;
    }
    
    .highlight-coin-card .coin-change {
        font-size: 11px;
    }
}

/* Loading ve hata durumları */
.highlights-quick-add .spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

.highlights-quick-add .text-danger {
    font-size: 12px;
}

.highlights-quick-add .text-muted {
    font-size: 12px;
}

/* Endeks Autocomplete Stilleri */
.autocomplete-index {
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-left: 3px solid #667eea;
}

.autocomplete-index:hover {
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
}

.index-badge {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 600;
    margin-left: 8px;
    letter-spacing: 0.5px;
}

.autocomplete-coin-price {
    font-size: 11px;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-change {
    font-weight: 600;
}

.price-change.positive {
    color: #00c176;
}

.price-change.negative {
    color: #cf304a;
}

/* Dark mode için endeks stilleri */
body.dark-mode .autocomplete-index {
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
}

body.dark-mode .autocomplete-index:hover {
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.25), rgba(118, 75, 162, 0.25));
}
