html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* fonts */
    --font-poppins: Poppins;
    --font-lato: Lato;
    --primary: #03af9f;
    --secondary: #f4f9f6;
    --primary-2: #0b393e;

    /* font sizes */
    --font-size-xl: 20px;
    --font-size-lg: 18px;

    /* Colors */
    --dashboard-colors-dashboard-dark-grey: #979797;
    --menu-heading-black: #000;
    --color: #0b393e;
    --dashboard-colors-dashboard-white: #fff;
    --dashboard-colors-dashboard-darkest-grey-color: #666;

    /* border radiuses */
    --br-sm: 14px;
}

.h-screen {
    height: 100svh;
}

.rotate-180 {
    transform: rotate(180deg);
}

.parent {
    display: flex;
}

.nice-scroll {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #f1f1f1;
}
.primary-color {
    color: var(--primary);
}

.bg-yellow {
    background-color: #dcff07;
}

.gap-10 {
    gap: 10px;
}

.w-13 {
    width: 13rem !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary) !important;
    color: #fff !important;
}

.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px var(--primary);
}

.form-control::placeholder {
    color: var(--dashboard-colors-dashboard-dark-grey, #979797);
    font-feature-settings: "clig" off, "liga" off;
    font-family: Poppins;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    opacity: 1;
    /* Firefox */
}

.form-control:-ms-input-placeholder {
    color: var(--dashboard-colors-dashboard-dark-grey, #979797);
    font-feature-settings: "clig" off, "liga" off;
    font-family: Poppins;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.form-control::-ms-input-placeholder {
    color: var(--dashboard-colors-dashboard-dark-grey, #979797);
    font-feature-settings: "clig" off, "liga" off;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.form-check-input {
    width: 0.9rem !important;
    height: 0.9rem !important;
}

.form-check-label {
    color: var(--dashboard-colors-dashboard-dark-grey, #979797);
    font-feature-settings: "clig" off, "liga" off;
    font-family: Poppins;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.btn-primary:hover {
    background-color: #039d8f !important;
    color: #fff;
}

.btn,
.btn-primary {
    box-shadow: none !important;
}

.swal2-styled.swal2-confirm:hover {
    background-color: #039d8f !important;
    color: #fff;
}

.anychart-credits-text {
    display: none;
}

.anychart-credits-logo {
    display: none;
}

@keyframes slideUpAndVibrate {
    0% {
        opacity: 1;
        transform: translateX(-100%);
    }

    50% {
        opacity: 1;
        transform: translateX(10%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

#yayText,
#nameTitle,
.fs-4 {
    animation: slideUpAndVibrate 10s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

@keyframes shake {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-150px);
    }

    100% {
        transform: translateY(0);
    }
}

.confetis {
    animation: shake 3s;
    animation-iteration-count: infinite;
}

.card-animation {
    animation: shake 3s;
    animation-iteration-count: infinite;
}

#animationGoal {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

#animationGoal img {
    width: 400px;
    height: 400px;
    z-index: 999999999999999999999999;
}

#fireworksConfetti > * {
    overflow: hidden;
}

.sixthConfeti {
    position: absolute;
    top: -2%;
    left: 0;
    animation: crescendo 3s ease-in-out infinite;
}

.firstConfeti {
    position: absolute;
    left: 22%;
    top: -25%;
    animation: crescendo 3s ease-in-out infinite;
}

.secondConfeti {
    position: absolute;
    left: 55%;
    top: -5%;
    animation: crescendo 3s ease-in-out infinite;
}

.thirdConfeti {
    position: absolute;
    right: 0;
    top: -3%;
    animation: crescendo 3s ease-in-out infinite;
}

.forthConfeti {
    position: absolute;
    left: 0;
    bottom: -10%;
    animation: crescendo 3s ease-in-out infinite;
}

.fifthConfeti {
    position: absolute;
    right: -5%;
    bottom: -5%;
    animation: crescendo 3s infinite;
}

@keyframes crescendo {
    0% {
        transform: scale(0.8);
    }

    50% {
        transform: scale(1.5);
    }

    100% {
        transform: scale(0.8);
    }
}

.ui-datepicker th {
    font-size: 0.9em;
}

#ui-datepicker-div {
    width: fit-content;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
}

.modal.show {
    display: block;
    height: 100vh !important;
}

.modal-dialog {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    transition: all 0.3s ease;
    min-width: 400px;
}

.modal-dialog {
    margin: 0;
}

.modal-content {
    border-radius: 20px 0 0 20px;
    min-height: 100%;
}

.modal-dialog {
    animation: slideFromRight 0.3s forwards;
}

@keyframes slideFromRight {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(0);
    }
}

.iconbar {
    width: 6% !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.iconbar .nav-link span {
    display: none;
    transition: all 0.3s;
}

.iconbar .iconLogo {
    display: block !important;
}

.no-transition.collapsing {
    transition: none;
}

/* Optional: Customize the transition duration */
.no-transition.collapse {
    transition-duration: 0s;
    /* Set the duration to 0 seconds */
}

.iconbar-toggle {
    display: none;
}

.iconbar-togle-btn .iconbar-toggle {
    display: block !important;
}

#sidebar-toggle {
    position: absolute;
    left: -1.7%;
    top: 4%;
}

.main-screen {
    position: relative;
}

.iconbar .active {
    background: transparent;
}

.nav-link.active:after,
.nav-link:hover:after {
    display: none;
}

.iconbar .nav-link {
    margin: auto;
    display: block;
    background: transparent;
    text-align: center;
}

.dropdown-item:hover {
    background-color: #01ae9f !important;
}

.dropdown-toggle::after {
    display: none;
}

.btn-secondary:not(:disabled):not(.disabled):active:focus,
.show > .btn-secondary.dropdown-toggle:focus {
    border-color: var(--primary);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px var(--primary);
}

.flatpickr-day.selected.startRange,
.flatpickr-day.startRange.startRange,
.flatpickr-day.endRange.startRange,
.flatpickr-day.selected.startRange,
.flatpickr-day.startRange.startRange,
.flatpickr-day.endRange.endRange {
    background-color: #1f95af;
    border: 1px solid #1f95af;
}

.flatpickr-day.selected.startRange,
.flatpickr-day.startRange.startRange,
.flatpickr-day.endRange.startRange:hover,
.flatpickr-day.selected.startRange,
.flatpickr-day.startRange.startRange,
.flatpickr-day.endRange.endRange:hover {
    background-color: #1f95af;
}

.flatpickr-weekdays {
    margin-top: 15px;
}

.input-group > .custom-file,
.input-group > .custom-select,
.input-group > .form-control,
.input-group > .form-control-plaintext {
    background: #fff;
}

.task {
    margin: 10px;
    font-size: 20px;
    display: flex;
    justify-content: end;
    align-items: center;
}

.task .status {
    display: inline-block;
    width: 15px;
    height: 15px;
    /* border-radius: 25%; */
    margin-right: 10px;
    margin-left: 2rem;
    gap: 1rem;
}

.complete {
    background-color: #03af9f;
}

.incomplete {
    background-color: #ffcc24;
}

.bonus {
    background-color: #dcff07;
}

.styled-scrollbar::-webkit-scrollbar {
    width: 4px;
    /* Width of the scrollbar */
}

.styled-scrollbar::-webkit-scrollbar-thumb {
    background-color: #03af9f;
    border-radius: 4px;
    /* Slightly rounded corners for the thumb */
}

.styled-scrollbar::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    /* Color of the scrollbar track */
}

.styled-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: #02927c;
    /* Slightly darker color on hover for better UX */
}

.styled-scrollbar {
    scrollbar-color: #03af9f #f1f1f1;
    /* thumb and track color */
    scrollbar-width: thin;
    /* Making it a bit thinner than the default */
}

.ml-4 {
    margin-left: 1.5rem;
}

.rounded-left {
    border-radius: 6px 0 0 6px;
}

/*.active {*/
/*    background-color: white !important;*/
/*}*/

@media screen and (min-width: 1600px) {
    .iconbar .nav-link {
        width: 50%;
    }
}

@media screen and (max-width: 461px) {
    .active_goal_heading {
        font-size: 0.8em;
    }
}

#endUpcomingGoal:hover {
    background-color: #039d8f !important;
    color: #fff;
}

#endGoalLink:hover {
    background-color: #039d8f !important;
    color: #fff;
}

.error-message {
    color: red;
    font-family: Poppins;
    font-weight: lighter;
    font-size: smaller;
}

.anychart-credits {
    display: none;
}

.ui-widget.ui-widget-content {
    width: fit-content;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
    background-color: #03af9f !important;
}

.custom-input-all:focus {
    outline: 2px solid #03af9f;
}

.custom-input-all {
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.editModal-table td {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: normal;
    line-height: normal;
    padding: 8px;
    background: whitesmoke;
    text-transform: capitalize !important;
}

.editModal-table tbody tr {
    box-shadow: none;
}

.editModal-table th {
    text-transform: capitalize;
}

/* goal css */

.page-link {
    color: #333;
    font-family: Poppins;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    border: none;
}

.deactive {
    color: #cccc;
    cursor: no-drop;
}

.deactive:hover {
    background-color: #fff;
    color: #ccc;
}

.selected {
    background-color: var(--primary);
    color: #fff;
}

.page-link.links,
.page-link.head {
    padding: 6px 12px !important;
    border-radius: 8px !important;
    /* border-bottom-left-radius: ; */
}

.pagination {
    gap: 8px;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .upCard .table-striped tbody tr:nth-of-type(odd) {
  background-color: #F6F6F6 !important;
} */

.upCard table {
    border-collapse: separate;
    border-spacing: 0px 10px;
}

.upCard tbody tr {
    box-shadow: -3px 5px 16px -2px rgba(0, 0, 0, 0.12);
    background-color: #fff;
}

.upCard table tr td,
.upCard table tr th {
    border-bottom: none;
}

.upCard table tr th {
    color: var(--2, #0b393e);
    font-family: Poppins;
    font-size: 0.8rem !important;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    border-top: 0;
    border-bottom-width: 1px;
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    border-top: none !important;
}

@media (min-width: 2500px) {
    .upCard {
        height: 62.5vh !important;
        /* Adjust other styles for 4K screens */
    }
}

@media (min-width: 2500px) {
    .reportsCard {
        height: 75vh !important;
        /* Adjust other styles for 4K screens */
    }
}

/* profile css */

.custom-slide-from-right {
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s ease-in-out, transform 0.3s ease-in-out;
    /* Adjust the duration and easing function */
}

.modal.fade.show.custom-slide-from-right {
    opacity: 1;
    transform: translateX(0);
}

.dropdown-edit-content {
    display: none;
}

.test:before:hover .dropdown-edit-content {
    display: block;
}

.test:hover .dropdown-edit-content {
    display: inline;
}

.hover-container {
    position: relative;
    display: inline-block;
}

.icon-button {
    background-color: #f0f0f0;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    transition: transform 0.3s, color 0.3s;
}

.icon-button:hover {
    transform: scale(1.2);
    /* You can adjust the scale factor as needed */
    color: #03af9f;
    /* Change to the desired color on hover */
}

.options {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #f4f9f6;
    border: 1px solid #ccc;
    padding: 8px;
    z-index: 99999;
    width: 150px;
    border-radius: 12px;
}

.options a {
    color: black;
    display: block;
    text-decoration: none;
    padding-bottom: 7px;
    font-size: 0.9em;
    padding-left: 6px;
    padding-block: 3px !important;
}

.options a:hover {
    background: #03af9f;
    border-radius: 5px;
}

/* Custom CSS to override Bootstrap styles */
.custom-card {
    display: flex;
    padding: 15px 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex: 1 0 0;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0px 4px 16px -4px rgba(0, 0, 0, 0.12);
}

/* Custom CSS for the trophy icon */
.trophy-icon {
    width: 35px;
    height: 38.281px;
}

/* Custom CSS for the heading */
.custom-heading {
    color: #2a2a2a;
    font-family: Poppins;
    font-size: 1.1em;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-left: 10px;
}

.custom-date {
    color: #2a2a2a;
    font-family: Poppins;
    font-size: 0.9em;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Custom CSS to align icon and text in the same line */
.icon-and-text {
    display: inline-flex;
    align-items: center;
}

.srcb::-webkit-scrollbar {
    width: 0;
}

.upcomingEditBtn-text {
    top: -23px;
    position: absolute;
    color: rgba(128, 119, 119, 0.7);
    left: 33%;
    z-index: 100;
}

* {
    box-sizing: border-box;
}

.current-gaol-number:focus {
    outline: none !important;
}

.modal-backdrop {
    opacity: 0.3 !important;
}

.swal-overlay {
    opacity: 0.3 !important;
}

.last-updated-th {
    width: 21% !important;
}

.btn-outline-primary-swal {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    background: transparent !important;
    border: 1px solid var(--primary) !important;
    padding-block: 10px !important;
}

.btn-outline-primary-swal:hover {
    color: white !important;
    background: var(--primary) !important;
}

.swal2-styled.swal2-confirm {
    background: rgb(3, 175, 159) !important;
    padding-block: 10px !important;
    text-align: center !important;
}

.CurrentUpdateGoal-text,
.SaveUpcomingBtn-text {
    top: -23px;
    position: absolute;
    color: rgba(128, 119, 119, 0.7);
    left: 33%;
    z-index: 100;
}

@media only screen and (max-width: 1400px) {
    .last-updated-th {
        width: 23% !important;
    }
}

.upcoming-no-goal {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.btn-primary-swal {
    padding-block: 10px !important;
}

.selectedPercentage {
    background: #03af9f;
}

.select-trigger {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.report-filter-dates::placeholder,
.filter-dates::placeholder {
    color: #03af9f;
}

.report-filter-dates {
    color: #03af9f;
}

.report-filter-dates:focus {
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    border: 1px solid #ced4da !important;
}

.z-index-100 {
    z-index: 100 !important;
}

span#selected-option {
    color: #03af9f;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.swal2-styled.swal2-confirm,
.swal2-styled.swal2-cancel {
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

.swal2-styled.swal2-confirm:active,
.swal2-styled.swal2-cancel:active {
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

.startdatesvg {
    position: absolute;
    left: 20px;
    top: 9px;
}

.swal2-styled.swal2-cancel {
    border: 0;
    border-radius: 0.25em;
    background: initial;
    background-color: transparent !important;
    color: #03af9f !important;
    font-size: 1em;
    border: 1px solid #03af9f !important;
}

.name-option {
    padding: 0.25rem 1.5rem !important;
}

.swal2-icon.swal2-question {
    border-color: #03af9f;
    color: #03af9f;
}

.swal2-styled.swal2-cancel {
    color: rgb(3, 175, 159) !important;
    border-color: var(--primary) !important;
    background-color: transparent !important;
    border: 1px solid rgb(3, 175, 159) !important;
    padding-block: 10px !important;
}

.swal2-styled.swal2-cancel:hover {
    color: white !important;
    background: rgb(3, 175, 159) !important;
}

.button.swal2-cancel.btn.btn-outline-primary.mx-2,
.button.swal2-confirm.btn.btn-primary {
    padding-block: 10px !important;
}

.name-options-container {
    border: 1px solid #ced4da !important;
}

.name-option {
    transition: none !important;
}

.name-option:active {
    color: white;
}

.modal-content {
    min-height: 100vh !important;
    max-height: fit-content !important;
}

@media only screen and (max-width: 1500px) {
    .report-filter-dates {
        padding-left: 30px !important;
    }

    .datecalender {
        width: 107%;
    }

    .startdatesvg {
        left: 15px !important;
    }
}

@media only screen and (min-width: 800px) {
    .filters {
        flex-wrap: nowrap;
    }
}

.select-user-type:hover {
    color: var(--2, #0b393e) !important;
    border: 1px solid #979797 !important;
}

.select-user-type:not(:disabled):not(.disabled).active,
.select-user-type:not(:disabled):not(.disabled):active,
.show > .select-user-type.dropdown-toggle {
    color: var(--2, #0b393e) !important;
    border: 1px solid #979797 !important;
}
.modal-goal-number {
    text-align: center;
    text-transform: uppercase;
    font-family: "Poppins";
    color: #0b393e;
    vertical-align: middle;
    padding-block: 8px !important;
}
