<style>
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: #fff;
}

.marquee-text {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 15s linear infinite;
}

/* ทำให้ข้อความยาวกว่ากล่องเสมอ */
.marquee-text::after {
    /*content: "   News and Announcements Latest Updates!";*/
    padding-left: 50px;
}

@keyframes marquee {
    from { transform: translateX(100%); }
    to   { transform: translateX(-100%); }
}

/*ขอบตางราง*/
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    border: 0px solid #E901AE;
}

.schedule-table th,
.schedule-table td {
    padding: 15px;
    text-align: left;
}

.schedule-table th {
    background-color: #FFD4FA;
    color: #000;
    font-weight: bold;
    border-bottom: 2px solid #E901AE;
}

.schedule-table td {
    border-bottom: 1px solid #E901AE;
}

/* แถวสลับสี */
.schedule-table tr:nth-child(even) {
    background-color: #FFF5FC;
}

/* Hover effect */
.schedule-table tr:hover {
    background-color: #FFE0F7;
    transition: 0.3s;
}

/* Responsive สำหรับมือถือ */
@media screen and (max-width: 768px) {
    .schedule-table,
    .schedule-table thead,
    .schedule-table tbody,
    .schedule-table th,
    .schedule-table td,
    .schedule-table tr {
        display: block;
    }

    .schedule-table thead {
        display: none;
    }

    .schedule-table tr {
        margin-bottom: 15px;
        border: 1px solid #E901AE;
    }

    .schedule-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    .schedule-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 45%;
        text-align: left;
        font-weight: bold;
    }
}
</style>