:root {
    --primary-color: #3394BF;
    --focus-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
    --form-control-color: #212529;
    --disabled-bg-color: #B0B0B0;
}

body {
    font-family: 'Poppins', sans-serif;
}

.form-control:focus {
    box-shadow: var(--focus-box-shadow);
    -webkit-box-shadow: var(--focus-box-shadow);
}

.circle-list-style {
    list-style-type: circle;
}

.sidebar, .table-header, .create-btn {
    background-color: var(--primary-color);
    color: #FFFFFF !important;
}

.sidebar-item {
    padding-top: 15px;
}

.sidebar-nav .nav-link {
    color: #FFFFFF !important;
}

.heading {
    font-size: 30px;
    font-weight: 700;
    color: #050B4F;
    margin-bottom: 0;
}

.nav-btn {
    color: #050B4F !important;
}

.nav-link.active {
    background-color: var(--primary-color) !important;
    color: #FFFFFF !important;
}

.col-form-label, .form-control {
    font-size: 14px;
}

    .form-control {
    appearance: auto !important;
}

.form-btn {
    background-color: var(--primary-color) !important;
    color: #FFFFFF !important;
    border: none;
    border-radius: 4px;
}

.form-btn:hover {
    background-color: #1980ac !important;
}

.form-btn.disabled {
    background-color: var(--disabled-bg-color) !important;
    cursor: default;
}

.active {
    border-bottom: 1px solid #050B4F;
}

.span-grid {
    background: #333;
    background-size: 5px 5px;
    background-image:
        linear-gradient(to right, grey 1px, transparent 1px),
        linear-gradient(to bottom, grey 1px, transparent 1px);
}

.top-navbar .nav-link, .top-navbar .dropdown-item, .navbar-text {
    color: var(--primary-color) !important;
}

/* styling for top bar */
.topbar-logo {
    width: 5rem;
}

.navbar-brand {
    margin-right: 4rem;
}

.top-navbar {
    background-color: #d5e2ed;
    position: sticky;
    top: 0;
    z-index: 100;
}

.user-dropdown .dropdown-menu[data-bs-popper] {
    right: 0;
    left: unset;
}

.user-dropdown .dropdown-toggle {
    padding-left: 0;
}

@media screen and (min-width:1200px) {
    .col-xl-2 {
        width: 20%;
    }
}

@media screen and (max-width:992px) {
    .user-dropdown .dropdown-menu[data-bs-popper] {
        right: unset;
        left: unset !important;
    }
}


/* Search styling starts here */
.select2-container .select2-selection--single {
    height: 35px !important;
}

#searchTab .nav-link:not(.active) {
    color: #28A7DE !important;
    ;
}

#searchTab .nav-link.active {
    background-color: #28A7DE !important;
}

.select2-container {
    width: 100% !important;
}

.select2-selection__rendered {
    color: var(--form-control-color) !important;
}

#searchTabContent .active {
    border-bottom: unset;
}

/* Export bar styling */
/* status badge */
#icsr-status-badge {
    font-size: 1.1rem;
    line-height: 1.5rem;
    /* inner box shadow */
    box-shadow: inset 0 0 1px 1px #e7e7e7;
    opacity: 0.9;
}

/* status badge tooltip */
.white-tooltip {
    opacity: 0.95 !important;
}

.white-tooltip .tooltip-inner {
    background-color: white;
    color: #000;
    border: 1px solid lightgrey;
    font-size: 0.8rem;
    line-height: 1.1rem;
}

.white-tooltip .tooltip-arrow::before {
    border-left-color: lightgrey;
}

/* Bootstrap radio select */
.form-check {
    font-size: 0.95rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    box-shadow: var(--focus-box-shadow);
}

.popup-loader {
    /* position: fixed;
    top: 0%;
    left: 0%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 30px;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.8);
    width: 100%;
    height: 100%; */
    text-align: center;
    display: none;
}

.inner-popup-loader {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width:100%; /* Use the height of the parent container */
}

.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

.loader-text {
    margin-top: 10px;
    font-size: 14px;
    color: #000;
    text-align: center;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.popup-form {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.form-content {
    background-color: #f3f0f0;
    padding: 20px;
    border: 1px solid #4d744d;
    width: 300px;
    margin: auto;
    position: relative;
}

.name-input {
    border: 1px solid #d1d1d1;
    border-radius: 5px;
    display: block;
    width: 100%;
    box-shadow: 0 0 4px #d6d6d6;
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

.body-height-weight {
    width: 200px;
    font-size: 14px;
    font-weight: 400;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: inline-block;
}

.body-height-weight:focus {
    outline: none;
    border-color: #4C9EFF; /* Border color when focused */
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.timezoneRowContainer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.timezoneRowContainer .timezoneSelector {
    flex: 1;
    min-width: 0;
}

.actionButtonsContainer {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
}