@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

:root {
    --dark-bg: #222222;
    --darker-bg: #1a1a1a;
    --red-highlight: #ff0000;
    --green-highlight: #00ff00;
    --text-color: #cccccc;
    --light-gray: #444444;
    --border-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--darker-bg);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background-color: var(--dark-bg);
    width: 1200px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    position: relative; /* <-- BU SATIRI EKLEYİN */
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--darker-bg);
    margin-left: -12px;
    margin-right: -12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

    .top-bar .logo {
        display: flex;
        align-items: center;
        gap: 15px;
        flex-grow: 1;
    }

        .top-bar .logo .site-title {
            color: var(--red-highlight);
            font-weight: bold;
            font-size: 1.2em;
        }

    /* YAYINDASINIZ ETİKETİ */
    .top-bar .live-label {
        background-color: var(--green-highlight);
        color: var(--darker-bg);
        padding: 5px 0px;
        border-radius: 5px;
        font-size: 0.8em;
        font-weight: bold;
        text-transform: uppercase;
        animation: pulse 1.5s infinite alternate;
        margin-right: 15px;
        white-space: nowrap;
    }

@keyframes pulse {
    from {
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);
    }

    to {
        box-shadow: 0 0 0 8px rgba(0, 255, 0, 0);
    }
}

/* HEADER'DAKİ SAAT KISMI */
.header-clock {
    background-color: #2a2a2a;
    border-radius: 5px;
    padding: 5px 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 0.8em;
    font-weight: bold;
    color: var(--green-highlight);
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
    white-space: nowrap;
}

/* Eski central-clock stili silindi veya devre dışı bırakıldı */
.central-clock {
    display: none;
}


.top-bar .header-controls {
    display: flex;
    align-items: center;
    margin: 0 !important;
    gap: 20px;
    font-size: 0.9em;
}

    .top-bar .header-controls span {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .top-bar .header-controls .internet-status.internet-bagli {
        color: var(--green-highlight);
    }

    .top-bar .header-controls .server-status.server-bagli {
        color: var(--green-highlight);
    }

/* Mute butonu */
.mute-toggle-button {
    background-color: #555555;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.2s ease;
}

    .mute-toggle-button:hover {
        background-color: #666666;
    }

    .mute-toggle-button i {
        font-size: 1.1em;
    }

.top-bar .header-controls .user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: default;
}

    /* Profil fotoğrafı yerine kişi ikonu */
    .top-bar .header-controls .user-profile .user-icon {
        font-size: 1.5em;
        color: var(--text-color);
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: #555;
    }

/* Ayarlar Butonu */
.settings-button {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.1em;
    cursor: pointer;
    margin-left: 5px;
    transition: color 0.2s ease;
}

    .settings-button:hover {
        color: white;
    }

/* Main Content - Üç ana kutucuğu kapsar */
.main-content {
    display: flex;
    padding: 20px 20px 0 20px; /* Alttaki boşluğu (padding) kaldırdık */
    gap: 20px;
    align-items: stretch;
    height: 450px;
}

/* Üç ana panel (sol, orta, sağ) */
.left-panel, .center-panel, .right-panel {
    flex: 1;
    min-width: 280px;
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

/* Sol Panel - Şu An Çalan Şarkı */
.playing-now {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
    gap: 20px;
}

    .playing-now .album-art img {
        width: 150px;
        height: 150px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }




    .playing-now .song-info .artist {
        display: block;
        font-size: 0.9em;
        color: #aaaaaa;
    }

    .playing-now .song-info .title {
        display: block;
        font-size: 1.4em;
        font-weight: bold;
        margin-top: 5px;
    }

    .playing-now .song-info .band {
        display: block;
        font-size: 1em;
        color: #bbbbbb;
        margin-top: 5px;
    }

    .playing-now .progress-bar-container {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.8em;
        width: 100%;
        /* Daha önce margin-bottom kaldırılmıştı, gap yönetiyor */
    }

    .playing-now .progress-bar {
        flex-grow: 1;
        height: 5px;
        background-color: #555555;
        border-radius: 3px;
        position: relative;
    }

        .playing-now .progress-bar .progress {
            height: 100%;
            width: 70%;
            background-color: var(--red-highlight);
            border-radius: 3px;
        }

/* Şarkı çalan kutucuğunun altındaki oynatma ve ses kontrolleri */

.bottom-playback-controls .volume-icon {
    cursor: default;
    font-size: 1.0em;
    color: #cccccc;
    flex-shrink: 0;
}

.bottom-playback-controls i:not(.volume-icon) {
    cursor: pointer;
    font-size: 1.0em;
    color: #cccccc;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

    .bottom-playback-controls i:not(.volume-icon):hover {
        color: white;
    }

.bottom-playback-controls .volume-slider {
    flex-grow: 1;
    min-width: 80px;
    height: 5px;
    background-color: #555555;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

    .bottom-playback-controls .volume-slider .volume-fill {
        height: 100%;
        width: 60%;
        background-color: var(--green-highlight);
        border-radius: 3px;
    }


/* Orta Panel - Canlı Yayın Kontrolleri */
.live-stream-controls {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Değeri 20px'den 15px'e düşürdük */
    justify-content: center;
    flex-grow: 1;
}

    .live-stream-controls .stream-info .duration {
        display: block;
        font-size: 0.9em;
        color: #aaaaaa;
    }

    .live-stream-controls .stream-info .time {
        display: block;
        font-size: 2.5em;
        font-weight: bold;
        color: var(--green-highlight);
        margin-top: 5px;
    }

/* Bas konuş ve kilit butonunu sarmalayan div */
.mic-control-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mic-button {
    width: 120px;
    height: 120px;
    background-color: var(--red-highlight);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.0em;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s ease;
}

    .mic-button:active {
        background-color: #cc0000;
    }

    .mic-button i {
        font-size: 2em;
        margin-bottom: 5px;
    }

/* Kilit butonu (mic-button'ın dışına alındı) */
.lock-mic-button {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #333;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #666;
    color: #eee;
    font-size: 0.8em;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s ease;
}

    .lock-mic-button:hover {
        background-color: #555;
    }


.mic-level {
    display: flex;
    gap: 3px;
    margin-top: 15px;
    height: 15px;
    align-items: flex-end;
    width: 80%;
    justify-content: center;
}

    .mic-level .level-bar {
        width: 8px;
        background-color: #555555;
        border-radius: 2px;
        transition: height 0.2s ease;
    }

        .mic-level .level-bar.active {
            background-color: var(--green-highlight);
        }

        .mic-level .level-bar:nth-child(1) {
            height: 50%;
        }

        .mic-level .level-bar:nth-child(2) {
            height: 70%;
        }

        .mic-level .level-bar:nth-child(3) {
            height: 90%;
        }

        .mic-level .level-bar:nth-child(4) {
            height: 80%;
        }

        .mic-level .level-bar:nth-child(5) {
            height: 60%;
        }

        .mic-level .level-bar:nth-child(6) {
            height: 40%;
        }

/* Mikrofon Ses Kontrolü */
.mic-volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 80%;
    margin-top: 5px; /* Değeri 20px'den 5px'e düşürdük */
}

    .mic-volume-control .volume-slider {
        flex-grow: 1;
        height: 5px;
        background-color: #555555;
        border-radius: 3px;
        position: relative;
        cursor: pointer;
    }

        .mic-volume-control .volume-slider .volume-fill {
            height: 100%;
            width: 70%;
            background-color: var(--green-highlight);
            border-radius: 3px;
        }

    .mic-volume-control i {
        font-size: 1.2em;
        color: #cccccc;
    }

/* Efekt Butonları Kapsayıcısı (Şimdi tekrar dikey scroll'u var) */
.effect-buttons-container {
    overflow-y: auto; /* Scroll geri eklendi */
    overflow-x: hidden;
    flex-grow: 1;
    padding-bottom: 10px;
}
    /* Scrollbar styling */
    .effect-buttons-container::-webkit-scrollbar {
        width: 8px;
    }

    .effect-buttons-container::-webkit-scrollbar-track {
        background: #333;
        border-radius: 10px;
    }

    .effect-buttons-container::-webkit-scrollbar-thumb {
        background: #666;
        border-radius: 10px;
    }

        .effect-buttons-container::-webkit-scrollbar-thumb:hover {
            background: #888;
        }

.effect-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 15px;
    padding: 10px;
    justify-items: center;
}

/* Buton: daire, oran sabit, gölgeli */
.effect-button {
    background-color: #555555;
    color: var(--text-color);
    width: 100%;
    max-width: 88px; /* istersen kaldırabilirsin */
    aspect-ratio: 1 / 1; /* kare kalsın */
    border-radius: 999px;
    position: relative; /* loading-circle için */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    cursor: pointer;
    transition: background-color .2s ease, box-shadow .2s ease;
    box-shadow: 0 5px 12px rgba(0,0,0,.25);
}

    .effect-button:hover {
        background-color: #666666;
        box-shadow: 0 7px 16px rgba(0,0,0,.35);
    }



    /* Dönen Dolum Çizgisi */
    .effect-button .loading-circle {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        box-sizing: border-box;
        border: 3px solid transparent;
        border-top-color: var(--green-highlight);
        border-right-color: var(--green-highlight);
        transform: rotate(-45deg);
        transition: border-width 0.1s ease;
        opacity: 0;
        animation: none;
    }



@keyframes rotateCircle {
    from {
        transform: rotate(-45deg);
    }

    to {
        transform: rotate(315deg);
    }
}

/* Efekt Kontrol Butonları ve Ses Barını Kapsayan Yeni Div */
.effect-volume-and-controls {
    border-top: 1px solid #555;
    padding-top: 15px;
    display: flex;
    flex-direction: column; /* Ses barı ve butonlar ayrı satırlarda */
    gap: 10px;
    flex-shrink: 0;
    margin-top: auto;
}

.playing-now {
    text-align: center;
    display: flex;
    flex-direction: column; /* Dikey flex düzeni kalmalı */
    align-items: center;
    flex-grow: 1;
    /* justify-content: center; <-- BU SATIRI SİLİN VEYA YORUM SATIRI YAPIN */
    gap: 15px; /* Öğeler arasındaki boşluğu biraz ayarlayabilirsiniz */
    padding: 20px 0; /* Üstten ve alttan boşluk ekleyerek daha dengeli bir görünüm sağlar */
}

    .playing-now .song-info {
        /* Bu sihirli kural, kendisini ve kendisinden sonra gelen tüm öğeleri
       (bu durumda ilerleme çubuğunu) kapsayıcının en altına iter. */
        margin-top: auto;
        width: 100%; /* İçeriğin tam genişlikte kalmasını sağlar */
    }

    /* 3. İlerleme çubuğu kapsayıcısının da tam genişlikte olduğundan emin olalım. */
    .playing-now .progress-bar-container {
        width: 100%; /* Genişliğin bozulmasını engeller */
    }
/* Efekt Ses Kontrolü (Tek Bir Araç) - İçinde butonlarla beraber hizalanacak */
.effect-volume-control-single {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9em;
    justify-content: space-between; /* İkonu, barı ve butonları yatayda yay */
    width: 100%; /* Tüm alanı kapla */
}

    /* Efekt Sesi İkonu */
    .effect-volume-control-single .volume-icon-effect {
        font-size: 1.2em;
        color: #cccccc;
        flex-shrink: 0;
    }

    .effect-volume-control-single .volume-slider {
        flex-grow: 1; /* Mevcut alanı kapla */
        max-width: 150px; /* Ses barını kısaltmak için max-width eklendi */
        height: 5px;
        background-color: #555555;
        border-radius: 3px;
        position: relative;
        cursor: pointer;
    }

        .effect-volume-control-single .volume-slider .volume-fill {
            height: 100%;
            width: 80%;
            background-color: var(--green-highlight);
            border-radius: 3px;
        }

/* Efekt Ekle ve Durdur Butonları (Yeni Konum - Ses Barının Yanı) */
.effect-control-buttons {
    display: flex;
    gap: 5px; /* Butonlar arası boşluk */
    flex-shrink: 0; /* Küçülmesini engelle */
}

    .effect-control-buttons button {
        background-color: #555;
        color: white;
        border: none;
        border-radius: 5px;
        width: 40px; /* Buton boyutları küçültüldü */
        height: 40px; /* Buton boyutları küçültüldü */
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.2em; /* Font boyutu küçültüldü */
        cursor: pointer;
        transition: background-color 0.2s ease, transform 0.2s ease;
    }

        .effect-control-buttons button:hover {
            background-color: #777;
            transform: scale(1.05);
        }

    .effect-control-buttons .add-effect-button {
        background-color: var(--green-highlight);
        color: var(--darker-bg);
    }

        .effect-control-buttons .add-effect-button:hover {
            background-color: #00cc00;
        }

    .effect-control-buttons .stop-effect-button {
        background-color: var(--red-highlight);
        color: white;
    }

        .effect-control-buttons .stop-effect-button:hover {
            background-color: #cc0000;
        }


/* MP3 ARA ve İNDİR KISMI */
.bottom-search-download {
    display: flex;
    align-items: stretch;
    margin: 0 20px;
    padding: 12px 20px;
    margin: 0 20px; /* <-- KENAR BOŞLUKLARINI GERİ EKLEDİK */
    border-top: 1px solid var(--border-color);
}


.search-bar {
    display: flex;
    flex-grow: 1;
    margin-right: 20px;
}

    .search-bar input {
        flex-grow: 1;
        padding: 10px 15px;
        border: 1px solid #555555;
        border-radius: 5px 0 0 5px;
        background-color: #333333;
        color: var(--text-color);
        font-size: 0.9em;
        outline: none;
    }

        .search-bar input::placeholder {
            color: #777777;
        }

    .search-bar button {
        background-color: var(--red-highlight);
        color: white;
        border: none;
        padding: 10px 15px;
        border-radius: 0 5px 5px 0;
        cursor: pointer;
        font-size: 1em;
        transition: background-color 0.2s ease;
    }

        .search-bar button:hover {
            background-color: #cc0000;
        }

.download-button button {
    background-color: var(--green-highlight);
    color: var(--darker-bg);
    border: none;
    padding: 10px 20px;
    border-radius: 0 5px 5px 0; /* <-- BU SATIRI EKLEYİN */
    font-weight: bold;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.2s ease;
    height: 100%; /* Arama kutusuyla aynı yükseklikte olması için */
}

    .download-button button:hover {
        background-color: #00cc00;
    }


/* File Browser and Playlist */
.file-browser-and-playlist {
    display: flex;
    gap: 20px;
    padding: 0 20px 20px 20px; /* Üstteki boşluğu (padding) kaldırdık */
    /* border-top: 1px solid var(--border-color); <-- ÇİFT ÇİZGİ OLMAMASI İÇİN BU SATIRI SİLİN */
    height: 350px;
    overflow: hidden;
}

.file-browser {
    flex: 1;
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

    .file-browser .tabs {
        display: flex;
        gap: 10px;
        margin-bottom: 15px;
        border-bottom: 1px solid #555555;
        padding-bottom: 10px;
        flex-shrink: 0;
    }

    .file-browser .tab {
        padding: 8px 15px;
        background-color: #555555;
        border-radius: 5px;
        font-size: 0.9em;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

        .file-browser .tab.active {
            background-color: var(--red-highlight);
            color: white;
        }

    .file-browser .folder-view {
        display: flex;
        flex-direction: column;
        gap: 8px;
        overflow-y: auto;
        padding-right: 5px;
    }
/* Scrollbar styling */
.folder-view::-webkit-scrollbar {
    width: 8px;
}

.folder-view::-webkit-scrollbar-track {
    background: #333;
    border-radius: 10px;
}

.folder-view::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 10px;
}

    .folder-view::-webkit-scrollbar-thumb:hover {
        background: #888;
    }

.file-browser .folder-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .file-browser .folder-item:hover {
        background-color: #555555;
    }

    .file-browser .folder-item.selected {
        background-color: #3a3a3a;
        border-left: 3px solid var(--red-highlight);
        padding-left: 7px;
    }

    .file-browser .folder-item i {
        font-size: 1.1em;
        color: #999;
    }

    .file-browser .folder-item.selected i {
        color: var(--red-highlight);
    }


.playlist {
    flex: 2;
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.playlist-header {
    display: grid;
    grid-template-columns: 50px 1.5fr 2fr 0.5fr 40px 40px;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #555555;
    font-weight: bold;
    font-size: 0.9em;
    color: #aaaaaa;
    margin-bottom: 10px;
    align-items: center;
    flex-shrink: 0;
}

.playlist-item-container {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 5px;
}
    /* Scrollbar styling */
    .playlist-item-container::-webkit-scrollbar {
        width: 8px;
    }

    .playlist-item-container::-webkit-scrollbar-track {
        background: #333;
        border-radius: 10px;
    }

    .playlist-item-container::-webkit-scrollbar-thumb {
        background: #666;
        border-radius: 10px;
    }

        .playlist-item-container::-webkit-scrollbar-thumb:hover {
            background: #888;
        }


.modal-overlay {
    /* Konumlandırma ve Boyut */
    position: fixed; /* Sayfa kaysa bile yerinde kalır */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Görünüm */
    background-color: rgba(0, 0, 0, 0.75); /* Yarı saydam siyah arka plan */
    /* İçeriği Ortalamak için Flexbox */
    display: flex;
    justify-content: center; /* Yatayda ortala */
    align-items: center; /* Dikeyde ortala */
    /* Diğer her şeyin üzerinde görünmesini sağlar */
    z-index: 1000;
}

.modal-content {
    background-color: #2c2f33;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    width: 90%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .modal-content .input-group {
        display: flex;
        flex-direction: column;
    }

    .modal-content label {
        margin-bottom: 5px;
        color: #ffffff;
        font-size: 0.9rem;
    }

.search-result-thumbnail {
    width: 60px; /* Genişliği 60 piksel yap */
    height: 60px; /* Yüksekliği 60 piksel yap */
    object-fit: cover; /* Resmin oranını koruyarak kutuya sığdır, taşan kısımları kırp */
    border-radius: 8px; /* Kenarları hafifçe yuvarlaklaştır */
    margin-right: 15px; /* Sağındaki yazıdan 15 piksel boşluk bırak */
    flex-shrink: 0; /* Esnek (flex) bir düzende küçülmesini engelle */
}

#search-results-container {
    display: none; /* Başlangıçta gizli */
    position: absolute; /* Sayfa akışından çıkar ve konumlandırılabilir yap */
    top: 555px; /* Bu değeri kendi tasarımınıza göre ayarlamanız gerekebilir */
    left: 20px; /* .container'ın sol padding'i kadar içeriden başla */
    right: 20px; /* .container'ın sağ padding'i kadar içeriden bitir */
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-top: none; /* Arama çubuğuyla birleştiği için üst border'a gerek yok */
    border-radius: 0 0 8px 8px; /* Alt köşeleri yuvarlat */
    max-height: 300px;
    overflow-y: auto;
    z-index: 999; /* Diğer her şeyin üzerinde görünsün */
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.search-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #333;
    color: #fff;
}

    .search-result-item button.download-btn {
        background-color: #28a745;
        color: white;
        border: none;
        padding: 5px 10px;
        border-radius: 4px;
        cursor: pointer;
    }

        .search-result-item button.download-btn:hover {
            background-color: #218838;
        }

        .search-result-item button.download-btn:disabled {
            background-color: #555;
            cursor: not-allowed;
        }

.server-status.server-bagli-degil {
    color: #ff4d4d; /* Kırmızımsı bir renk */
}

.not-live-label {
    background-color: #6c757d; /* Gri renk */
    color: #fff;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.modal-content input {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #555;
    background-color: #3a3d42;
    color: #ffffff;
    font-size: 1rem;
}

    .modal-content input:disabled {
        background-color: #25272a;
        cursor: not-allowed;
    }

.modal-button {
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #7289da;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 1rem;
}

    .modal-button:hover {
        background-color: #5b6eae;
    }

.playlist-header,
.playlist-item {
    display: flex;
    align-items: center; /* Dikey olarak ortala */
    width: 100%;
    padding: 8px 15px;
    gap: 15px; /* Sütunlar arasına boşluk koyar */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.playlist-item-container .playlist-item:last-child {
    border-bottom: none; /* En alttaki çizgini kaldır */
}

/* Çalma listesi boşken gösterilecek mesaj */
.playlist-empty-message {
    text-align: center;
    padding: 40px;
    color: #888;
}

/* SÜTUN GENİŞLİKLERİ */

/* Sanatçı Bilgisi Sütunu (Resim + İsim) */
.playlist-header span:nth-child(1),
.playlist-item .artist-info {
    flex: 2; /* Genişliğin 2 birimini kapla */
    display: flex; /* İçindeki resmi ve ismi de hizala */
    align-items: center;
    gap: 10px;
    min-width: 0; /* Flexbox'ın daralmasına izin ver */
}

/* Şarkı İsmi Sütunu */
.playlist-header span:nth-child(2),
.playlist-item .song-name {
    flex: 3; /* Genişliğin 3 birimini kapla (daha geniş) */
    min-width: 0;
}

/* Süre Sütunu */
.playlist-header span:nth-child(3),
.playlist-item .song-duration {
    flex: 0.5; /* Daha dar bir alan */
    text-align: center;
    min-width: 0;
}

/* Çal Butonu Sütunu */
.playlist-header span:nth-child(4),
.playlist-item .play-icon {
    flex: 0 0 30px; /* Sabit 30px genişlik */
    text-align: center;
    cursor: pointer;
}

/* Sil Butonu Sütunu */
.playlist-header span:nth-child(5),
.playlist-item .delete-icon {
    flex: 0 0 30px; /* Sabit 30px genişlik */
    text-align: center;
    cursor: pointer;
}

/* İkonların rengini ve boyutunu ayarla */
.play-icon, .delete-icon {
    font-size: 1.1em;
    color: #b3b3b3;
    transition: color 0.2s;
}

    .play-icon:hover, .delete-icon:hover {
        color: #fff;
    }


/* Uzun metinlerin taşıp düzeni bozmasını engellemek için */
.artist-name, .song-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Taşarsa sonuna ... koyar */
}

/* Artist resmi için stiller */
.artist-img {
    width: 40px;
    height: 40px;
    flex-shrink: 0; /* Asla küçülmesin */
}

    .artist-img img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Resmi kırpmadan sığdır */
        border-radius: 4px; /* Hafif yuvarlak köşeler */
        background-color: #333; /* Resim yüklenene kadar arkaplan rengi */
    }

.folder-item {
    display: flex;
    justify-content: space-between; /* İsim ve butonları iki uca yasla */
    align-items: center;
    padding: 8px 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
}

    .folder-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

.item-info {
    display: flex;
    align-items: center;
    gap: 10px;
    /* Metnin taşmasını engellemek için */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.folder-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    cursor: pointer; /* << BU SATIRI EKLEYİN */
    border-radius: 4px;
    transition: background-color 0.2s;
}

/* Geri butonu için de aynı stil geçerli olsun */
.back-button {
    font-weight: bold;
}

.item-info span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.item-controls {
    display: flex;
    gap: 15px;
    visibility: hidden; /* Normalde butonlar görünmez */
    opacity: 0;
    transition: visibility 0s, opacity 0.2s linear;
}

.folder-item:hover .item-controls {
    visibility: visible; /* Fare üzerine gelince görünür yap */
    opacity: 1;
}

.item-controls i {
    color: #b3b3b3;
}

    .item-controls i:hover {
        color: #ffffff;
    }





.bottom-playback-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    padding-top: 15px;
    border-top: 1px solid #555;
    flex-wrap: wrap;
    /* Bu kural, kontrol grubunu sol panelin en altına iter */
    margin-top: auto;
}

/* Orta Panel - Mikrofon Ses Kontrolü */
.mic-volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 80%;
    /* Bu kural, mikrofon ses barını orta panelin en altına iter */
    margin-top: auto;
    /* Diğer barlarla hizalamak için üst boşluk */
    padding-top: 20px;
}


/* Sağ Panel - Efekt Ses Kontrolü */
/* Not: Bu bölümdeki 'margin-top: auto' kuralı zaten mevcut ve doğru yapılandırılmış. */
/* Herhangi bir değişiklik yapılmasına gerek yoktur. */
.effect-volume-and-controls {
    border-top: 1px solid #555;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    /* Bu kural, efekt kontrol grubunu sağ panelin en altına iter (zaten mevcuttu) */
    margin-top: auto;
}

.effect-button.active .loading-circle {
    opacity: 1;
    border-width: 3px;
    border-top-color: var(--red-highlight); /* DEĞİŞTİ */
    border-right-color: var(--red-highlight); /* DEĞİŞTİ */
    animation: rotateCircle linear forwards;
    /* animation-duration JavaScript tarafından ayarlanacak */
}

/* Sürükle-Bırak için görsel stiller */
.effect-button.dragging {
    opacity: 0.5;
    cursor: grabbing;
}

.effect-button.drag-over {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--red-highlight);
}

.vu-meters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px; /* Barlar arasındaki boşluğu artırdık */
    margin-top: 10px; /* Üstteki butonla arasını açarak aşağı aldık */
    margin-bottom: 10px;
    width: 100%;
}

.vu-meter {
    width: 40px;
    height: 110px; /* Yüksekliği 130px'den 110px'e düşürdük */
    background-color: #1c1e22;
    border: 1px solid #101113;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.6);
}

.vu-meter-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, #00b09b, #96c93d 60%, #f05053 90%);
    transition: height 0.05s linear;
    position: absolute;
    bottom: 0;
    /* Dolguya hafif bir parlama efekti ekledik */
    box-shadow: 0 0 10px rgba(150, 201, 61, 0.3);
}

.vu-meter-label {
    position: absolute;
    bottom: 8px; /* Etiketi alttan biraz yukarı aldık */
    left: 0;
    right: 0;
    font-size: 11px; /* Fontu biraz büyüttük */
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px; /* Harf aralarını açtık */
    text-transform: uppercase; /* Tüm harfleri büyük yaptık */
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}
.lock-mic-button.active {
    background-color: var(--green-highlight);
    color: var(--dark-bg);
    border-color: var(--green-highlight);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* Ana mikrofon butonu kilitliyken (pasif görünüm) */
.mic-button.locked {
    opacity: 0.7;
    cursor: not-allowed;
    animation: none; /* Varsa animasyonları durdur */
}
.settings-group {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
}

    .settings-group:last-of-type {
        border-bottom: none;
        margin-bottom: 0;
    }

    .settings-group label {
        font-weight: bold;
        font-size: 1.1em;
        color: #fff;
        display: block;
        margin-bottom: 5px;
    }

    .settings-group p {
        font-size: 0.9em;
        color: #aaa;
        margin-bottom: 15px;
    }

.modal-select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #555;
    background-color: #3a3d42;
    color: #ffffff;
    font-size: 1rem;
}

.radio-group {
    display: flex;
    gap: 20px;
}

    .radio-group label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 1em;
        font-weight: normal;
        color: #ddd;
        cursor: pointer;
    }

/* Modal içindeki buton grubunu daha iyi hizalamak için */
.modal-button-group {
    display: flex;
    justify-content: flex-end; /* Butonları sağa yasla */
    gap: 10px;
    margin-top: 20px;
}

/* İptal butonu için stil */
.modal-button-cancel {
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #6c757d; /* Gri renk */
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .modal-button-cancel:hover {
        background-color: #5a6268;
    }

.mic-button.active {
    background-color: var(--green-highlight);
    color: var(--darker-bg); /* Yeşil üstünde daha iyi okunması için yazı rengi */
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
    animation: micPulse 1.5s infinite;
}

/* Nefes alma (pulse) animasyonu */
@keyframes micPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 255, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
    }
}
.permissions-table-container {
    max-height: 40vh;
    overflow-y: auto;
    border: 1px solid #444;
    border-radius: 5px;
    margin-bottom: 20px;
}

#permissions-table {
    width: 100%;
    border-collapse: collapse;
}

    #permissions-table th, #permissions-table td {
        padding: 12px;
        text-align: left;
        border-bottom: 1px solid #444;
    }

    #permissions-table th {
        background-color: #3a3d42;
        position: sticky;
        top: 0;
    }

    #permissions-table input[type="text"] {
        width: 100%;
        padding: 8px;
        background-color: #333;
        border: 1px solid #555;
        color: #fff;
        border-radius: 4px;
    }

    #permissions-table input[type="checkbox"] {
        width: 20px;
        height: 20px;
        cursor: pointer;
    }

    #permissions-table .delete-permission-btn {
        background-color: #dc3545;
        color: white;
        border: none;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 1.2em;
    }

.add-permission-form {
    display: flex;
    gap: 10px;
    align-items: center;
    border-top: 1px solid #444;
    padding-top: 20px;
}

    .add-permission-form h3 {
        margin-right: auto;
    }

    .add-permission-form input {
        padding: 10px;
    }

.modal-button-small {
    padding: 10px 15px;
    font-size: 1.2em;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.modal-button-danger {
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #dc3545; /* Kırmızı renk */
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .modal-button-danger:hover {
        background-color: #c82333; /* Hover durumunda daha koyu kırmızı */
    }

/* Modal buton grubunu daha esnek hale getirmek için */
.modal-button-group {
    display: flex;
    justify-content: space-between; /* Öğeleri iki uca yasla */
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}
.search-result-controls {
    display: flex; /* Butonları yan yana dizmek için */
    gap: 8px; /* Aralarına 8px boşluk koyar */
}

/* Her iki buton için ortak temel stil */
.search-result-item button {
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    font-size: 1em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

    .search-result-item button:hover {
        transform: scale(1.05); /* Üzerine gelince hafifçe büyüsün */
    }

    .search-result-item button:disabled {
        background-color: #555 !important;
        cursor: not-allowed;
        transform: scale(1);
    }
.search-result-item .preview-btn {
    background-color: #007bff; /* Modern bir mavi */
}

    .search-result-item .preview-btn:hover {
        background-color: #0056b3; /* Hover için daha koyu mavi */
    }

/* İndirme butonu için özel renkler (aynı yeşil tonları) */
.search-result-item .download-btn {
    background-color: #28a745; /* Canlı bir yeşil */
}

    .search-result-item .download-btn:hover {
        background-color: #218838; /* Hover için daha koyu yeşil */
    }



.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: #333; /* Başlık için biraz farklı bir arkaplan */
    border-bottom: 1px solid #444;
    font-weight: bold;
    color: #ccc;
}

/* Kapatma butonu ('X') */
.close-btn {
    background: none;
    border: none;
    color: #ccc;
    font-size: 1.5rem; /* Daha büyük ve görünür bir 'X' */
    cursor: pointer;
    line-height: 1; /* Dikey hizalamayı düzeltir */
    padding: 0 5px;
    transition: color 0.2s ease;
}

    .close-btn:hover {
        color: white;
    }

.song-info .artist,
.song-info .title,
.song-info .band {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: clip; /* Sığmayınca ... gösterme, direkt kes */
    display: block; /* Tam genişliği kaplaması için */
}

/* JavaScript ile oluşturulacak ve içinde metni taşıyacak olan span.
  Animasyon bu elemente uygulanacak.
*/
.marquee-text {
    display: inline-block; /* Transform özelliğinin çalışması için gerekli */
    vertical-align: middle; /* Dikeyde ortalamak için */
    will-change: transform; /* Tarayıcıya animasyon olacağını haber verir, performansı artırır */
}

    /* Sadece metin sığmadığında JS tarafından eklenecek olan class */
    .marquee-text.is-scrolling {
        /* Animasyonun başlangıcında metnin sağda, görünmez alanda başlaması 
      ve animasyon sonunda tamamen soldan çıkması için bu boşluk gerekli.
    */
        padding-left: 100%;
        /* Animasyonu uygula */
        animation-name: marquee-scroll;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        /* Animasyon süresi JavaScript tarafından metin uzunluğuna göre ayarlanacak */
    }

/* Animasyonun kendisi: Metni sağdan sola doğru kaydırır */
@keyframes marquee-scroll {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-100%);
    }
}
.emoji-picker-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.emoji-select-button {
    font-size: 24px;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #444;
    background-color: #333;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .emoji-select-button:hover {
        background-color: #555;
    }

#emoji-picker-wrapper {
    position: absolute;
    top: 100%; /* Butonun hemen altında */
    left: 0;
    z-index: 1001; /* Modalın üzerinde görünmesi için */
    display: none; /* Varsayılan olarak gizli */
}

/* Özel Sağ Tık Menüsü Stilleri */
.context-menu {
    position: absolute;
    display: none;
    background-color: #2c2f33;
    border: 1px solid #444;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 5px 0;
}

    .context-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .context-menu ul li {
            padding: 8px 15px;
            cursor: pointer;
            font-size: 14px;
            color: #eee;
            display: flex;
            align-items: center;
        }

            .context-menu ul li i {
                margin-right: 10px;
                width: 16px; /* İkonların hizalı durması için */
            }

            .context-menu ul li:hover {
                background-color: #4CAF50; /* Ana renk */
            }

#add-effect-modal .modal-content {
    gap: 1.2rem; /* Elemanlar arası boşluğu artır */
}

/* Modal içindeki form grupları */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Modal içindeki tüm input ve select'ler için ortak stil */
.modal-input, .modal-select {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #555;
    background-color: #3a3d42;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .modal-input:focus, .modal-select:focus {
        outline: none;
        border-color: var(--green-highlight);
        box-shadow: 0 0 0 2px rgba(0, 255, 0, 0.2);
    }

/* Emoji seçme butonunu daha belirgin yapalım */
.emoji-select-button {
    padding: 10px 15px;
    font-size: 1.8rem;
    border: 1px solid #555;
    background-color: #3a3d42;
}
.mic-and-meters-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Elemanlar arası boşluk */
    width: 100%;
}

/* Modal Butonlarını Güzelleştirme */
#add-effect-modal .modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

#add-effect-modal #save-effect-button {
    flex-grow: 1; /* Daha fazla yer kaplasın */
    background-color: var(--green-highlight);
    color: var(--darker-bg);
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

    #add-effect-modal #save-effect-button:hover {
        background-color: #00cc00;
    }

#add-effect-modal #cancel-effect-button {
    background-color: #6c757d;
    padding: 12px;
    border: none;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

    #add-effect-modal #cancel-effect-button:hover {
        background-color: #5a6268;
    }

#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999; /* Her şeyin üstünde olması için */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-notification {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
    min-width: 280px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-left: 5px solid;
    animation: slideIn 0.3s ease-out forwards, fadeOut 0.5s ease-in forwards 3s; /* 3 saniye sonra kaybolur */
    transform: translateX(110%);
}

    .toast-notification .icon {
        font-size: 1.5em;
        margin-right: 15px;
    }

    .toast-notification .message {
        flex-grow: 1;
    }

    /* Bildirim Türleri */
    .toast-notification.success {
        background-color: #2f3e35;
        border-left-color: #4CAF50; /* Yeşil */
    }

    .toast-notification.error {
        background-color: #4d2f2f;
        border-left-color: #f44336; /* Kırmızı */
    }

    .toast-notification.info {
        background-color: #2f3a4d;
        border-left-color: #2196F3; /* Mavi */
    }

/* Animasyonlar */
@keyframes slideIn {
    to {
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: translateX(110%);
        height: 0;
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 0;
    }
}
.small-modal {
    max-width: 400px; /* Genişliği daralt */
}

/* Modal içindeki metinler */
#confirm-modal-text,
#prompt-modal-text {
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Modal butonları için flex düzeni */
#confirm-modal .modal-buttons,
#prompt-modal .modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

    #confirm-modal .modal-buttons button,
    #prompt-modal .modal-buttons button {
        flex: 1; /* Butonların eşit genişlikte olmasını sağla */
        margin-top: 0; /* Üst boşluğu sıfırla */
    }


.search-result-actions {
    display: flex;
    align-items: center;
    gap: 15px; /* Süre ile butonlar arası boşluk */
    margin-left: auto; /* Bu bölümü en sağa yaslar */
    flex-shrink: 0; /* Küçülmesini engeller */
}

/* Süre metni için stil */
.search-result-duration {
    font-size: 0.9em;
    font-weight: bold;
    color: #a0a0a0;
    background-color: rgba(0,0,0,0.2);
    padding: 5px 8px;
    border-radius: 4px;
}
.remember-me-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 5px;
    align-self: flex-start; /* Kutucuğu sola yaslar */
}

    .remember-me-container label {
        cursor: pointer;
        font-size: 0.9em;
        color: #ccc;
    }

#remember-me-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}



.bottom-search-download {
    margin: 0 20px !important; /* kartlarla aynı hiza */
    padding: 12px 0 !important; /* soldaki/sağdaki iç boşluğu kaldır */
    background: transparent !important;
    gap: 0 !important;
}

/* Arama alanı ile yeşil buton arasındaki boşluğu kaldır */

    /* Elemanları birbirine dikiş gibi yapıştır */
    .search-bar input {
        border-right: none; /* çift çizgi görünmesin */
        border-radius: 5px 0 0 5px;
    }

    .search-bar button {
        border-radius: 0; /* ortadaki kırmızı düğme düz kenar */
        margin: 0;
    }

.download-button {
    margin-left: 0 !important;
}

    .download-button button {
        border-radius: 0 5px 5px 0; /* sadece en sağ köşeler yuvarlak */
        height: 100%;
    }
#search-results-container {
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #666 #333; /* Firefox */
}

    #search-results-container::-webkit-scrollbar {
        width: 8px;
    }

    #search-results-container::-webkit-scrollbar-track {
        background: #333;
        border-radius: 10px;
    }

    #search-results-container::-webkit-scrollbar-thumb {
        background: #666;
        border-radius: 10px;
    }

        #search-results-container::-webkit-scrollbar-thumb:hover {
            background: #888;
        }


#upload-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.4);
    z-index: 9999;
}

    #upload-modal .modal-content {
        width: 520px;
        max-height: 70vh;
        overflow: auto;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,.2);
    }

    #upload-modal .modal-header, #upload-modal .modal-footer {
        padding: 12px 16px;
        border-bottom: 1px solid #eee;
    }

    #upload-modal .modal-footer {
        border-top: 1px solid #eee;
        border-bottom: none;
    }

    #upload-modal .close {
        background: transparent;
        border: 0;
        font-size: 20px;
        cursor: pointer;
    }

#upload-list {
    padding: 8px 12px;
}

.upload-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 6px;
    border-bottom: 1px solid #f2f2f2;
}

    .upload-item .name {
        flex: 1;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .upload-item .status {
        font-size: 12px;
        color: #888;
        min-width: 90px;
        text-align: right;
    }

    .upload-item.success .status {
        color: #198754;
    }

    .upload-item.error .status {
        color: #dc3545;
    }

.progress-ring {
    width: 42px;
    height: 42px;
    position: relative;
}

    .progress-ring svg {
        display: block;
    }

.progress-ring__bg {
    stroke: #eee;
    stroke-width: 6;
    fill: transparent;
}

.progress-ring__circle {
    stroke-width: 6;
    fill: transparent;
    stroke: #0d6efd;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset .12s linear;
}
.upload-center {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #0d6efd;
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    cursor: pointer;
}

    .upload-center #upload-badge {
        background: rgba(255,255,255,.2);
        padding: 2px 8px;
        border-radius: 999px;
    }
#upload-modal .modal-content {
    position: relative;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

/* Şık yuvarlak kapatma butonu */
#upload-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.08);
    color: black;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 0;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
    backdrop-filter: blur(6px);
}