body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700; /* Set font weight to 700 */
    background-color: #ffffff; /* Set the background color to white */
}
.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1030; /* Ensure the navbar stays on top of other content */
}
.navbar-brand img {
    height: 40px;
}
.divider {
    border-left: 1px solid #ddd;
    height: 40px;
    margin-left: 20px;
    margin-right: 20px;
}
.navbar-nav .nav-link {
    color: #000;
}
.navbar-nav .nav-link:hover {
    color: #007bff;
}
.navbar-container {
    max-width: 1140px; /* Adjust the width as needed */
    margin: 0 auto;
}
/* Ensure some content is present to test the sticky effect */
.content {
    height: 2000px;
}
/* Hide divider on mobile screens */
.divider {
    display: none;
}
@media (min-width: 992px) { /* lg and up */
    .divider {
        display: block;
    }
}


.small-card {
    width: 6rem; /* Adjust the width as needed */
    border-radius: 8px; /* Optional: rounded corners */
    padding: 0.5rem; /* Optional: reduce padding inside the card */
}

.small-card .card-body {
    padding: 1rem; /* Adjust padding inside the card body */
}

.card-title {
    font-size: 1.5rem; /* Smaller font size for titles */
}

.card-text {
    font-size: 0.875rem; /* Smaller font size for text */
}

.divider-card {
    height: 1px; /* Adjust height for dividers */
    width: 100%;
    background-color: #000; /* Divider color */
    margin: 0.25rem 0; /* Reduce margin around dividers */
}

/* Muted Divider Style */
.muted-divider {
    background-color: rgba(0, 0, 0, 0.3); /* Less bright color (adjust alpha as needed) */
}

.card-title-link {
    text-decoration: none; /* Remove default underline */
    color: inherit; /* Ensure text color is inherited */
    transition: text-decoration 0.3s ease; /* Smooth transition for underline */
}

.card-title-link:hover {
    text-decoration: underline; /* Underline on hover */
}

/* Optional: Adjust font size or weight if needed */
.card-title {
    font-size: 1.5rem; /* Adjust as necessary */
}

.card-text {
    font-size: 0.875rem; /* Adjust as necessary */
}

/* Select Language Bar */
.navbar-nav .dropdown-toggle .fi {
    font-size: 1.5rem; /* Adjust flag size */
}

.navbar-nav .dropdown-toggle .ms-2 {
    font-size: 1rem; /* Adjust text size */
}

/* For groups in registration page */
.divider-with-text {
    position: relative;
    text-align: center;
    margin: 10px 0;
}

.divider-with-text::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #dee2e6;
    z-index: 1;
}

.divider-with-text span {
    position: relative;
    background: #fff; /* match with card body or background */
    padding: 0 10px;
    z-index: 2;
}

/* Target the div containing the radio buttons */
#competition_participants_groupType {
    display: flex; /* Use flexbox to align items inline */
    gap: 0.5rem; /* Adjust this value to set the space between the radio buttons */;
}

#registration_type_form_groupType {
    display: flex; /* Use flexbox to align items inline */
    gap: 0.5rem; /* Adjust this value to set the space between the radio buttons */;
}
/* Registruotis mygtukas */
.submit-button-container {
    text-align: center;
    margin-top: 1rem; /* Adjust as needed */
}

.submit-button-container button {
    display: inline-block;
}

/* Remove arrows from input type="number" */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* Wrapper to position the spinner correctly */
.form-wrapper {
    position: relative; /* Relative positioning context for the spinner overlay */
    width: 100%; /* Ensure it takes full width of the form */
    height: 100%; /* Ensure it takes full height of the form */
}

/* Spinner overlay styles */
.spinner-overlay {
    position: absolute; /* Positioned relative to .form-wrapper */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6); /* White background with opacity */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    z-index: 1050; /* Ensure it's above other content */
    pointer-events: none; /* Allows clicks through the overlay */
}

/*.reorder-list-group {
    !*width: 100%;*!
    !*max-width: 460px;*!
    margin-inline: 1.5rem;
}*/

.form-check-input:checked + .form-checked-content {
    opacity: .5;
}

.form-check-input-placeholder {
    border-style: dashed;
}
[contenteditable]:focus {
    outline: 0;
}

.list-group-checkable .list-group-item {
    cursor: pointer;
}
.list-group-item-check {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}
.list-group-item-check:hover + .list-group-item {
    background-color: var(--bs-secondary-bg);
}
.list-group-item-check:checked + .list-group-item {
    color: #fff;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.list-group-item-check[disabled] + .list-group-item,
.list-group-item-check:disabled + .list-group-item {
    pointer-events: none;
    filter: none;
    opacity: .5;
}

.list-group-radio .list-group-item {
    cursor: pointer;
    border-radius: .5rem;
}
.list-group-radio .form-check-input {
    z-index: 2;
    margin-top: -.5em;
}
.list-group-radio .list-group-item:hover,
.list-group-radio .list-group-item:focus {
    background-color: var(--bs-secondary-bg);
}

.list-group-radio .form-check-input:checked + .list-group-item {
    background-color: var(--bs-body);
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 2px var(--bs-primary);
}
.list-group-radio .form-check-input[disabled] + .list-group-item,
.list-group-radio .form-check-input:disabled + .list-group-item {
    pointer-events: none;
    filter: none;
    opacity: .5;
}

.ajax-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

