.custom-list-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 40px;
    padding: 12px 16px;
    width: 100%;
    margin: 24px 0;
    box-sizing: border-box;
    gap: 12px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.04);
    transition-duration: 800ms;
}

.custom-list-item:hover {
    background-color: #d8e6f3;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

body.dark-mode .custom-list-item {
    background-color: #2e2e2e;
    color: #fff !important;
    border: 1px solid #2b2b2b33;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.233), 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.dark-mode .custom-list-item:hover {
    background-color: #334250;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.line-label {
    background: #ff3b3b;
    color: #fff;
    font-weight: bold;
    border-radius: 13.6px / 19.2px;
    padding: 5px 10px;
    font-size: 15px;
    letter-spacing: 1px;
    margin-right: 0px;
    border: 2px solid #fff;
}

.line-name {
    font-weight: 600;
    font-size: 18px;
    color: #111;
    flex: 1;
}

.status-minor {
    background: #FF8C00;
    color: #000;
    border-radius: 50%;
    width: 33px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.status-major {
    background: #ff3b3b;
    color: #000;
    border-radius: 50%;
    width: 33px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.status-minor i {
    color: #000;
}

.status-major i {
    color: #fff;
}

.status-other {
    background: #ffb300;
    color: #000;
    border-radius: 50%;
    width: 33px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.status-other i {
    color: #000;
}

.line-label.nsl {
    background: #e1251b;
}

.line-label.ewl {
    background: #00953b;
}

.line-label.ccl {
    background: #ff9e18;
    color: #000;
}

.line-label.dtl {
    background: #0055b8;
}

.line-label.nel {
    background: #9e28b5;
}

.line-label.tel {
    background: #9d5918;
}

.line-label.lrt {
    background: #718472;
}

.alert-message-content a {
    color: #000;
    text-decoration: underline;
    font-weight: bold;
}

.pulse {
    animation: pulse-animation 2s infinite;
}

/*  */
.disruption-card {
    background: #fff;
    color: #000;
    border-radius: 25px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 8px #0002;
    position: relative;
    transition-duration: 800ms;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon {
    color: #e74c3c;
}

.type {
    font-weight: bold;
    color: #e74c3c;
}

.status.resolved {
    color: #124929;
    margin-left: auto;
    font-weight: bold;
    background-color: #c4f5d7;
    border: 1px solid #2ca05d;
    border-radius: 25px;
    padding: 4px 12px;
}

.status.ongoing {
    color: rgb(136, 79, 14);
    margin-left: auto;
    font-weight: bold;
    background-color: #f5c499;
    border: 1px solid #e67e22;
    border-radius: 25px;
    padding: 4px 12px;
}

.fa-circle.fa-beat {
    padding-bottom: 0.2em;
}

.card-title {
    font-size: 18px;
    margin: 10px 0;
}

.line-label {
    background: #ff3b3b;
    color: #fff;
    font-weight: bold;
    border-radius: 13.6px / 19.2px;
    padding: 5px 10px;
    font-size: 15px;
    letter-spacing: 1px;
    margin-right: 10px;
    border: 2px solid #fff;
    display: inline-block;
}

.line-label.nsl {
    background: #e1251b;
    color: #fff;
}

.line-label.ewl {
    background: #00953b;
    color: #fff;
}

.line-label.ccl {
    background: #ff9e18;
    color: #000;
}

.line-label.dtl {
    background: #0055b8;
    color: #fff;
}

.line-label.nel {
    background: #9e28b5;
    color: #fff;
}

.line-label.tel {
    background: #9d5918;
    color: #fff;
}

.line-label.lrt {
    background: #718472;
    color: #fff;
}

.route {
    background: #f8f8f8;
    border-radius: 6px;
    padding: 2px 8px;
    border: 1px solid #ddd;
}

.card-time {
    color: #000;
    margin: 10px 0;
}

.card-tag {
    display: inline-block;
    border: 1px dashed #e74c3c;
    color: #e74c3c;
    border-radius: 6px;
    padding: 2px 10px;
    font-size: 0.9em;
    margin-top: 10px;
    margin-right: 6px;
    background: transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.card-tag.tag-delay {
    border-color: #e74c3c;
    color: #e74c3c;
}

.card-tag.tag-train-fault {
    border-color: #3b82f6;
    color: #3b82f6;
}

.card-tag.tag-signalling-fault {
    border-color: #f59e42;
    color: #f59e42;
}

.card-tag.tag-maintenance {
    border-color: #43b02a;
    color: #43b02a;
}

.card-tag.tag-weather {
    border-color: #00bcd4;
    color: #00bcd4;
}

#prev-month,
#next-month {
    background-color: #de652e;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #fff;
    border-radius: 60px;
}

.month-nav-disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: none;
}

.btn:disabled {
    border: none
}

span#month-label {
    font-weight: bold;
    font-size: 1.2em;
    margin: 0 15px;
    cursor: default;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 12px;
}

.card-details-multi {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.route-badge {
    display: flex;
    align-items: center;
    border-radius: 12px;
    padding: 2px 12px 2px 4px;
    margin-right: 8px;
    font-size: 1em;
    gap: 8px;
    min-width: 0;
}

.route-badge img {
    height: 35px;
    width: auto;
    flex-shrink: 0;
}

.route-badge .route {
    color: #000;
    font-weight: 500;
    font-size: 1em;
    margin-right: 2px;
    cursor: default;
}

p.no-incidents-reported {
    color: #000;
    margin-top: 1.5em;
    text-align: center;
    background-color: #fff;
    color: #000;
    border-radius: 25px;
    padding: 10px;
    box-shadow: 0 2px 8px #0002;
    transition-duration: 800ms;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px rgba(148, 148, 148, 0.2);
    }

    100% {
        box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
    }
}

body.dark-mode .alert-message-content a {
    color: #fff;
    text-decoration: underline;
    font-weight: bold;
}

body.dark-mode .disruption-card {
    background: #1c1f2b;
    color: #fff;
    border-radius: 25px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #2b2b2b33;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.233), 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

body.dark-mode .route {
    background: #1c1f2b;
    color: #fff;
    border-radius: 6px;
    padding: 2px 8px;
}

body.dark-mode .card-time {
    color: #fff;
}

body.dark-mode .status.resolved {
    color: #48db86;
    margin-left: auto;
    font-weight: bold;
    background-color: #132e1e;
    border: 1px solid #27ae60;
    border-radius: 25px;
    padding: 4px 12px;
}

body.dark-mode .status.ongoing {
    color: #f89b49;
    margin-left: auto;
    font-weight: bold;
    background-color: #6b3c12;
    border: 1px solid #e67e22;
    border-radius: 25px;
    padding: 4px 12px;
}

body.dark-mode p.no-incidents-reported {
    background-color: #1c1f2b;
    color: #fff;
    border: 1px solid #2b2b2b33;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.233), 0 4px 12px rgba(0, 0, 0, 0.1);
}


/* .tsu {
        padding: 7em 1em 7em 1em;
    } */

@media (max-width: 994px) {
    span#month-label {
        font-weight: bold;
        font-size: 1.2em;
        margin: 0 15px;
        padding-top: 7px;
        padding-bottom: 7px;
        padding-left: 5px;
        padding-right: 5px;
        border-radius: 12px;
    }

    #prev-month,
    #next-month {
        background-color: #de652e;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 12px rgba(0, 0, 0, 0.1);
        color: #fff;
        border-radius: 60px;
    }

}

@media (max-width: 450px) {
    .btn {
        width: 48px;
    }
}

