body {
    background-color: #f8f9fa;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Timeline yatay scroll */
.timeline {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
}

    .timeline::-webkit-scrollbar {
        height: 6px;
    }

    .timeline::-webkit-scrollbar-thumb {
        background: #3751ff;
        border-radius: 10px;
    }

.timeline-item {
    min-width: 150px;
    margin-right: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    background-color: #e7e9ff;
    color: #333;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

    .timeline-item.active,
    .timeline-item:hover {
        background-color: #3751ff;
        color: white;
    }

/* Sol panel bölümleri */
.left-panel {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.left-top,
.left-middle,
.left-bottom {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgb(0 0 0 / 0.1);
}

    .left-top button {
        width: 100%;
        font-weight: 600;
        color: #3751ff;
        border: 2px solid #3751ff;
        background: transparent;
        border-radius: 6px;
        padding: 8px;
        transition: all 0.3s ease;
        cursor: pointer;
    }

        .left-top button.active,
        .left-top button:hover {
            background-color: #3751ff;
            color: white;
        }

/* Accordion sağ panel */
.right-panel {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 15px rgb(0 0 0 / 0.1);
    max-height: 80vh;
    overflow-y: auto;
}

/* Küçük başlıklar */
.section-title {
    font-weight: 700;
    color: #3751ff;
    margin-bottom: 12px;
}

/* Sol panel scrollbar küçük */
.left-middle {
    max-height: 220px;
    overflow-y: auto;
}

.list-group-item {
    cursor: pointer;
}

    .list-group-item.active,
    .list-group-item:hover {
        background-color: #3751ff;
        color: white;
    }

/* Etkinlik badge renkleri */
.badge-akademik {
    background-color: #3751ff;
}

.badge-sinav {
    background-color: #e03e3e;
}

.badge-kayit {
    background-color: #28a745;
}

.badge-diger {
    background-color: #6c757d;
}

/* Yaklaşan etkinlikler kayan liste */
#upcomingMarquee {
    position: relative;
    height: 260px;
    overflow: hidden;
    background-color: #f2f2f2; /* Gri zemin */
    border-radius: 10px;
    padding: 6px 8px; /* İç boşluk verir, listeyi kutu gibi gösterir */
}



#marqueeList {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
}


    #marqueeList li:hover {
        background-color: white !important;
        color: inherit !important;
        box-shadow: none !important;
        text-decoration: none !important;
        cursor: default !important;
    }


    #marqueeList li {
        background-color: white; /* Bu önemli: kutucuklar beyaz */
        margin-bottom: 8px;
        padding: 10px 12px;
        font-size: 0.95rem;
        border-radius: 6px;
        border: 1px solid #ddd;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        word-break: break-word;
        line-height: 1.4;
    }




/* Orta boy ekranlar (tablet) */
@media screen and (max-width: 992px) {
    #upcomingMarquee {
        height: 200px;
    }

    #marqueeList li {
        font-size: 0.9rem;
        padding: 8px 10px;
    }
}

/* Küçük ekranlar (mobil) */
@media screen and (max-width: 576px) {
    #upcomingMarquee {
        height: 160px;
    }

    #marqueeList li {
        font-size: 0.85rem;
        padding: 6px 8px;
    }
}






#yonetimpaneli {
    margin-top: auto;
}

.btn-yonetim {
    background-color: #065CA1;
    color: white;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 0.4rem;
    transition: all 0.2s ease-in-out;
}

    .btn-yonetim:hover {
        background-color: #054c88;
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }


.accordion-button::after {
    display: none !important; /* Bootstrap default ikonu gizle */
}


.kategori-timeline-wrapper {
    padding: 12px 16px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.kategori-timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.kategori-chip {
    position: relative;
}

    .kategori-chip .chip-label {
        display: inline-block;
        padding: 6px 14px;
        background-color: #e7f1fb;
        border: 1px solid #bcdff9;
        border-radius: 20px;
        font-size: 0.85rem;
        color: #065ca1;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
        user-select: none;
    }

.kategori-checkbox:checked + .chip-label {
    background-color: #065ca1;
    color: white;
    border-color: #065ca1;
}

.chip-label:hover {
    background-color: #d0e6f8;
}


.accordion-body small,
.accordion-button.small {
    font-size: 0.85rem;
}


.export-icon img {
    transition: transform 0.2s ease-in-out;
    cursor: pointer;
}

    .export-icon img:hover {
        transform: scale(1.1);
    }

.export-img {
    width: 8vw; /* Ekran genişliğinin %8’i */
    max-width: 48px; /* Maksimum 48px */
    min-width: 32px; /* Çok küçük ekranlarda bile bozulmasın */
    height: auto;
    transition: transform 0.2s ease;
}

    .export-img:hover {
        transform: scale(1.1); /* Üzerine gelince biraz büyüsün */
    }
