/* Gelişmiş Arama Stilleri */
.advanced-search-container {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e1e5e9;
}

.search-input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.search-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.search-input:focus {
    outline: none;
    border-color: #e11414;
    background: white;
    box-shadow: 0 0 0 3px rgba(225, 20, 20, 0.1);
}

.search-btn {
    background: linear-gradient(135deg, #e11414 0%, #c11212 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 20, 20, 0.3);
}

.search-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    align-items: center;
}

.search-filter {
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    transition: border-color 0.3s ease;
}

.search-filter:focus {
    outline: none;
    border-color: #e11414;
}

.clear-filters {
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.clear-filters:hover {
    background: #5a6268;
}

/* Popüler Aramalar */
.popular-searches {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.popular-searches h4 {
    color: #666;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.popular-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.popular-tag:hover {
    background: #e11414;
    color: white;
    border-color: #e11414;
    transform: translateY(-1px);
}

/* Arama Sonuçları */
.search-results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 4px solid #e11414;
}

.result-count {
    font-weight: bold;
    color: #e11414;
    font-size: 16px;
}

/* İstasyon Grid */
.stations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.station-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    border: 1px solid #f0f0f0;
}

.station-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: #e11414;
}

.station-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.station-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.station-card:hover .station-logo {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(225,20,20,0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.station-card:hover .play-overlay {
    opacity: 1;
}

.play-button {
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    color: #e11414;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
}

.station-info {
    padding: 20px;
}

.station-name {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3;
}

.station-genre, .station-country {
    margin: 0 0 6px 0;
    color: #666;
    font-size: 14px;
}

.station-stats {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    font-size: 12px;
    color: #999;
    flex-wrap: wrap;
}

.station-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.favorite-btn:hover {
    background: white;
    transform: scale(1.1);
}

.favorite-btn.active {
    color: #e11414;
}

/* Bildirim Sistemi */
.notification-container {
    position: relative;
}

.notification-bell {
    position: relative;
    display: inline-block;
    cursor: pointer;
    font-size: 22px;
    color: #666;
    transition: color 0.3s ease;
    padding: 8px;
}

.notification-bell:hover {
    color: #e11414;
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #e11414;
    color: white;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

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

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    width: 380px;
    max-height: 450px;
    overflow: hidden;
    z-index: 1000;
    display: none;
    border: 1px solid #e1e5e9;
}

.notification-dropdown.show {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.notification-header {
    padding: 18px 22px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.notification-header strong {
    font-size: 16px;
    color: #333;
}

.notification-header button {
    background: none;
    border: none;
    color: #e11414;
    cursor: pointer;
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.notification-header button:hover {
    background: rgba(225, 20, 20, 0.1);
}

.notification-list {
    max-height: 320px;
    overflow-y: auto;
}

.notification-item {
    padding: 16px 22px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: background 0.3s ease;
}

.notification-item:hover {
    background: #f8f9fa;
}

.notification-item.unread {
    background: #fff5f5;
    border-left: 4px solid #e11414;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
    font-size: 14px;
}

.notification-message {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 6px;
}

.notification-time {
    font-size: 11px;
    color: #999;
}

.notification-actions {
    padding: 16px 22px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: center;
    background: #f8f9fa;
}

.notification-actions button {
    background: none;
    border: none;
    color: #e11414;
    cursor: pointer;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.notification-actions button:hover {
    background: rgba(225, 20, 20, 0.1);
}

/* Toast Bildirimleri */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 10px;
    padding: 16px 20px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.15);
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.4s ease;
    min-width: 320px;
    border-left: 4px solid #17a2b8;
}

.notification-toast.show {
    transform: translateX(0);
}

.notification-toast.success {
    border-left-color: #28a745;
}

.notification-toast.error {
    border-left-color: #dc3545;
}

.notification-toast.warning {
    border-left-color: #ffc107;
}

.notification-toast.info {
    border-left-color: #17a2b8;
}

/* Radyo Oynatıcı */
.radio-player {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: white;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.player-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.player-logo {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.player-details h4 {
    margin: 0 0 4px 0;
    color: #e11414;
    font-size: 16px;
    font-weight: 600;
}

.player-details p {
    margin: 0;
    font-size: 13px;
    color: #ccc;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.play-button {
    background: #e11414;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(225, 20, 20, 0.3);
}

.play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(225, 20, 20, 0.4);
}

.volume-slider {
    width: 120px;
    height: 4px;
    background: #444;
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #e11414;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.close-button {
    background: none;
    border: none;
    color: #ccc;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.close-button:hover {
    color: white;
    background: rgba(255,255,255,0.1);
}

/* Sonuç Yok */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #999;
}

.no-results p {
    margin: 0;
    font-size: 16px;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .advanced-search-container {
        padding: 20px;
        margin: 15px;
    }
    
    .search-input-group {
        flex-direction: column;
    }
    
    .search-filters {
        grid-template-columns: 1fr;
    }
    
    .search-results-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        margin: 20px 15px;
    }
    
    .stations-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
        padding: 15px;
    }
    
    .radio-player {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .player-controls {
        width: 100%;
        justify-content: center;
    }
    
    .notification-dropdown {
        width: 320px;
        right: -20px;
    }
    
    .notification-toast {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .stations-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    
    .station-card {
        margin: 0 10px;
    }
    
    .advanced-search-container {
        margin: 10px;
        padding: 15px;
    }
}