/* Para Birimi Seçici Stilleri */
.currency-selector {
    position: relative;
    display: inline-block;
}

.currency-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px !important;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.currency-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white !important;
    text-decoration: none;
}

.currency-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.currency-symbol {
    font-weight: bold;
    font-size: 16px;
}

.currency-code {
    font-size: 12px;
    opacity: 0.9;
}

.currency-dropdown {
    min-width: 200px;
    padding: 8px 0;
    margin-top: 5px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: white;
    animation: dropdownFadeIn 0.2s ease;
}

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

.currency-dropdown .dropdown-header {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 4px;
}

.currency-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

.currency-item:hover {
    background: #f9fafb;
    color: #111827;
    text-decoration: none;
}

.currency-item.active {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
}

.currency-item .currency-symbol {
    font-weight: bold;
    font-size: 16px;
    color: inherit;
}

.currency-item .currency-name {
    flex: 1;
    margin-left: 8px;
    font-size: 14px;
}

.currency-check {
    color: #10b981;
    font-weight: bold;
    font-size: 14px;
}

/* Dark theme support */
.theme-dark .currency-dropdown {
    background: #1f2937;
    border: 1px solid #374151;
}

.theme-dark .currency-dropdown .dropdown-header {
    color: #9ca3af;
    border-bottom-color: #374151;
}

.theme-dark .currency-item {
    color: #d1d5db;
}

.theme-dark .currency-item:hover {
    background: #374151;
    color: #f9fafb;
}

.theme-dark .currency-item.active {
    background: #1e40af;
    color: #dbeafe;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .currency-toggle {
        padding: 6px 10px !important;
        font-size: 13px;
    }
    
    .currency-symbol {
        font-size: 14px;
    }
    
    .currency-code {
        font-size: 11px;
    }
    
    .currency-dropdown {
        min-width: 180px;
        right: 0;
        left: auto;
    }
}

/* Header specific styles */
.c-header .currency-toggle {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.c-header .currency-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Simple header styles */
.c-banner .currency-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.c-banner .currency-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Admin panel styles */
.admin .currency-toggle {
    background: var(--primary);
    border: 1px solid var(--primary-700);
    color: white !important;
}

.admin .currency-toggle:hover {
    background: var(--primary-700);
    border-color: var(--primary-700);
    color: white !important;
}

.theme-dark .admin .currency-toggle {
    background: #374151;
    border: 1px solid #4b5563;
    color: #f9fafb !important;
}

.theme-dark .admin .currency-toggle:hover {
    background: #4b5563;
    border-color: #6b7280;
    color: #f9fafb !important;
}
