/* Tabs container */
#tabs-swipe {
    display: flex;
    gap: 10px;
    background: #f5f5f5;
    border-radius: 30px;
    padding: 8px;
    box-shadow: none;
    overflow: hidden;
    height: auto;
}

/* Remove Materialize's indicator */
#tabs-swipe .indicator {
    display: none;
}

/* Allow each tab to size naturally */
#tabs-swipe .tab {
    flex: 1;
    height: auto;
}

/* Rounded rectangle buttons */
#tabs-swipe .tab a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    line-height: normal;
    border-radius: 24px;
    color: #666 !important;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: none;
}

/* Hover */
#tabs-swipe .tab a:hover {
    background: #ececec;
}

/* Active tab */
#tabs-swipe .tab a.active {
    background-color: #8D1436 !important;
    color: #fff !important;
    border-radius: 25px;
}


/* Tabs container */
#tabs-swipe-demo {
    display: flex;
    gap: 10px;
    background: #f5f5f5;
    border-radius: 30px;
    padding: 8px;
    box-shadow: none;
    overflow: hidden;
    height: auto;
}

/* Remove Materialize's indicator */
#tabs-swipe-demo .indicator {
    display: none;
}

/* Allow each tab to size naturally */
#tabs-swipe-demo .tab {
    flex: 1;
    height: auto;
}

/* Rounded rectangle buttons */
#tabs-swipe-demo .tab a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    line-height: normal;
    border-radius: 24px;
    color: #666 !important;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: none;
}

/* Hover */
#tabs-swipe-demo .tab a:hover {
    background: #ececec;
}

/* Active tab */
#tabs-swipe-demo .tab a.active {
    background-color: #8D1436 !important;
    color: #fff !important;
    border-radius: 25px;
}

/* Container */
.collapsible.popout {
    border: none;
    box-shadow: none;
}

/* Accordion items */
.collapsible.popout > li {
    margin: 0px 0 !important; /* Reduced from 15px */
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid #e0e0e0 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,.08) !important;
    transition: all .25s ease;
}

/* Header */
.collapsible.popout > li > .collapsible-header {
    border-bottom: none !important;
    border-radius: 16px !important;
    background: #fff !important;
}

/* Body */
.collapsible.popout > li > .collapsible-body {
    border-top: 1px solid #eee !important;
    background: #fff !important;
}

/* Hover */
.collapsible.popout > li:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(138,21,56,.2) !important;
}

/* Active */
.collapsible.popout > li.active {
    margin: 8px 0 !important; /* Slightly larger than inactive */
    border: 1px solid #8a1538 !important;
    box-shadow: 0 4px 16px rgba(138, 21, 56, 0.3) !important;
}

/* Active accordion header */
.collapsible.popout > li.active > .collapsible-header {
    background: #8a1538 !important;
    color: #fff !important;
    border-bottom: none !important;
}

/* Make the icon white too */
.collapsible.popout > li.active > .collapsible-header .material-icons {
    color: #fff !important;
}

.deadline-card {
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: default; /* or pointer if it's clickable */
}

.deadline-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5),
                0 0 20px rgba(76, 175, 80, 0.4),
                0 0 30px rgba(76, 175, 80, 0.3);
}