html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}


.loader-table {
    width: 48px;
    height: 48px;
    border: 5px solid #000;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation-table 1s linear infinite;
}
.loading-numbers {
    width: 18px;
    height: 18px;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation-table 1s linear infinite;
}

@keyframes rotation-table {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.container-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

.flex-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.bold{
    font-weight:800;
    font-size: calc(26rem / 16)
}
.bold-only {
    font-weight: 800;
}

.today {
    background-color: lightblue !important;
}
.day-min-height{
    height:110px;
}
.selected {
    background-color: yellow;
    width: 500px;
    height: 250px;
}
.weekend {
    background-color: lightgray;
}
.hidden {
    display: none;
}
.card-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.call-count {
    display: flex;
    flex-direction: column;
    font-weight: bold;
}
.calendar-row {
    display: flex;
}

.callCount {
    font-weight: bold;
    margin-right: 5px;
}
.align-start {
    justify-content: start;
    display: flex;
}
.month-center {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.hide{
    display:none;
}
.show{
    display:block;
}
.custom-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close-button:hover,
    .close-button:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

/* Style for the button */
.show-modal-button {
    margin: 50px;
    padding: 15px 30px;
    font-size: 16px;
}

.tableToShowLocations {
    margin: 20px;
}

#alllocations {
    width: 100%;
    border-collapse: collapse;
}

    #alllocations th, #alllocations td {
        border: 1px solid #ddd;
        padding: 8px;
    }

    #alllocations th {
        padding-top: 12px;
        padding-bottom: 12px;
        text-align: left;
        background-color: #f2f2f2;
    }


    .custom-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close-button:hover,
    .close-button:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

/* Style for the button */
.show-modal-button {
    margin: 50px;
    padding: 15px 30px;
    font-size: 16px;
}

.tableToShowLocations {
    margin: 20px;
}

#alllocations {
    width: 100%;
    border-collapse: collapse;
    max-height: 350px;
    overflow-y: scroll;
}

    #alllocations th, #alllocations td {
        border: 1px solid #ddd;
        padding: 8px;
    }

    #alllocations th {
        padding-top: 12px;
        padding-bottom: 12px;
        text-align: left;
        background-color: #f2f2f2;
    }

#alllocations2 {
    width: 100%;
    border-collapse: collapse;
    max-height: 350px;
    overflow-y: scroll;
}

    #alllocations2 th, #alllocations2 td {
        border: 1px solid #ddd;
        padding: 8px;
    }

    #alllocations2 th {
        padding-top: 12px;
        padding-bottom: 12px;
        text-align: left;
        background-color: #f2f2f2;
    }

.close-button2 {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.chart-button{
}

#downloadBtn {
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    #downloadBtn:hover {
        background-color: #0056b3;
    }

    #downloadBtn:active {
        transform: scale(0.95);
    }

/* Loading screen styling */
#loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden; /* Initially hidden */
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease;
}

    #loadingScreen.show {
        visibility: visible;
        opacity: 1;
        gap:20px;
    }

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid #3498db; /* Spinner color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#loadingScreen span {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #333;
    font-family: Arial, sans-serif;
}
/*TOAST*/
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    min-width: 300px;
    max-width: 350px;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
    animation: fadeIn 0.5s, fadeOut 0.5s 4.5s;
}

    .toast.success {
        background-color: #28a745; /* Green */
    }

    .toast.error {
        background-color: #dc3545; /* Red */
    }

    .toast.warning {
        background-color: #ffc107; /* Yellow */
        color: black;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

.text-size-bold{
    font-weight: 700;
    font-size: 24px;
}