body {
    background-color: #f8f9fa;
    padding: 15px;
}

.toast-container {
    z-index: 9999;
}

.toast {
    min-width: 300px;
}

/* Email Form Styling */
#emailForm .form-control {
    border-radius: 0.375rem;
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#emailForm .form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

#emailForm textarea {
    resize: vertical;
    min-height: 150px;
}

#emailForm .btn-primary {
    padding: 0.75rem 2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card styling */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 15px;
}

.card-body {
    padding: 15px;
}

/* Custom styling for toast notifications */
.toast-top-center {
    top: 20px;
}

#toast-container > .toast {
    background-image: none !important;
}

#toast-container > div {
    padding: 15px 15px 15px 50px !important;
    width: 350px !important;
    opacity: 1;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

.toast-message {
    padding-left: 10px !important;
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
}

#toast-container > div:before {
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900;
    font-size: 32px;
    line-height: 1;
    color: #000000;
}

.toast-error {
    background-color: #BD362F !important;
}

.toast-success {
    background-color: #51A351 !important;
}

.toast-warning {
    background-color: #F89406 !important;
}

.toast-info {
    background-color: #2F96B4 !important;
}

.toast-error:before {
    content: '\f057' !important;
}

.toast-success:before {
    content: '\f058' !important;
}

.toast-warning:before {
    content: '\f071' !important;
}

.toast-info:before {
    content: '\f05a' !important;
}

/* Toast Container Positioning */
#toast-container.toast-top-center {
    top: 20px;
}

#toast-container.toast-top-center > div {
    margin: 0 auto 6px;
}

/* Toast Close Button */
#toast-container .toast-close-button {
    right: 5px;
    top: 5px;
    color: #fff;
    opacity: 0.7;
}

#toast-container .toast-close-button:hover {
    opacity: 1;
}

/* Remove default background images */
#toast-container > .toast-error,
#toast-container > .toast-success,
#toast-container > .toast-warning,
#toast-container > .toast-info {
    background-image: none !important;
    padding-left: 50px !important;
}

/* Style for the resend verification button in toast */
#resendVerification {
    color: #000;
    background-color: #fff;
    border: 1px solid #ddd;
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
}

#resendVerification:hover {
    background-color: #f8f9fa;
}

.sidebar-quick-links {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
    border-radius: 8px;
    margin: 1rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    color: #444;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.sidebar-link:hover {
    background: #f8f9fa;
    color: #2196F3;
    transform: translateX(5px);
}

.sidebar-link i {
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

.sidebar-link span {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Plans Management Styles */
.table-responsive {
    margin-bottom: 1rem;
    border-radius: 8px !important;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.table td, .table th {
    padding: 0.5rem;
    vertical-align: middle;
}

.badge {
    padding: 0.5em 0.75em;
}

.modal-dialog {
    max-width: 500px;
}

.toast-top-center {
    top: 1rem;
}

/* Button spinner animation */
.spinner-border {
    margin-right: 8px;
    vertical-align: middle;
}

/* Disable button styles */
.btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Admin Layout Styles */
.admin-layout {
    display: flex;
    min-height: calc(100vh - 60px); /* Adjust based on your nav height */
    padding: 25px !important;
}

.admin-sidebar {
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    min-width: 250px;
    z-index: 1000;
}

.admin-content {
    flex: 1;
    background: #f8f9fa;
    padding: 15px;
}

/* Sidebar List Styles */
.list-group-item {
    border: none;
    padding: 0.75rem 1rem;
    margin-bottom: 2px;
    border-radius: 5px !important;
}

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

.list-group-item.active {
    background-color: #007bff;
    color: white;
}

.list-group-item i {
    width: 20px;
    text-align: center;
}

/* Mobile Responsive */



/* Mobile styles */
@media (max-width: 991.98px) {
    .admin-layout {
        padding-top: 20px; /* Smaller navbar height on mobile */
        padding: 20px !important;
    }

    .sidebar {
        position: fixed;
        top: 56px;
        left: -250px;
        height: calc(100vh - 56px);
        z-index: 1040;
        transition: left 0.3s ease;
    }

    .sidebar.show {
        left: 0;
    }

    .admin-content {
        width: 100%;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1030;
    }

    .sidebar-overlay.show {
        display: block;
    }

    .sidebar-toggle {
        display: flex;
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        background: #0d6efd;
        color: white;
        border: none;
        border-radius: 50%;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        z-index: 1050;
        align-items: center;
        justify-content: center;
    }

    .sidebar-toggle i {
        font-size: 1.25rem;
    }
}

/* Mobile toggle button */
.sidebar-toggle {
    display: none;
}

@media (max-width: 991.98px) {
    .sidebar-toggle {
        display: flex;
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        background: #0d6efd;
        color: white;
        border: none;
        border-radius: 50%;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        z-index: 1050;
        align-items: center;
        justify-content: center;
    }

    .sidebar-toggle i {
        font-size: 1.25rem;
    }

    .sidebar-toggle:active {
        transform: scale(0.95);
    }
}

/* Custom scrollbar for sidebar */
.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Main content wrapper */
.content-wrapper {
    flex: 1;
    padding: 1.5rem;
    background: #fff;
}

/* Small mobile devices */
@media (max-width: 575.98px) {
    .admin-header {
        padding: 0.75rem;
    }

    .admin-body {
        padding: 0.75rem;
    }

    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }

    .table {
        font-size: 0.8125rem;
    }
}

/* Utility classes */
.btn-icon {
    padding: 0.25rem 0.5rem;
    line-height: 1;
}

.table td .btn-group {
    display: inline-flex;
    gap: 0.25rem;
}

/* Loading spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Navigation Styles */
.nav-btn {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    margin: 0.25rem;
}

.nav-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Mobile Navigation Styles */
@media (max-width: 991.98px) {
    .mobile-nav-links {
        padding: 1rem 0;
    }

    .mobile-nav-links .nav-item {
        width: 100%;
        padding: 0.25rem 0.5rem;
    }

    .mobile-nav-links .nav-btn {
        display: flex;
        align-items: center;
        padding: 0.75rem 1rem;
        margin: 0;
    }

    .navbar-collapse {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .navbar-nav {
        padding: 0.5rem 0;
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 4px;
        background: #f8f9fa;
    }
    
    .nav-link:hover {
        background: #e9ecef;
    }

    .navbar-toggler {
        border: none;
        padding: 0.5rem;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    /* Add space between icon and text */
    .nav-btn i {
        width: 20px;
        text-align: center;
        margin-right: 0.75rem;
    }
}

/* Extra small devices */
@media (max-width: 575.98px) {
    .navbar-brand img {
        width: 150px; /* Smaller logo for mobile */
    }

    .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .mobile-nav-links .nav-btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.9375rem;
    }
}

.navbar {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-collapse {
    transition: all 0.3s ease;
}

.nav-link {
    padding: 0.75rem 1rem !important;
    border-radius: 4px;
    background: #f8f9fa;
    transition: background 0.3s ease, transform 0.3s ease;
}

.nav-link:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.navbar-collapse.show {
    display: block;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .navbar-collapse {
        display: none;
    }
    .navbar-toggler {
        display: block;
    }
    .navbar-collapse.show {
        display: block;
    }
    .nav-link {
        width: 100%;
        text-align: left;
    }
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.sidebar-overlay.active {
    display: block;
}

/* Pagination styles */
.pagination {
    margin: 0;
    display: flex;
    padding-left: 0;
    list-style: none;
}

.page-item:first-child .page-link {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.25rem 0.5rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.page-link:hover {
    z-index: 2;
    color: #0056b3;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

/* Custom table styling */
.table {
    --bs-table-hover-bg: #f8f9fa;
    border: 1px solid #dee2e6;
    margin-bottom: 0;
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    color: #495057;
    font-weight: 600;
    padding: 0.75rem;
}

.table tbody td {
    padding: 0.5rem;
    vertical-align: middle;
}

.dataTables_wrapper .row {
    margin: 0;
}

.dataTables_info {
    padding: 0.75rem;
    color: #6c757d;
}

.dataTables_paginate {
    padding: 0.75rem;
}

.dataTables_paginate .page-item .page-link {
    padding: 0.375rem 0.75rem;
    color: #6c757d;
    background-color: #fff;
    border: 1px solid #dee2e6;
    margin: 0 2px;
}

.dataTables_paginate .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.dataTables_paginate .page-item .page-link:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #0d6efd;
}

/* DataTables length and search controls */
.dataTables_length {
    padding: 0.5rem 0;
}

.dataTables_length select {
    width: auto;
    display: inline-block;
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    margin: 0 0.5rem;
}

.dataTables_filter {
    padding: 0.5rem 0;
    text-align: right;
}

.dataTables_filter input {
    width: auto;
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    margin-left: 0.5rem;
}

@media (max-width: 767.98px) {
    .dataTables_filter,
    .dataTables_length {
        text-align: left;
    }
    
    .dataTables_filter input {
        width: 100%;
        margin-left: 0;
    }
    
    .dataTables_length select {
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* Navigation Styles */
.navbar .dropdown-menu {
    max-height: 80vh;
    overflow-y: auto;
}

@media (min-width: 992px) {
    .navbar .dropdown-menu {
        min-width: 300px;
    }
}

.navbar .dropdown-item {
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.navbar .dropdown-item:hover {
    background-color: #f8f9fa;
}

.navbar .dropdown-header {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
    padding: 0.5rem 1rem;
}

/* Mobile optimization */
@media (max-width: 991.98px) {
    .navbar .dropdown-menu {
        border: none;
        padding-left: 1rem;
        margin-left: -1rem;
        margin-right: -1rem;
    }
    
    .navbar .dropdown-item {
        padding: 0.75rem 1rem;
    }
}

/* Compact layout adjustments */
.admin-content {
    padding: 15px;
}

.card {
    margin-bottom: 15px;
}

.card-body {
    padding: 15px;
}

.table {
    margin-bottom: 0;
}

.table td, .table th {
    padding: 0.5rem;
    vertical-align: middle;
}

.mb-4 {
    margin-bottom: 15px !important;
}

.mb-3 {
    margin-bottom: 10px !important;
}

.form-label {
    margin-bottom: 0.25rem;
}

.modal-body {
    padding: 15px;
}

.modal-header, .modal-footer {
    padding: 10px 15px;
}

.btn {
    padding: 0.25rem 0.5rem;
}

.btn-sm {
    padding: 0.2rem 0.4rem;
    font-size: 0.875rem;
}

.pagination {
    margin: 0;
}

.pagination .page-link {
    padding: 0.25rem 0.5rem;
}

/* Adjust filter section spacing */
.row.mb-3 {
    margin-bottom: 10px !important;
}

.input-group {
    margin-bottom: 0;
}

/* Compact form controls */
.form-control, .form-select {
    padding: 0.25rem 0.5rem;
    height: calc(1.5em + 0.5rem + 2px);
}

/* Adjust alert spacing */
.alert {
    padding: 0.5rem 1rem;
    margin-bottom: 10px;
}

/* Custom Checkbox Styling */
input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    background-color: #fff !;
    position: relative;
    vertical-align: middle;
    transition: all 0.2s ease;
}

input[type="checkbox"]:checked {
    background-color: #ffffff00;
    border-color: #0d6efd;
}

input[type="checkbox"]:checked::after {
    content: '\2714';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    line-height: 1;
}

input[type="checkbox"]:hover {
    border-color: #0d6efd;
}

input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

input[type="checkbox"]:disabled {
    background-color: #e9ecef;
    border-color: #dee2e6;
    cursor: not-allowed;
}

/* Service Item Checkbox Specific */
.service-item input[type="checkbox"] {
    margin-right: 12px !important;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.service-item:hover {
    background-color: #f8f9fa;
}

.service-item label {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
    flex: 1;
    padding-left: 8px;
}

/* Additional Service Areas Styling */
.additional-service-areas {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.additional-service-areas .section-title {
    color: #2c3e50;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.additional-service-areas .service-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.additional-service-areas .service-section:last-child {
    margin-bottom: 0;
}

.additional-service-areas .service-section-title {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.additional-service-areas .service-section-title i {
    color: #4e73df;
}

.additional-service-areas .form-label {
    color: #495057;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.additional-service-areas .text-muted {
    font-size: 0.85rem;
    color: #6c757d !important;
    margin-top: 6px;
    display: block;
}

.additional-service-areas .form-select {
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.additional-service-areas .form-select:focus {
    border-color: #4e73df;
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.additional-service-areas .service-field {
    background: white;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
}

.additional-service-areas .service-field:last-child {
    margin-bottom: 0;
}

.additional-service-areas .service-field-title {
    color: #495057;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.zip-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 38px;
    padding: 4px;
    border: 1px dashed #dee2e6;
    border-radius: 4px;
    margin-bottom: 12px;
}

.zip-tag {
    display: inline-flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    padding: 6px 12px;
    margin: 4px;
    font-size: 0.875rem;
    color: #495057;
    transition: all 0.2s ease;
}

.zip-code-text {
    margin-right: 8px;
}

.zip-tag .remove-zip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s ease;
}

.zip-tag .remove-zip:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.zip-tag .remove-zip i {
    font-size: 10px;
    color: #6c757d;
}

.zip-code-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.zip-code-input-group input {
    flex: 1;
    height: 38px;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.875rem;
}

.zip-code-input-group .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
}

.zip-code-input-group .btn i {
    font-size: 12px;
}

/* Select2 Override Styles */
body .select2-container--default .select2-selection--multiple {
    background: #fff !important;
    border: 1px solid #e9ecef !important;
    border-radius: 8px !important;
    padding: 4px !important;
    min-height: 42px !important;
}

body .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 4px !important;
}

body .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 6px !important;
    padding: 4px 28px 4px 8px !important;
    margin: 4px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    max-width: 200px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

body .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    display: none !important;
}

body .select2-selection-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    max-width: 200px !important;
    overflow: hidden !important;
    padding-right: 24px !important;
    position: relative !important;
}

body .select2-selection-item-remove {
    cursor: pointer !important;
    padding: 0 4px !important;
    color: #6c757d !important;
    font-size: 16px !important;
    line-height: 1 !important;
    border-radius: 4px !important;
    position: absolute !important;
    right: 4px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 1 !important;
}

body .select2-selection-item-remove:hover {
    color: #dc3545 !important;
    background: rgba(0,0,0,0.05) !important;
}

body .select2-container--default .select2-search--inline .select2-search__field {
    margin: 4px !important;
    padding: 4px !important;
    font-size: 14px !important;
    height: 24px !important;
    min-width: 150px !important;
}

body .select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #90caf9 !important;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15) !important;
}

body .select2-container--default .select2-selection--multiple .select2-selection__clear {
    margin: 6px !important;
}

body .select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    padding: 0 !important;
    margin: 0 !important;
}

/* Select2 Dropdown Styles */
body .select2-dropdown {
    border-color: #e9ecef !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

body .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #4e73df !important;
    color: white !important;
}

body .select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #e9ecef !important;
    color: #2c3e50 !important;
}

body .select2-results__option {
    padding: 8px 12px !important;
    font-size: 14px !important;
}

/* Service Areas Redesign */
.service-areas-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 24px;
}

.service-areas-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.service-areas-header i {
    font-size: 20px;
    color: #4e73df;
    margin-right: 10px;
}

.service-areas-header h5 {
    margin: 0;
    font-weight: 600;
    color: #2c3e50;
}

.service-area-section {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}

.service-area-section:last-child {
    margin-bottom: 0;
}

.service-area-title {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.service-area-title i {
    margin-right: 8px;
    color: #4e73df;
}

.service-area-content {
    background: #fff;
    border-radius: 6px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.selected-items-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 38px;
    margin-bottom: 15px;
    padding: 8px;
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: 4px;
}

.selected-item {
    display: inline-flex !important;
    align-items: center !important;
    background: #fff !important;
    border: 1px solid #4e73df !important;
    padding: 4px 32px 4px 12px !important;
    border-radius: 20px !important;
    font-size: 14px !important;
    color: #2c3e50 !important;
    position: relative !important;
    max-width: 200px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    margin: 0 !important;
}

.selected-item:hover {
    background: #f8f9fa !important;
}

.selected-item .remove-item {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #dc3545 !important;
    cursor: pointer !important;
    font-size: 12px !important;
    width: 16px !important;
    height: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.8) !important;
    transition: all 0.2s !important;
    z-index: 1 !important;
}

.selected-item .remove-item:hover {
    background: #dc3545 !important;
    color: #fff !important;
}

.empty-message {
    color: #6c757d;
    font-style: italic;
    font-size: 14px;
    text-align: center;
    padding: 10px;
}

.selection-controls {
    display: flex;
    gap: 10px;
}

.selection-controls .form-control,
.selection-controls .form-select {
    flex: 1;
}

.selection-controls .btn {
    white-space: nowrap;
}

.selection-helper {
    font-size: 13px;
    color: #6c757d;
    margin-top: 8px;
}