/* Academic Calendar Styles */

/* Important events styling */
tr.important-event {
    background-color: #fff8e6;
    font-weight: 500;
}

tr.important-event td:first-child {
    position: relative;
    padding-left: 20px;
}

tr.important-event td:first-child:before {
    content: '!';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffc107;
    color: #000;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

/* Responsive table */
@media (max-width: 767.98px) {
    .table-responsive {
        border: 0;
    }

    .table-responsive table {
        width: 100%;
        border-collapse: collapse;
    }

    .table-responsive thead {
        display: none;
    }

    .table-responsive tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 4px;
    }

    .table-responsive td {
        display: flex;
        justify-content: space-between;
        padding: 0.75rem;
        text-align: right;
        border-bottom: 1px solid #dee2e6;
    }

    .table-responsive td:before {
        content: attr(data-label);
        font-weight: bold;
        text-transform: uppercase;
        margin-right: 1rem;
    }

    .table-responsive td:last-child {
        border-bottom: 0;
    }
}

/* Modal styles */
#othercalendar .modal-body table {
    width: 100%;
}

#othercalendar .modal-body a {
    color: #0056b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

#othercalendar .modal-body a:hover {
    color: #003d82;
    text-decoration: underline;
}

/* Alert styling */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* SRDU list styling */
.SRDU-list {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.SRDU-list li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.SRDU-list li:last-child {
    margin-bottom: 0;
}
