/* CIY.CLUB BRANDING OVERRIDES */

@font-face {
    font-family: "Arial Rounded Bold";
    src: local("Arial Rounded MT Bold"), local("Arial Rounded MT"),
        local("Arial");
    font-weight: bold;
}

body {
    font-family: "Helvetica", "Arial", sans-serif !important;
    color: #000000;
    overflow-x: hidden !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.app-brand-text,
.btn,
.navbar-nav {
    font-family: "Arial Rounded Bold", "Helvetica", sans-serif !important;
}

:root {
    --bs-primary: #00aeef !important;
    --bs-primary-rgb: 0, 174, 239 !important;

    --bs-primary-hover: #3698d4 !important;
}

.btn-primary {
    background-color: #00aeef !important;
    border-color: #00aeef !important;
    color: #fff !important;
}
.btn-primary:hover {
    background-color: #3698d4 !important;
    border-color: #3698d4 !important;
}

a {
    color: #00aeef;
}
a:hover {
    color: #3698d4;
}

.menu-item.active > .menu-link {
    background-color: rgba(0, 174, 239, 0.15) !important;
    color: #00aeef !important;
}
.menu-item.active > .menu-link i {
    color: #00aeef !important;
}

.authentication-wrapper {
    background-color: #b9e2f820;
}

.text-gradient-ciy {
    background: linear-gradient(135deg, #88f2ff 0%, #00aeef 100%);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    color: #00aeef;

    font-family: "Arial Rounded Bold", "Helvetica", sans-serif;
    font-weight: 700;
}

/* Select2 horizontal/vertical scrollbar fix */
.select2-container {
    width: 100% !important;
    max-width: 100% !important;
}

.select2-hidden-accessible {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
}

/* Select2 Custom Styling */
.select2-container--default .select2-selection--single {
    border: 1px solid #d9dee3 !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px !important;
    padding-left: 12px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #d9dee3 !important;
    border-radius: 5px !important;
    padding: 8px !important;
    outline: none !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #00aeef !important;
    color: #ffffff !important;
}
.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #f8f9fa;
    color: #000000;
}
.select2-container--default .select2-results__option[aria-selected="true"].select2-results__option--highlighted {
    background-color: #00aeef !important;
    color: #ffffff !important;
}
.select2-results__option {
    color: #000000;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #a1acb8 !important;
}

/* Select2 Clear Button Fix */
.select2-container--default .select2-selection--single .select2-selection__clear {
    position: absolute !important;
    right: 38px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    line-height: 1 !important;
    font-size: 1.1rem !important;
    z-index: 1 !important;
    color: #a1acb8 !important;
    font-weight: 500 !important;
    opacity: 0.7;
    transition: opacity 0.2s, color 0.2s;
}

.select2-container--default .select2-selection--single .select2-selection__clear:hover {
    color: #566a7f !important;
    opacity: 1;
}

[dir="rtl"] .select2-container--default .select2-selection--single .select2-selection__clear {
    right: auto !important;
    left: 38px !important;
}

/* Branch Filter UI Refinement */
#filter_branch + .select2-container .select2-selection--single {
    background-color: #f8f9fa !important;
    border-color: #e2e5e8 !important;
}

#filter_branch + .select2-container .select2-selection--single:hover {
    border-color: #00aeef !important;
}
