.logo-border-left{
    border: 3px solid #fff;
    border-radius: 50px;
}
.mylogo{
    border: 3px solid #fff !important;
    border-radius: 50px !important;
}

.is-invalid { border-color: #004085 !important; }
.invalid-feedback { display: none; width: 100%; margin-top: .25rem; font-size: .875em; color: #004085; }
.is-invalid ~ .invalid-feedback { display: block; }

.table-row-highlight {
    background-color: #e9f5ff !important;
    transition: background-color 0.5s ease-in-out;
}
#groupsTable tbody tr {
    transition: background-color 0.3s ease-in-out;
}
#groupsTable tfoot tr td {
    vertical-align: middle;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.modal-header .custom-modal-close-btn {
    background-color: transparent !important; border: none !important;
    color: white !important; font-size: 1.2rem !important; line-height: 1 !important;
    padding: 0.5rem 0.75rem !important; margin: -0.5rem -0.75rem -0.5rem auto !important;
    opacity: 0.75 !important; cursor: pointer; text-shadow: none !important;
    -webkit-appearance: none !important; appearance: none !important;
}
.modal-header .custom-modal-close-btn:hover,
.modal-header .custom-modal-close-btn:focus {
    color: white !important; opacity: 1 !important; text-decoration: none !important;
    outline: none !important; box-shadow: none !important;
}
.status-toggle {
    cursor: pointer;
}



/* Custom styles for modal and collapsible sections */
.collapsible-header {
    font-weight: bold; cursor: pointer; padding: 0.5rem 0; margin-top: 1rem;
    margin-bottom: 0.25rem; position: relative; user-select: none;
}
.collapsible-header:first-of-type { margin-top: 1rem; }
.collapsible-header::after {
    content: '\25BC'; font-size: 0.8em; position: absolute; right: 0;
    top: 50%; transform: translateY(-50%); transition: transform 0.2s ease-in-out;
}
.collapsible-header.open::after { transform: translateY(-50%) rotate(-180deg); }
.collapsible-content { display: none; margin-bottom: 1rem; overflow: hidden; }
.collapsible-content .content-inner-padding { padding-top: 0.75rem; }
#contactModal .modal-body .mb-3 { margin-bottom: 0.75rem !important; }
#contactModal .modal-body hr { margin-top: 0.75rem; margin-bottom: 0.75rem; }
#contactModal .modal-body h6 { margin-bottom: 0.25rem; margin-top: 1rem; }
#contactModal .modal-body h6:first-of-type { margin-top: 0; }
.custom-modal-close-btn {
    background: none; border: none; font-size: 1rem; line-height: 1; color: #000;
    opacity: .5; position: absolute; right: 1rem; top: 1rem; padding: 0;
}
.custom-modal-close-btn:hover { opacity: 0.75 ;  }
.table-responsive { overflow-x: auto !important; }
#contactsTable_wrapper .row:first-child, #contactsTable_wrapper .row:last-child {
    padding: 0;
}
.select2-container--bootstrap-5 .select2-selection__placeholder {
    font-size: 0.75rem;
    color: #6c757d;
}


/* =================================================================== */
/* ============== MODIFIED HEADER SECTION STARTS HERE ============== */
/* =================================================================== */


/* Make the entire top header bar a flex container */
.header_top {
    display: flex;
    justify-content: flex-end !important; /* This moves all items to the right */
    align-items: center !important;      /* This vertically aligns all items in the middle */
    padding-right: 30px !important;
}

/* Container for the phone and email */
.header_top-contact {
    display: flex !important;
    align-items: center !important;
    margin-right: 40px !important;       /* Creates space between email and social icons */
    margin-left: 0 !important;           /* Reset margin, as parent now handles alignment */
}

/* Style for the individual phone and email links */
.header_top-contact a {
    margin-left: 50px !important;
    display: flex !important;
    align-items: center !important;
}

/* Remove margin from the very first item (phone number) */
.header_top-contact a:first-child {
    margin-left: 0 !important;
}

/* Container for all elements within the header */
.header_container {
    padding: 0 20px !important;
}

/* CRITICAL FIX: Remove the transform property that was causing incorrect positioning */
.header_section .header_top-contact {
    transform: none !important;
}


/* Unchanged rules from original code */
.header_top-contact a div {
    margin-right: 0px !important;
}

.header_top-contact a span {
    margin-left: 0px !important;
}

.header_top .d-flex {
    justify-content: flex-end !important;
    align-items: center !important;
}
/* Force contact section to move right */
.header_section .header_top-contact {
    transform: translateX(150px) !important;
}

/* Style for Intl-Tel-Input to fit Bootstrap forms */
.iti {
    width: 100% !important;
    position: relative;
    display: block !important;
    max-width: none !important;
}

.iti__flag-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    padding: 0;
    background-color: transparent;
    width: 52px;
}

.iti__selected-flag {
    z-index: 4;
    display: flex;
    align-items: center;
    padding: 0 0 0 12px;
    background-color: transparent;
    border: none;
    border-radius: 8px 0 0 8px;
    height: 42px;
}

.iti__country-list {
    position: absolute;
    z-index: 1000;
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0 0 0 -1px;
    box-shadow: 1px 1px 4px rgba(0,0,0,.2);
    background-color: white;
    border: 2px solid #e0e0e0;
    white-space: nowrap;
    max-height: 200px;
    overflow-y: scroll;
    border-radius: 8px;
    margin-top: 2px;
}

.iti__country {
    padding: 8px 12px;
    outline: none;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.iti__country:hover {
    background-color: #f8f9fa;
}

.iti__country.iti__highlight {
    background-color: #004085;
    color: white;
}

.iti__country-name {
    margin-left: 8px;
    color: #333;
}

.iti__dial-code {
    color: #999;
    margin-left: 8px;
}

.iti__country.iti__highlight .iti__country-name,
.iti__country.iti__highlight .iti__dial-code {
    color: white;
}

.iti__arrow {
    margin-left: 6px;
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 4px solid #555;
}

.iti--allow-dropdown .iti__flag-container:hover {
    cursor: pointer;
}

.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
    background-color: rgba(0,0,0,.05);
}

.iti__search-input {
    position: relative;
    margin-top: 0;
    padding: 8px 12px;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
    outline: none;
    font-size: 14px;
}

.iti__search-input:focus {
    border-bottom-color: #004085;
}

/* Override for phone input field to account for flag container */
input[type="tel"]#phone,
input[type="tel"]#b_cell_watsapp,
input[type="tel"]#b_cell_watsapp_home {
    padding-left: 52px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: none !important;
}

/* Force parent div to match other input field widths */
div[style*="width: 90%"] .iti {
    width: 100% !important;
    display: block !important;
}

/* Additional override to ensure perfect width matching */
#contactForm .iti,
#bookingForm .iti,
.iti {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* Ensure the intl-tel-input integrates with existing styling */
.iti input[type="tel"] {
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
    min-width: 0 !important;
    max-width: none !important;
}

.iti input[type="tel"]:focus {
    border-color: #004085 !important;
    box-shadow: 0 0 0 3px rgba(0,64,133,0.25) !important;
}

.iti input[type="tel"]:hover {
    border-color: #004085 !important;
    box-shadow: 0 4px 8px rgba(0,64,133,0.3) !important;
    transform: translateY(-2px) !important;
}

/* Admin Panel Custom Dark Blue Theme */

/* Main body and page background */
.dark-sidenav .page-content {
    background-color: white !important;
}

.dark-sidenav .page-wrapper {
    background-color: white !important;
}

.dark-sidenav {
    background-color: white !important;
}

/* Container and content areas */
.container-fluid {
    background-color: white !important;
}

/* Card backgrounds */
.card {
    background-color: white !important;
    border: none !important;
}

/* Page title and breadcrumb area */
.page-title-box {
    background-color: transparent !important;
    color: #333 !important;
}

.page-title {
    color: #333 !important;
}


.table-dark {
    background-color: #004085 !important;
    border-color: transparent !important;
}

.table-dark th,
.table-dark td {
    background-color: #004085 !important;
    border-color: transparent !important;
    color: #ffffff !important;
}

/* Force table headers to be dark blue */
table thead th {
    background-color: #004085 !important;
    color: white !important;
    border-color: transparent !important;
}

/* DataTables header styling */
.dataTables_wrapper table thead th {
    background-color: #004085 !important;
    color: white !important;
    border: none !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 64, 133, 0.05) !important;
}

.table-bordered {
    border: none !important;
}

.table-bordered th,
.table-bordered td {
    border: none !important;
}

/* DataTables styling for admin panel */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_processing,
.dataTables_wrapper .dataTables_paginate {
    color: #004085 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border: 1px solid #004085 !important;
    color: #004085 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #004085 !important;
    color: white !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #004085 !important;
    color: white !important;
    border: 1px solid #004085 !important;
}

/* Card headers and borders */
.card {
    border: none !important;
}

.card-header {
    background-color: #004085 !important;
    color: white !important;
    border-bottom: none !important;
}

/* Alert styling */
.alert-danger {
    background-color: #e3f2fd !important;
    border-color: #004085 !important;
    color: #004085 !important;
}

/* Button styling */
.btn-danger {
    background-color: #004085 !important;
    border-color: #004085 !important;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    background-color: #003366 !important;
    border-color: #003366 !important;
}

/* Badge styling */
.badge.bg-danger {
    background-color: #004085 !important;
}

/* Form validation */
.is-invalid {
    border-color: #004085 !important;
}

.invalid-feedback {
    color: #004085 !important;
}



