body.authentication-bg-pattern {
    background-image: none !important;
}
body.authentication-bg {
    background-color: #3b8f2c !important;
}

.btn-primary {
    background-color: #ffc132;
    border-color: #ffc132;
}

.btn-primary:hover {
    background-color: #3b8f2c;
    border-color: #3b8f2c;
}

.app-menu {
    background: #3b8f2c !important;
    color: #fff;
}

.navbar-custom {
    background: #ffc132;
}

.navbar-custom .topbar .nav-link,
.menu .menu-item .menu-link,
.navbar-custom .topbar .nav-link {
    color: #fff;
}

.menu .menu-item .menu-link[aria-expanded="true"],
.menu .menu-item .menu-link.show,
.menu .menu-item .menu-link:focus,
.menu .menu-item .menu-link:hover,
.menu .menu-item.menuitem-active > .menu-link {
    color: #ffd302;
    font-weight: bold;
}

.menu {
    margin-top: 10px;
}

.logo-box .logo-lg {
    height: 40px;
}

.menu .menu-title {
    color: #fff;
}

.logo-box .logo-dark .logo-light {
    padding-top: 10px;
}

.menu {
    padding-left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    list-style-type: none;
    gap: var(--ct-menu-item-gap);
    padding-top: var(--ct-menu-item-gap);
}

html[data-sidenav-size="condensed"]:not([data-layout="horizontal"])
    .app-menu
    .logo-box {
    background: none;
    border-radius: 0;
}

.page-title-box .page-title-right {
    float: right;
}

.navbar-custom .topbar .nav-link:hover,
.navbar-custom .topbar li .nav-link.show {
    color: #000;
}

.membership {
    margin-bottom: 20px;
    background-color: #ffffff;
}

.membership .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    position: relative;
    background-image: url("https://www.transparenttextures.com/patterns/white-diamond.png");
}

.membership .card-header {
    background-color: #3b8f2c;
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
    text-transform: uppercase;
}

.membership .card-header .logo {
    width: 120px;
    background: #fff;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #ffff;
    position: absolute;
    top: 20px;
    right: 30px;
}

.membership .card-body {
    padding-top: 80px;
    padding: 20px;
}

.membership .card-body h1 {
    color: #3b8f2c;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.membership .card-body .info-label {
    font-weight: bold;
    color: #3b8f2c;
    text-transform: uppercase;
}

.membership .card-body .info-value {
    color: #333;
    text-transform: uppercase;
}

.membership .card-footer {
    background-color: #3b8f2c;
    color: white;
    padding: 10px;
    text-align: center;
    border-top: 1px solid #2a6a1c;
    text-transform: uppercase;
}

.qr-code {
    width: 108px;
    border: 4px solid #ffc132;
    margin: 0 auto;
}

table[data-toggle="table"] {
    display: inline-table;
}

.card-content {
    margin-top: 90px;
}

.card-logo {
    width: 117px;
    margin: 0 auto;
    padding: 0;
    border: 4px solid #fff;
    background: #fff;
    border-radius: 64px;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
}
.card-logo img {
    height: 110px;
}

.logo img {
    height: 110px;
}

.form-check {
    padding: 0;
}
.is-invalid {
    border-color: #dc3545;
}

.form-input {
    width: 100%;
    padding: 4px 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
}

.list-group-item {
    padding: 0.5rem;
    cursor: pointer;
}

.list-group-item:hover {
    background-color: #f3f4f6;
}

.btn-outline-secondary {
    color: #fff !important;
    background: #0ca554;
}

input {
    background: 0;
    border: 0;
    outline: none;
    font-size: 1.5em;
    transition: padding 0.3s 0.2s ease;
}

input.id_field {
    text-align: center;
    width: 100%;
    max-width: 100%;
}

input:focus {
    padding-bottom: 5px;
}

.field {
    position: relative;
    margin-bottom: 1em; /* Space between line and error message */
}

.field .line {
    width: 100%;
    height: 3px;
    position: absolute;
    bottom: -8px;
    background: #bdc3c7;
}

.field .line.invalid-line {
    background: red; /* Change line color to red for errors */
}

.field .line:after {
    content: " ";
    position: absolute;
    float: right;
    width: 100%;
    height: 3px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    background: #2a6a1c;
}

.error-message {
    color: red; /* Error message color */
    font-size: 0.875em;
    text-align: center; /* Center text of the error message */
    margin-top: 0.25em; /* Space between line and error message */
    width: 100%; /* Ensure the error message takes full width */
}

/* Hide the element when x-show is false */
[x-cloak] {
    display: none;
}

/* Custom form control styles */
.form-control {
    padding: 10px 0.75rem;
    box-shadow: none; /* Remove the default Bootstrap box-shadow */
}

/* Focus state for form controls */
.form-control:focus {
    padding: 10px 0.75rem;
    border-color: #ffc132;
    box-shadow: none; /* Remove the default Bootstrap box-shadow */
}


/* Focus state for select elements */
.form-select:focus {
    border-color: #ffc132;
    box-shadow: none;
    background-color: #fff;
}

/* Optional: Style the dropdown arrow */
.form-select {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="#333" d="M2 0L0 2h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 8px 10px;
    padding: 10px 0.75rem;
}

/* Select2 container */
.select2-container .select2-selection--single {
    height: 38px;
    padding: 10px 0.75rem;
    border: 2px solid #ced4da;
    border-radius: 0;
    background-color: #fff;
    box-sizing: border-box;
}

/* Focus state */
.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    padding-left: 0;
    padding-right: 0;
    line-height: 38px;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 38px;
    right: 10px;
}

/* Dropdown items */
.select2-container--default
    .select2-results__option--highlighted[aria-selected] {
    background-color: #ffc132;
    color: #fff;
}

/* Optional: Style dropdown arrow */
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-color: #333 transparent transparent transparent;
}

/* Select2 dropdown */
.select2-dropdown {
    border: 2px solid #ced4da;
    border-radius: 0;
    box-shadow: none;
}

button {
    padding: 10px;
    min-width: 100px;
    margin-top: 10px;
}

.bootstrap-select.btn-group [data-id="myControl"] + .dropdown-menu.open {
    width: 250px !important;
    overflow: auto !important;
    background-color: red !important;
}

.button-toggle-menu {
    color: #fff !important;
}
ul.pagination {
    padding-left: 15px !important;
}
.table-dark {
    --ct-table-bg-bg: #0ca554;
}

/* Increase the height of the Select2 input */
.select2-container .select2-selection--multiple {
    min-height: 44px; /* Adjust height as needed */
    border-radius: 4px;
    border: 1px solid #ced4da;
    padding: 6px 12px;
}

/* Style the selected items */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #f8f9fa; /* Light grey background */
    color: #495057; /* Dark text color */
    border: 1px solid #ced4da; /* Border color to match input */
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
    margin-top: 4px;
}

/* Style the "X" icon for removing selected items */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #dc3545;
    background: none;
    border: none;
    font-weight: bold;
    margin-right: 8px;
    font-size: 18px;
    cursor: pointer;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #bd2130; /* Darker red on hover */
    background: none;
    border: none;
}

/* Adjust the width and appearance of the dropdown */
.select2-container--default .select2-dropdown {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Style the items in the dropdown */
.select2-container--default .select2-results__option {
    padding: 8px 12px;
    font-size: 14px;
}

.select2-container--default .select2-results__option--highlighted {
    background-color: #007bff; /* Blue background on highlight */
    color: white;
}
.select2-container .select2-selection--single {
    padding: 8px 0.75rem;
}

.select2-container .select2-selection--single {
    height: 44px !important;
}
.form-check-input {
    height: 16px;
    width: 16px;
    margin: 2px !important;
}
.form-check-input:checked {
    background-color: #2a6a1c;
    border-color: #2a6a1c;
}
.main-header {
    height: 200px !important;
}
.main-slider {
    top: -120px !important;
}

