.quick-link-group {
    display: none;
}


.select2-container .select2-dropdown {
    background-color: white !important;
    z-index: 9999 !important;
}

.select2-container--default .select2-selection--single {
    background-color: white !important;
    border: 1px solid #ced4da;
    height: 38px;
}

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        color: #212529;
        line-height: 36px;
        padding-left: 10px;
    }

.accordion.mt-3 {
    margin-top: 1rem !important;
}

.accordion + .accordion {
    margin-top: 0.5rem !important;
}

.card-body .form-label {
    font-weight: 500;
    font-size: 0.95rem;
}

.form-inline-pair {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-inline-pair > div {
    flex: 1 1 200px;
}



html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.tabMenu {
    border-bottom: none !important;
}

#tabMenu {
    border-bottom: none !important;
}

.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;
}

.no-arrow {
    -webkit-appearance: none; /* Safari/Chrome */
    -moz-appearance: none; /* Firefox */
    appearance: none; /* Standard */
    background-image: none !important;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Set background color for all select elements */
select {
    background-color: #f8f9fa !important; /* Light grey background */
}

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    flex-direction: column; /* Stack the elements vertically */
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #333;
    visibility: visible;
}


.spinner-container {
    display: block;
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center horizontally */
    justify-content: center; /* Center vertically */
    background-color: white; /* Optional: Background color */
    padding: 20px; /* Optional: Padding */
    border-radius: 10px; /* Optional: Rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: Shadow */
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #000;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 1s linear infinite;
    -webkit-animation: spin 1s linear infinite; /* Safari */
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spin { /* Safari */
    to {
        -webkit-transform: rotate(360deg);
    }
}

.message {
    margin-top: 10px;
    font-size: 12px;
    color: #000;
    text-align:center;
    display:block;
}

#ErrorMessageDiv{
    display:none;
}

#ErrorDiv {
    display: none;
}

.formButton {
    width: 130px;
    font-size: 12px;
}

.larger-select {
    font-size: 1.25rem; /* Increase font size */
    padding: 0.5rem; /* Add more padding */
    height: auto; /* Adjust height if necessary */
}

.yellowButton{
    background-color: #FAB114; 
}

/* General tab styles */
.nav-tabs {
    border-bottom: 2px solid #dee2e6;
}

    .nav-tabs .nav-link {
        color: #495057; /* Default tab text color */
        background-color: #d1c4e9; /* Light purple (lavender) background color for tabs */
        border: 1px solid transparent;
        border-top-left-radius: 0.25rem;
        border-top-right-radius: 0.25rem;
        transition: background-color 0.3s ease, transform 0.2s ease;
    }

        .nav-tabs .nav-link:hover {
            background-color: #f8bbd0; /* Soft pink background on hover */
            transform: scale(1.05); /* Slight zoom effect on hover */
        }

        /* Selected tab styles */
        .nav-tabs .nav-link.active {
            color: #fff;
            background-color: #ffd700; /* Golden yellow for the selected tab */
            border-color: #ffd700 #ffd700 #fff;
            font-weight: bold;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Adds a more pronounced shadow for emphasis */
        }

            /* Hover effect for active tab */
            .nav-tabs .nav-link.active:hover {
                background-color: #ffcc00; /* Slightly darker gold for hover effect on selected tab */
            }

    /* Optional - give the tabs a bit more padding */
    .nav-tabs .nav-link {
        padding: 0.75rem 1.25rem;
    }



/* Add custom styling for the import form */
.grouped {
    background-color: #f3f4f6; /* light gray background */
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
}

.grouped input[type="file"] {
    border-color: #ffc107; /* yellow border for the file input */
}

.grouped .formButton {
    background-color: #ffeb3b; /* make the button stand out */
    border: 1px solid #ffc107;
}

.grouped .formButton:hover {
    background-color: #ffc107; /* darker yellow on hover */
}

.statistics {
    margin-bottom: 10px;
    font-size: 14px;
}

.statistics p {
    margin: 0px 0px;
}

.log-textarea {
    font-family: monospace;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    resize: none; /* Prevent resizing */
}

.address_auto_complete{
    color:red;
}

#linkPreviewGlobal img {
    width: 150px; /* Match the max-width of the select box */
    height: 32px; /* Approximate height of a Bootstrap .form-select-sm */
}

textarea::placeholder {
    white-space: pre-line; /* Allow line breaks in placeholder */
}

/* Modern toggle switch styles */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

    .toggle-switch-slider:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }

.toggle-switch-input:checked + .toggle-switch-slider {
    background-color: #2196F3;
}

    .toggle-switch-input:checked + .toggle-switch-slider:before {
        transform: translateX(26px);
    }

.toggle-switch-input:focus + .toggle-switch-slider {
    box-shadow: 0 0 1px #2196F3;
}

/* Add animation when toggling */
.toggle-switch-input:active + .toggle-switch-slider:before {
    width: 20px;
}

.hidden {
    display: none !important;
}