body {
    margin-top: 50px;
    margin-bottom: 50px;
}

/*COLORS copy from colors.css*/
.blue-shift {
    background-color: #4B92DB;
}

.blue-x-shift {
    background: repeating-linear-gradient(45deg, #4B92DB, #4B92DB 10px, #6fa8e2 10px, #6fa8e2 20px);
}

.orange-shift {
    background-color: #FF9966;
}

.orange-x-shift {
    background: repeating-linear-gradient(45deg, #FF9966, #FF9966 10px, #ffad85 10px, #ffad85 20px);
}

.green-shift {
    background-color: #00A693;
}

.gray-x-shift {
    background: repeating-linear-gradient(45deg, #b8b8b8, #b8b8b8 10px, #a0a0a0 10px, #a0a0a0 20px);
}

.gray-bg {
    background-color: #d5eeee;
}

.pink-shift {
    background-color: #f85084;
}

.pink-x-shift {
    background: repeating-linear-gradient(45deg, #f85084, #f85084 10px, #fa82a7 10px, #fa82a7 20px);
}


/* MENU Styles */

.dropdown-menu {
    max-width: 400px;
}

.status-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 10px;
}

.status-box p {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    margin: 0;
}

.status-icon {
    width: 27px;
    height: 27px;
}

.status-container .nav-item.dropdown {
    padding: 0 !important;
    margin: -10px;
}

.icon-p p {
    margin-bottom: 5px;
}

/* Custom CSS to remove the dropdown arrow */
.nav-item.dropdown .nav-link::after {
    display: none;
}

.status-name {
    color: #fff;
}

.bgorange {
    background-color: #FF9966;
}

.navbar {
    padding: 3px 10px 0 10px;
    background-color: #fff;
}

.nav-link {
    font-size: 15px;
    color: darkorange;
}

#navbarDropdown::after {
    display: none;
}

.logo {
    margin-top: -3px;
}

.nav-link-orange:hover,
.nav-link-green:hover,
.nav-link-blue:hover,
.nav-link-white {
    color: #00000020;
    margin: 0 -5px;
}

.nav-link-green {
    color: #00A693;
    margin: 0 -5px;
}

.nav-link-orange {
    color: #FF9966;
    margin: 0 -5px;
}

.nav-link-blue {
    color: #4B92DB;
    margin: 0 -5px;
}

.nav-link-white:hover,
.nav-link-white:active,
.nav-link-white:focus {
    color: #1560BD;
}

.nav-link:hover .fa-filter {
    color: #1560BD; /* This color will be applied when hovering */
}


.menu-separator {
    margin: 0 5px; /* Spacing around the separator */
}

.menu-button {
    padding: 2px 7px;
    margin-top: 7px;
    border-radius: 15px;
}

.filter-icon {
    color: #e3f2fd;
}

.filter-icon-active {
    color: orange; /* Color when active */
}

.status-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding-top: 8px;
}

.menu-group {
    color: #00000030;
    text-transform: uppercase;
    margin-top: 8px;

}

.menu-icon-buttons {
    padding-left: 15px;
}

/* MENU Status Styles */

.status-shift {
    background: #00A69370;
    height: 30px;
    width: 30px;
    border-radius: 15px;
    margin: 5px;
}

.status-shift:hover,
.status-shift-active {
    background: #00A693;
    height: 30px;
    width: 30px;
    border-radius: 15px;
    margin: 5px;
}

.status-open {
    background: #4B92DB70;
    height: 30px;
    width: 30px;
    border-radius: 15px;
    margin: 5px;
}

.status-open:hover,
.status-open-active {
    background: #4B92DB;
    height: 30px;
    width: 30px;
    border-radius: 15px;
    margin: 5px;
}

.status-open-active:hover {
    background: #4B92DB70;
    height: 30px;
    width: 30px;
    border-radius: 15px;
    margin: 5px;
}


.status-open-team {
    background: repeating-linear-gradient(45deg, #4B92DB70, #4B92DB70 10px, #6fa8e270 10px, #6fa8e270 20px);
    height: 30px;
    width: 30px;
    border-radius: 15px;
    margin: 5px;
}

.status-open-team:hover,
.status-open-team-active {
    background: repeating-linear-gradient(45deg, #4B92DB, #4B92DB 10px, #6fa8e2 10px, #6fa8e2 20px);
    height: 30px;
    width: 30px;
    border-radius: 15px;
    margin: 5px;
}

.status-pending {
    background: #FF996670;
    height: 30px;
    width: 30px;
    border-radius: 15px;
    margin: 5px;
}

.status-pending:hover,
.status-pending-active {
    background: #FF9966;
    height: 30px;
    width: 30px;
    border-radius: 15px;
    margin: 5px;
}

.status-pending-team {
    background: repeating-linear-gradient(45deg, #FF996670, #FF996670 10px, #ffad8560 10px, #ffad8560 20px);
    height: 30px;
    width: 30px;
    border-radius: 15px;
    margin: 5px;
}

.status-pending-team:hover,
.status-pending-team-active {
    background: repeating-linear-gradient(45deg, #FF9966, #FF9966 10px, #ffad85 10px, #ffad85 20px);
    height: 30px;
    width: 30px;
    border-radius: 15px;
    margin: 5px;
}

.status-detachering {
    background: #f8508470;
    height: 30px;
    width: 30px;
    border-radius: 15px;
    margin: 5px;
}

.status-detachering:hover,
.status-detachering-active {
    background: #f85084;
    height: 30px;
    width: 30px;
    border-radius: 15px;
    margin: 5px;
}

.status-archive {
    background-color: #fff;
    color: #808080;
    border-style: solid;
    border-width: 2px;
    border-color: #b3b3b3;
    height: 30px;
    width: 30px;
    border-radius: 15px;
    margin: 5px
    padding: 0;
}

.status-archive:hover,
.status-archive-active {
    background-color: #eee;
    color: #808080;
    border-style: solid;
    border-width: 2px;
    border-color: #b3b3b3;
    height: 30px;
    width: 30px;
    border-radius: 15px;
    margin: 5px;
    padding: 0;
}

/* MAIN page style */

.m20 {
    margin: 20px;
}

.fixed {
    max-height: calc(87vh - 70px);
    /*max-height: 700px;*/
    overflow-y: auto;
    background: #fff;
}

.custom-alert {
    margin: 0 20px;
    padding: 10px;
}

/*SCREEN SIZE VISIBILITY BEHAVIOR*/

@media (min-width: 1024px) {
    .show-shifts {
        display: block !important;
    }

    .clickable-dayheader-container {
        cursor: default;
    }
}

@media (max-width: 1024px) {
    .show-shifts {
        display: none;
    }

    .clickable-dayheader-container {
        cursor: pointer;
    }
}


/*Webkit Scrollbar Styles*/

.fixed::-webkit-scrollbar {
    width: 9px;
}

.fixed::-webkit-scrollbar-track {
    background: transparent;
}

.fixed::-webkit-scrollbar-thumb {
    background-color: rgba(239, 156, 55, 0.5);
    border-radius: 20px;
    border: transparent;
}

.weeknrdates {
    min-width: 100px;
    text-align: center;
    font-size: 14px;
    background-color: #4B92DB;
    color: white;
    padding: 0 10px;
    border-radius: 10px;
    float: right;
    margin-top: 7px;
}

.weeknr h1 {
    text-align: left;
    padding: 5px 20px;
    background-color: #d0dff2;
    margin-bottom: 10px;
    border-radius: 20px;
    cursor: pointer;
}

.date-range {
    font-size: 10px;
}

.grid-container {
    display: grid;
}

.day0 {
    grid-column: 1;
}

.day1 {
    grid-column: 2;
}

.day2 {
    grid-column: 3;
}

.day3 {
    grid-column: 4;
}

.day4 {
    grid-column: 5;
}

.day5 {
    grid-column: 6;
}

.day6 {
    grid-column: 7;
}

.dayheader {
    background-color: #fff;
    color: #1560BD;
    max-width: 300px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    padding: 5px;
    border-style: solid;
    border-width: 1px;
    border-radius: 17px;
    margin-bottom: 10px;
}

.shift-count {
    font-size: 12px;
    font-weight: normal;
}

.dayheader-all {
    background-color: #fff;
    color: #1560BD;
}

h1 {
    font-size: 24px;
    color: #1560BD;
    margin: 0;
}

h2 {
    font-size: 18px;
    color: #777;
    text-align: center;
    margin: 0;
}

/* CARD CSS */

/* Ensure the container is positioned relative to the viewport */
.icon-container {
    position: absolute; /* Fix the container in the viewport */
    bottom: 7px; /* Space from the bottom of the viewport */
    right: 7px; /* Space from the right edge of the viewport */
    display: flex; /* Use flexbox for layout */
    gap: 3px; /* Space between icons */
    align-items: center; /* Align icons vertically in the center */
}

/* Common styles for icons */
.icon-container .notes-icon,
.icon-container .star-icon {
    color: rgba(255, 255, 255, 0.5); /* Set icon color */
}

/* Specific styles for individual icons, if needed */
.notes-icon {
    /* Additional styles if needed */
}

.star-icon {
    /* Additional styles if needed */
}



.other-font {
    font-family: Serif;
    font-size: 14px;
}

.card {
    max-width: 350px;
    font-size: 11px;
    line-height: 13px;
    color: #fff;
    padding: 8px;
    border: none;
    border-radius: 12px;
    margin-bottom: 7px;
}

/* First line card */

.container-card {
    display: flex;
    align-items: center;
}

.checkmark {
    margin-left: 2px;
    height: 11px;
    width: 11px;
    background-color: #fff;
    border-style: none;
}

.date-card {
    flex: 1 0 auto;
    text-align: left;
    font-size: 11px;
}

.time-card {
    flex: 0 0 auto;
    text-align: right;
    font-size: 11px;
}

.inline-row {
    display: flex;
    align-items: center;
    padding: 5px 15px;
    height: 40px;
    border: solid;
    border-width: 1px;
    border-radius: 20px;
    border-color: #FF9966;
}

.inline-row > * {
    margin-right: 10px;
}

.custom-button {
    border: none;
    background-color: #FF9966;
    color: white;
    width: max-content;
}

.custom-button-green {
    border: none;
    background-color: #00A693;
    color: white;
    width: max-content;
}

.inverse {
    border-radius: 7px;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 2px 5px;
    margin-bottom: 5px;
}

.feedback {
    text-align: center;
    font-size: 14px;
    margin-bottom: 2px;
}

.stars {
    text-align: center;
    font-size: 12px;
    letter-spacing: 5px;
}

.star-rating-card p {
    margin-bottom: 5px;
    text-align: center;
    margin-top: 5px;
}

.star-rating-card {
    text-align: center;
}

.star-rating-card .star {
    font-size: 25px;
}

.star-rating-card .star.filled {
    color: #FF9966;
    font-size: 25px;
}

.cardinfo {
    display: none;
}

.card-hover {
    cursor: pointer;
}

.popup {
    display: none;
}

.flex-container {
    display: flex;
}

/* flexcontainer space between */
.sb {
    justify-content: space-between;
    flex-wrap: wrap;
}

.nolinkstyle {
    text-decoration: none;
}

.shiftcard {
    background-color: #155a9f;
    color: #fff;
    padding: 5px;
    margin-bottom: 10px;
}

.shifts {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-gap: 10px;
    margin-bottom: 10px;
}

.shift {
    color: #fff;
    padding: 5px;
    margin-bottom: 10px;
}

.id {
    font-size: 11px;
}

.nolinkstyle {
    text-decoration: none;
}

@media only screen and (max-width: 1400px) {
    /* or another breakpoint that suits your design */
    #logo {
        display: none;
    }

    .shifts {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        max-width: 400px;
    }

    .fixed {
        overflow: visible;
    }

    .card {
        max-width: 400px;
        font-size: 14px;
        line-height: 17px;
        color: #fff;
        padding: 10px;
        border: none;
        border-radius: 12px;
        margin-bottom: 10px;
    }

    .inverse {
        padding: 3px 7px;
        margin-bottom: 5px;
    }

    .date-card {
        font-size: 14px;
    }

    .time-card {
        font-size: 14px;
    }
}

@media screen and (min-width: 1600px) {
    .card {
        font-size: 12px;
        line-height: 14px;
        max-width: 400px;
        /*height: 92px;*/
    }
}

@media screen and (min-width: 1400px) {
    .day0 {
        grid-column: 1;
    }

    .day1 {
        grid-column: 2;
    }

    .day2 {
        grid-column: 3;
    }

    .day3 {
        grid-column: 4;
    }

    .day4 {
        grid-column: 5;
    }

    .day5 {
        grid-column: 6;
    }

    .day6 {
        grid-column: 7;
    }

    .dayheader {
        max-width: 400px;
        font-size: 13px;
    }
}

/* For mobile screens */
@media screen and (max-width: 1200px) {
    /* Adjust breakpoint as needed */
    .grid-container {
        display: grid;
        grid-template-columns: 1fr; /* Single column layout */
    }

    .weekday {
        grid-column: 1 / -1; /* Each day takes the full width */
    }

    .fixed {
        max-height: none; /* Adjust fixed container for better scrolling */
        overflow: visible; /* Adjust overflow for better visibility */
    }

    /* Ensure shift cards fit within single column */
    .card {
        max-width: 400px; /* Full width within the container */
        /* Other necessary adjustments for card */
    }

    .dayheader {
        max-width: 400px;
        font-size: 12px;
    }
}

.future-shifts {
    font-size: 14px;
    color: #1560BD;
    text-align: center;
}


/* FOOTER */

/* Hide the small footer by default */
#footer-small {
    display: none;
}

/* Show the small footer and hide the large footer for screens smaller than 1200px */
@media screen and (max-width: 1199px) {
    #footer-small {
        display: flex;
    }
    #footer-large {
        display: none;
    }
}

/* Show the large footer by default */
@media screen and (min-width: 1200px) {
    #footer-large {
        display: flex;
    }
}

.footer {
    width: 100%;
    height: 35px;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #4B92DB; /* You can change this color as per your preference */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2); /* Adds a shadow for better visibility */
    display: flex;
    align-items: center; /* Aligns items vertically */
    justify-content: space-between; /* Adjusts the spacing between the items */
    padding: 0 20px; /* Adds some padding to both sides */
}

.user-info {
    color: white; /* Ensures the text color is visible on the footer background */
}

.footer-logo {
    margin-left: auto; /* Pushes the logo to the far right */
    height: 25px;
}
