body, html {
    height: 100%;
    margin: 0;
}

.container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    height: 100%;
}

.button-container {
    margin-bottom: 10px;
}

.slider-container {
    display: flex;
    flex-direction: column;
    flex: 1; 
}

.slider {
    flex: 1;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 6px 0px #ccc;
    overflow: hidden;
}

.slider-items {
    display: flex;
    overflow-x: auto;
    padding: 10px 0;
}

.box {
    flex: 0 0 auto;
    margin: 5px; 
    padding: 20px 10px; 
    border: 1px solid #ccc;
    box-shadow: 2px 2px 6px 0px #ccc;
    text-align: center;
    cursor: pointer;
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
}

.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; 
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    align-self: flex-end;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.alert {
    margin-top: 5px !important;
}

.shift-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.shift-item select{
    margin: 3px;
    font-size: 1.25em;
    padding: 0.25em;
}

.hide {
    display: none !important;
}

#unregisterModal,
#shiftModal {
    text-align: center;
}

#shiftModal .shift-item {
    justify-content: center;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-grid .day-column {
    border: 1px solid #fff; 
    background-color: #ccc;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.calendar-grid .day-column .box {
    background-color: #a3cfbb;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 0;
    padding: 20px 2px;
    border: none;
    font-size: 0.75em;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    font-weight: bold;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.calendar-header div{
    margin: 1px;
}

#editShift .shift-item {
    justify-content: center;
}

.expedition-button.active {
    background-color: #00356e; 
    border-color: #001b38; 
    color: white; 
}