#map-canvas {
    height: 100%;
}

/* Property Wizard Styles */
.property-wizard-progress {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.dark .property-wizard-progress {
    background: #222222;
}

.wizard-steps {
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    position: relative;
}

.wizard-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: #dee2e6;
    z-index: 1;
}

.dark .wizard-steps::before {
    background: #181818;
}

.wizard-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.wizard-step.active {
    opacity: 1;
}

.wizard-step.completed {
    opacity: 1;
}

.wizard-step .step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: #dee2e6;
    color: #6c757d;
    font-weight: bold;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.wizard-step.active .step-number {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.25);
}

.wizard-step.completed .step-number {
    background: #28a745;
    color: white;
}

.wizard-step .step-title {
    display: block;
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    margin-top: 5px;
}

.wizard-step.active .step-title {
    color: var(--primary);
    font-weight: 600;
}

.wizard-step-content {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .wizard-steps {
        flex-wrap: wrap;
    }
    
    .wizard-step {
        flex: 0 0 25%;
        margin-bottom: 20px;
    }
    
    .wizard-steps::before {
        display: none;
    }
    
    .wizard-step .step-title {
        font-size: 10px;
    }
}
.wizard-btn-buttons {
    gap: 10px;
}

.select2-selection__rendered {
    line-height: 40px !important;
}

.select2-selection {
    min-height: 44px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
}

.select2-container .select2-selection--single {
    height: 46px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 46px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
}

/* Select2 Dropdown Border Radius */
.select2-dropdown {
    border-radius: 8px !important;
    border: 1px solid #e0e0e0 !important;
}

/* Select2 Multiple Selection Border Radius */
.select2-container--default .select2-selection--multiple {
    border-radius: 8px !important;
    border: 1px solid #e0e0e0 !important;
}

.select2-container .select2-search--inline .select2-search__field {
    margin-top: -2px !important;
    color: #2c3e50;
    padding-left: 12px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #5897fb;
}

.filter-heading~.select2-container {
    width: 75% !important;
}

.select2-container {
    width: 100% !important;
}

/* Ensure Select2 dropdown appears above overlayed sections (hero, modals, etc.) */
.select2-container--open .select2-dropdown {
    z-index: 9999 !important;
}

.dark .select2-container--default .select2-selection--single {
    background: #222 !important;
    border-color: #252525 !important;
}

.dark .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff !important;
}

.dark .select2-search.select2-search--dropdown {
    background: #252525 !important;
}

.dark .select2-container--default .select2-search--dropdown .select2-search__field {
    background: #252525 !important;
    color: #fff !important;
}

.dark .select2-container--open .select2-dropdown--below {
    border-color: #252525;
}

.pr-10 {
    padding: 0 0 0 10px;
}

.attachment-image {
    height: 80px;
    width: 80%;
}

.attachment-file {
    height: 80px;
    width: 50%;
}

.remove-file {
    position: absolute;
    /* right: 0; */
    top: 0;
}

.notification_tag {
    background: #e3342f;
    color: #fff;
    font-size: 12px;
    border-radius: 100px;
    line-height: normal;
    /* height: 18px;
    width: 20px; */
    font-weight: bold;
    text-align: center;
    display: inline-block;
}

.nav-item span.count-mail {
    height: 22px !important;
    width: 22px !important;
    font-size: 12px;
    line-height: 20px !important;
    right: 0px;
    top: 10px;
}

h6 .notification_count {
    font-weight: 400;
}

.notification-height {
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 325px;
}

.mm-top-navbar .notification-menu {
    min-width: 450px;
}

.notify-list-bg {
    background: #ecf0f5;
}

.navbar-list li .mm-sub-dropdown .sub-card {
    font-size: inherit;
    padding: 15px;
    line-height: normal;
    color: var(--mm-default);
    border-bottom: 1px solid #e7e7e8;
    display: inline-block;
    width: 100%;
}

.dark .notify-list-bg {
    background: #222222;
}

.card-body.activity-height {
    max-height: 368px !important;
    overflow-x: hidden !important;
}

.text-green-600 {
    color: rgba(5, 150, 105, 1);
}

.language_table tbody {
    display: block;
    max-height: 450px;
    overflow-y: scroll;
}

.language_table thead,
.language_table tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.mm-top-navbar .language-menu ul {
    max-height: 350px;
    overflow: scroll;
}

.selected-lang {
    height: 19px !important;
    min-width: 19px !important;
    width: 19px !important;
}

.selected-lang-list {
    width: 20px !important;
    height: auto !important;
    min-width: 15px !important;
}

.iti {
    width: 100% !important;
}

.dark .iti__country-list {
    background-color: #222;
    border: 1px solid #252525;
}

.profile-box {
    /* padding-bottom: 170px !important; */
}

.chat {
    float: left;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;

    width: 100%;
    /* background: #F2F5F8;
    color: #434651; */
}

.chat .chat-history {
    padding: 30px 30px 20px;
    border-bottom: 2px solid white;
    overflow-y: scroll;
    height: 575px;
}

.chat .chat-history .message-data {
    margin-bottom: 15px;
}

.chat .chat-history .message-data-time {
    padding-left: 6px;
}

.chat .chat-history .message {
    padding: 18px 20px;
    line-height: 26px;
    font-size: 16px;
    border-radius: 7px;
    margin-bottom: 30px;
    width: 90%;
    position: relative;
}

.chat .chat-history .message:after {
    bottom: 100%;
    left: 7%;
    border: solid transparent;

    height: 0;
    width: 0;
    position: absolute;

    border-width: 10px;
    margin-left: -10px;
}

.other-message {
    background: var(--info);
}

.my-message {
    background: var(--primary);
}

.my-message:after {
    border-bottom-color: var(--primary);
    left: 93%;
}

.chat-history ul {
    padding: 20px;
    /* height: 770px; */
}

.chat-history ul>li {
    padding-bottom: 20px;
    list-style: none;
}

.li-clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

#maplegend {
    font-family: Arial, sans-serif;
    background: #fff;
    padding: 10px;
    margin: 10px;
    color: #222;
}

#maplegend img {
    vertical-align: middle;
}

.map_driver_detail {
    font-family: Arial, sans-serif;
    background: #fff;
    color: #222;
}

.wrapper-menu {
    transition: transform 0.9s;
}

.div.dataTables_wrapper div.dataTables_info {
    padding-left: 1rem;
    padding-top: 1.3rem;
}

.dataTables_paginate {
    margin: 11px !important;
}

.div.dataTables_wrapper div.dataTables_paginate {
    margin: 0;
    white-space: nowrap;
    text-align: right;
}

.modal-open .modal-backdrop {
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1 !important;
}

/*
.dark .mode.light-img {
    display: none;
}

.dark .mode.dark-img {
    display: block;
}

.mode {
    display: none;
}

.mode.light-img {
    display: block;
}

.mode.ltr-img {
    display: block;
}
*/
.no-items {
    color: black;
}

.help {
    padding-top: 10px;
    padding-bottom: 10px;
    width: 70px;
    background-color: #e5f0ff;
    color: #397dff !important;
    outline: none !important;
    font-weight: bold;
    border-radius: 10px;
}

.downloadtemplate {
    padding-top: 10px;
    padding-bottom: 10px;
    width: 190px;
    background-color: #e5f0ff;
    color: #397dff !important;
    outline: none !important;
    font-weight: bold;
    border-radius: 10px;
}

/* Drop file */

.blue-text {
    background-color: #2b6eff;
    color: white;
    border: none;
    padding: 11px 11px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 5px;
}

.underline {
    text-decoration: underline;
}

.drop-field {
    position: relative;
    text-align: center;
    vertical-align: middle;
}

.drop-field,
.drop-area {
    height: 210px;
}

.drop-field .browse {
    z-index: 0;
    position: absolute;
    left: 0;
    bottom: 30px;
    right: 0;
    margin: 0 auto;
}

.drop-field .drop-area {
    display: block;
    border: 1px dashed blue;
    position: relative;
    border-radius: 10px;
    background-color: #f7faff;
}

.drop-field,
.drop-area,
.drop-field .browse {
    transition: all 0.3s;
}

.drop-field.loaded .drop-area {
    border: 1px dashed blue;
}

.drop-field .browse {
    opacity: 0;
    transform: translateY(100%);
}

.drop-field.loaded .browse {
    opacity: 1;
    transform: translateY(0);
}

.drop-field.hover .drop-area {
    border: 1px solid black;
}

.drop-field .drop-area input[type="file"] {
    height: 100%;
    width: 100%;
    position: absolute;
    display: block;
    z-index: 3;
    top: 0;
    left: 0;
    opacity: 0.000001;
}

.drop-field .file-list {
    position: absolute;
    z-index: 0;
    top: 80px;
    left: 0;
    right: 44px;
    text-align: center;
}

.drop-field .remove {
    position: absolute;
    left: 20px;
    top: 60px;
    z-index: 4;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(-100%);
    cursor: pointer;
    right: 20px;
}

.drop-field .remove:hover {
    color: blue;
}

.drop-field.loaded .remove {
    opacity: 1;
    transform: translateY(0);
}

.drop-field ul li {
    padding: 0;
    text-align: center;
    list-style: none;
}

/* Sidebar Styling */
.profile-sidebar-wrapper {
    width: 280px;
    min-height: calc(100vh - 150px);
    /* padding: 20px 0; */
}

.profile-sidebar {
    background: #fff;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 0;
    box-shadow: 0 0.3rem 0.6rem rgba(0, 0, 0, 0.1);
    padding: 25px;
    position: fixed;
    top: 90px;
    z-index: 99;
}

.sidebar-menu .menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu .menu-item {
    margin-bottom: 15px;
}

.sidebar-menu .menu-item:last-child {
    margin-bottom: 0;
}

.sidebar-menu .menu-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.sidebar-menu .menu-link i {
    /* margin-right: 12px; */
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.sidebar-menu .menu-item.active .menu-link,
.sidebar-menu .menu-link:hover {
    background: #f8f9fa;
    color: var(--primary);
}

/* Header Styling */
.header-web {
    background: #fff;
    /* padding: 15px 0; */
    position: sticky;
    top: 0;
    z-index: 1052;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

/* @media (max-width:376px) {
    .header-web {
        width: 1089px;
    }
} */

.header-web .navbar-brand img {
    height: 35px;
    width: auto !important;
}

.header-web .navbar-nav .nav-link {
    padding: 8px 15px;
    color: #333;
    font-weight: 500;
}

.header-web .header-right-panel {
    display: flex;
    align-items: center;
}

/* Responsive */
@media (max-width: 991px) {
    .profile-sidebar-wrapper {
        width: 100%;
        min-height: auto;
        margin-bottom: 20px;
    }

    .profile-sidebar {
        position: relative;
        top: 0;
    }
}

#drawbutton:hover {
    background-color: #adc2ee;
    border-radius: 10px;
}

#customButton.active {
    background-color: #adc2ee;
    border-radius: 10px;
}

.energy-slider-container {
    position: relative;
    width: 100%;
}

.energy-slider {
    width: 100%;
    appearance: none;
    background: #ddd;
    height: 4px;
    border-radius: 5px;
    outline: none;
}

.energy-slider::-webkit-slider-thumb {
    appearance: none;
    width: 15px;
    height: 15px;
    background: blue;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.energy-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 14px;
    color: black;
}

.custom-box {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.custom-label {
    font-weight: bold;
    color: #333;
}

.custom-input {
    padding: 5px 10px;
    border-radius: 3px;
    border: 1px solid #ccc;
    background-color: white;
}

#saveSearchBtn:disabled {
    background-color: #ccc !important;
    /* Gray background */
    cursor: not-allowed !important;
    /* Change cursor */
    opacity: 0.6;
    /* Reduce opacity */
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.form-check-input.is-invalid+.form-check-label {
    color: #000 !important;
}

label.form-control-label {
    color: black !important;
}

/* Dark mode support for form labels */
.dark label.form-control-label {
    color: #ffffff !important;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    #clearAllFilter {
        display: inline-flex !important;
        align-items: center;
        padding: 8px 16px;
        /* better clickable area */
    }

    #clearAllFilter .cross-cancel-icon {
        width: 20px !important;
        height: 20px !important;
        margin-right: 8px;
        /* space between icon and text */
    }


    #clearAllFilter .clear-text {
        margin-left: 72px !important;
        /* reset unnecessary margin */
        display: inline-block !important;
    }

    /* @media only screen and (min-width: 768px) and (max-width: 1024px) { */
    #closeFilter {
        display: inline-flex !important;
        align-items: center;
        padding: 8px 16px;
        margin-left: 12px;
        /* Adjust left spacing as needed */
    }

    #closeFilter .cross-cancel-icon {
        width: 20px !important;
        height: 20px !important;
        margin-right: 8px;
    }

    #closeFilter .clear-text {
        margin-left: 0 !important;
        display: inline-block !important;
    }

    /* } */

    .switch.mt-2 input {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

    .switch.mt-2 input:checked+.slider {
        opacity: 1;
        cursor: pointer;
    }

    .switch.mt-2 input:not(:checked)+.slider {
        opacity: 0.4;
        cursor: not-allowed;
    }

}

/* Override card border-radius globally */
.card {
    border-radius: 12px !important;
}

.card-header:first-child {
    border-radius: 12px 12px 0 0 !important;
}

/* Feature Card Item Styling */
.feature-card-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #f0f2f4;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 12px;
}

.feature-card-item:hover {
    background-color: #f8f9fa;
    border-color: #e0e0e0;
}

.feature-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.feature-card-item:hover .feature-icon-wrapper {
    background-color: #3b82f6;
    color: #ffffff;
}

.feature-title {
    font-size: 15px;
    font-weight: 600;
    color: #111318;
}

.feature-subtitle {
    font-size: 13px;
    color: #616f89;
    margin-top: 2px;
}

.feature-toggle-wrapper {
    flex-shrink: 0;
}

.space-y-3>*+* {
    margin-top: 12px;
}

.gap-3 {
    gap: 12px;
}

/* Global Button Border Radius - 12px for all buttons */
.btn,
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    border-radius: 8px;
}

/* Ensure button groups maintain proper border radius */
.btn-group>.btn:first-child {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}

.btn-group>.btn:last-child {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

/* Dropdown toggle buttons */
.dropdown-toggle {
    border-radius: 8px !important;
}

/* ============================================
   CREDIT PACKAGE CARDS - MODERN DESIGN
   ============================================ */

/* Package Card Container */
.credit-package-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e8ecf0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.credit-package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(37, 74, 229, 0.12);
    border-color: #254ae5;
}

/* Package Header */
.package-header {
    background: linear-gradient(135deg, #254ae5 0%, #1a3bb8 100%);
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
}

.package-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.package-name {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.current-plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.current-plan-badge i {
    font-size: 10px;
}

/* Price Section */
.package-price-section {
    padding: 24px 20px 20px;
    text-align: center;
    background: #ffffff;
    border-bottom: 1px solid #e8ecf0;
}

.package-price {
    font-size: 32px;
    font-weight: 800;
    color: #111318;
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.package-duration {
    font-size: 13px;
    color: #616f89;
    font-weight: 500;
    margin-bottom: 14px;
}



.highlight-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    padding: 8px 14px;
    border-radius: 50px;
    margin: 0 auto;
    max-width: fit-content;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.12);
    transition: all 0.2s ease;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.highlight-badge:last-child {
    margin-bottom: 0;
}

.highlight-badge:hover {
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.2);
    transform: scale(1.02);
}

.highlight-badge i {
    color: #059669;
    font-size: 16px;
    flex-shrink: 0;
}

.highlight-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.highlight-label {
    font-size: 13px;
    font-weight: 700;
    color: #065f46;
    margin: 0;
}

.highlight-value {
    font-size: 13px;
    color: #616f89;
}

.highlight-value-badge {
    display: inline-block;
    background: #ffffff;
    color: #065f46;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Features List Section */
.package-features-section {
    padding: 24px 28px;
    flex-grow: 1;
}

.features-category-title {
    font-size: 11px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    margin-top: 20px;
}

.features-category-title:first-child {
    margin-top: 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e0e7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.feature-icon i {
    color: #254ae5;
    font-size: 10px;
}

/* Specific icon color variants */
.feature-icon-star {
    background: #fef3c7;
}

.feature-icon-star i {
    color: #f59e0b;
}

.feature-icon-vip {
    background: #fce7f3;
}

.feature-icon-vip i {
    color: #ec4899;
}

.feature-icon-ad {
    background: #ede9fe;
}

.feature-icon-ad i {
    color: #8b5cf6;
}

.feature-icon-banner {
    background: #dbeafe;
}

.feature-icon-banner i {
    color: #3b82f6;
}

.feature-icon-success {
    background: #d1fae5;
}

.feature-icon-success i {
    color: #10b981;
}

.feature-icon-disabled {
    background: #f3f4f6;
}

.feature-icon-disabled i {
    color: #9ca3af;
}

/* ========================================
   MODERN INQUIRY CARD DESIGN
   ONLY APPLIES TO INQUIRY PAGE
   Matching Reference Image
   ======================================== */

/* DataTable Overrides - SCOPED TO INQUIRY PAGE ONLY */
.inquiry-page-wrapper .dataTable {
    width: 100% !important;
}

.inquiry-page-wrapper .dataTable thead {
    display: none !important;
}

.inquiry-page-wrapper .dataTable tbody {
    display: block !important;
    width: 100% !important;
}

.inquiry-page-wrapper .dataTable tbody tr {
    display: block !important;
    border: none !important;
    background: transparent !important;
    width: 100% !important;
}

.inquiry-page-wrapper .dataTable tbody td {
    display: block !important;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    width: 100% !important;
}

.inquiry-page-wrapper .dataTable.table-borderless {
    border-collapse: separate !important;
}

.inquiry-page-wrapper .dataTables_wrapper .dataTables_processing {
    display: none !important;
}

.inquiry-page-wrapper .dataTables_wrapper {
    width: 100%;
}

.inquiry-page-wrapper table.dataTable {
    clear: both;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    max-width: none !important;
    border-collapse: separate !important;
}

/* Grid Container - 3 Cards Per Row */
.inquiry-cards-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 20px 0;
    width: 100%;
}

/* Modern Card Container */
.modern-inquiry-card {
    background: #f7f9ff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid #dfe7ff;
}

.modern-inquiry-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    border-color: #e5e7eb;
}

/* Card Header Badges */
.card-header-badges {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.card-header-badges .badge {
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 50px;
    text-transform: none;
    display: inline-flex;
    align-items: center;
}

.badge-inquiry-lead {
    background-color: #E9F2FF !important;
    color: #2B69FF !important;
}

.badge-get-in-touch {
    background-color: #F0FDF4 !important;
    color: #15803D !important;
}

.badge-interest-lead {
    background-color: #E0F2FE !important;
    color: #0369A1 !important;
}

.badge-time {
    font-size: 11px;
    color: #9CA3AF;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.badge-locked {
    background-color: #F3F4F6 !important;
    color: #4B5563 !important;
}

.badge-unlocked {
    background-color: #E6F6ED !important;
    color: #10B981 !important;
}

/* User Info Section */
.user-info-section {
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border-bottom: 1px solid #f3f4f6;
    background: transparent;
    margin: 0;
}

.user-avatar-wrapper {
    flex-shrink: 0;
    position: relative;
}

.user-avatar-image {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #ffffff;
}

.user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.15);
}

.user-details {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.property-type {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
}

/* Property Details Section */
.property-details-section {
    padding: 14px 20px;
    border-bottom: 1px solid #f3f4f6;
    background: #ffffff;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #6b7280;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    width: 14px;
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
}

.price-text {
    font-weight: 700;
    color: #111827;
    font-size: 16px;
}

/* Contact Section */
.contact-section {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item.unlocked {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.contact-item.unlocked:hover {
    border-color: #d1d5db;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.contact-item.locked {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    background: #e5e7eb;
    color: #6b7280;
}

.contact-icon.phone {
    background: #dbeafe;
    color: #2563eb;
}

.contact-icon.email {
    background: #e0e7ff;
    color: #4f46e5;
}

.contact-content {
    flex: 1;
    min-width: 0;
}

.contact-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    word-break: break-word;
}

.copy-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.copy-icon:hover {
    background: #e5e7eb;
    color: #374151;
}

.lock-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #9ca3af;
    color: #ffffff;
    flex-shrink: 0;
}

.unlock-btn {
    margin-top: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    border: none;
    background: #4f46e5;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
}

.unlock-btn:hover {
    background: #4338ca;
    transform: translateY(-1px);
}

/* Tooltip styling for unlock buttons */
.unlock-btn[data-tooltip] {
    position: relative;
}

.unlock-btn[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    padding: 6px 12px;
    background: #1f2937;
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    pointer-events: none;
}

.unlock-btn[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 2px;
    border: 4px solid transparent;
    border-top-color: #1f2937;
    z-index: 1000;
    pointer-events: none;
}

/* Message Section */
.message-section {
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
}

.message-box {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
}

.message-section.locked .message-box {
    background: #f9fafb;
}

.message-header {
    display: flex;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.message-header i {
    color: #9ca3af;
}

.message-content {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.7;
    font-style: italic;
}

/* Blurred Content */
.blurred-content {
    filter: blur(4px);
    user-select: none;
    pointer-events: none;
}

/* Unlock Section */
.unlock-section {
    padding: 20px;
}

.credit-info {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #eff6ff;
    border-radius: 10px;
    font-size: 12px;
    color: #1e40af;
    margin-bottom: 16px;
}

.unlock-lead-btn {
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 20px !important;
    margin-bottom: 16px;
}

.action-links {
    display: flex;
    justify-content: space-around;
    gap: 16px;
}

.action-link {
    font-size: 12px;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.action-link:hover {
    color: #4f46e5;
}

/* Action Buttons */
.action-buttons {
    padding: 16px 20px;
    display: flex;
    gap: 10px;
}

.action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.action-btn i {
    font-size: 18px;
}

.action-btn.call {
    background: #dbeafe;
    color: #2563eb;
}

.action-btn.call:hover {
    background: #bfdbfe;
    transform: translateY(-2px);
}

.action-btn.email {
    background: #e0e7ff;
    color: #4f46e5;
}

.action-btn.email:hover {
    background: #c7d2fe;
    transform: translateY(-2px);
}

.action-btn.whatsapp {
    background: #d1fae5;
    color: #059669;
}

.action-btn.whatsapp:hover {
    background: #a7f3d0;
    transform: translateY(-2px);
}

/* Responsive - 3 cards on desktop */
@media (max-width: 1600px) {
    .inquiry-cards-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* Responsive - 2 cards on tablet */
@media (max-width: 1200px) {
    .inquiry-cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Responsive - 1 card on mobile */
@media (max-width: 768px) {
    .inquiry-cards-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}


/* ========================================
   PROPERTY INTEREST CARD GRID LAYOUT
   ONLY APPLIES TO INTEREST PAGE
   Same design as Inquiry cards
   ======================================== */

/* DataTable Overrides - SCOPED TO INTEREST PAGE ONLY */
.interest-page-wrapper .dataTable {
    width: 100% !important;
}

.interest-page-wrapper .dataTable thead {
    display: none !important;
}

.interest-page-wrapper .dataTable tbody {
    display: block !important;
    width: 100% !important;
}

.interest-page-wrapper .dataTable tbody tr {
    display: block !important;
    border: none !important;
    background: transparent !important;
    width: 100% !important;
}

.interest-page-wrapper .dataTable tbody td {
    display: block !important;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    width: 100% !important;
}

.interest-page-wrapper .dataTable.table-borderless {
    border-collapse: separate !important;
}

.interest-page-wrapper .dataTables_wrapper .dataTables_processing {
    display: none !important;
}

.interest-page-wrapper .dataTables_wrapper {
    width: 100%;
}

.interest-page-wrapper table.dataTable {
    clear: both;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    max-width: none !important;
    border-collapse: separate !important;
}

/* Grid Container - 3 Cards Per Row */
.interest-cards-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 20px 0;
    width: 100%;
}

/* Responsive - 3 cards on desktop */
@media (max-width: 1600px) {
    .interest-cards-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* Responsive - 2 cards on tablet */
@media (max-width: 1200px) {
    .interest-cards-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Responsive - 1 card on mobile */
@media (max-width: 768px) {
    .interest-cards-wrapper {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}


.feature-icon-inquiry {
    background: #e0e7ff;
}

.feature-icon-inquiry i {
    color: #6366f1;
}

.feature-icon-interest {
    background: #ddd6fe;
}

.feature-icon-interest i {
    color: #8b5cf6;
}

.feature-icon-email {
    background: #ccfbf1;
}

.feature-icon-email i {
    color: #14b8a6;
}

.feature-icon-phone {
    background: #fce7f3;
}

.feature-icon-phone i {
    color: #ec4899;
}

/* Hover effect for feature items */
.feature-item:hover .feature-icon {
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Compact Leads Grid */
.leads-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 8px;
}

.lead-card {
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
}

.lead-card:hover {
    border-color: #254ae5;
    box-shadow: 0 2px 8px rgba(37, 74, 229, 0.15);
    transform: translateY(-1px);
}

.lead-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    color: #254ae5;
}

.lead-card-header i {
    font-size: 14px;
}

.lead-card-header span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lead-card-value {
    font-size: 24px;
    font-weight: 800;
    color: #111318;
    margin-bottom: 8px;
}

.lead-card-value.unlimited {
    color: #10b981;
}

.lead-card-details {
    display: flex;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e5e7eb;
}

.lead-card-details span {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}

.lead-card-details i {
    font-size: 11px;
    color: #254ae5;
}

/* Responsive */
@media (max-width: 768px) {
    .leads-grid {
        grid-template-columns: 1fr;
    }
}


.feature-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feature-name {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.feature-value {
    font-size: 14px;
    color: #111318;
    font-weight: 600;
}

.feature-value.unlimited {
    color: #10b981;
}

/* Action Button Section */
.package-action-section {
    padding: 24px 28px 28px;
}

.package-action-btn {
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
}

.package-action-btn i {
    font-size: 16px;
}

.package-action-btn.btn-primary-action {
    background: linear-gradient(135deg, #254ae5 0%, #1a3bb8 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 74, 229, 0.3);
}

.package-action-btn.btn-primary-action:hover {
    background: linear-gradient(135deg, #1a3bb8 0%, #152e99 100%);
    box-shadow: 0 6px 20px rgba(37, 74, 229, 0.4);
    transform: translateY(-2px);
}

.package-action-btn.btn-current {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.9;
}

.package-action-btn.btn-downgrade {
    background: #6b7280;
    color: #ffffff;
}

.package-action-btn.btn-downgrade:hover {
    background: #4b5563;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .package-price {
        font-size: 32px;
    }

    .package-header {
        padding: 20px 24px;
    }

    .package-price-section,
    .package-features-section,
    .package-action-section {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 480px) {
    .package-price {
        font-size: 28px;
    }

    .highlight-label {
        font-size: 13px;
    }

    .highlight-value-badge {
        font-size: 12px;
    }
}

/* Dark Mode Support */
.dark .credit-package-card {
    background: #1f2937;
    border-color: #374151;
}

.dark .package-price-section {
    background: linear-gradient(180deg, #111827 0%, #1f2937 100%);
    border-bottom-color: #374151;
}

.dark .package-price {
    color: #f9fafb;
}

.dark .package-duration {
    color: #9ca3af;
}

.dark .package-highlight-section {
    background: #111827;
    border-bottom-color: #374151;
}

.dark .highlight-badge {
    background: #1f2937;
}

.dark .highlight-label {
    color: #f9fafb;
}

.dark .highlight-value {
    color: #9ca3af;
}

.dark .feature-item {
    border-bottom-color: #374151;
}

.dark .feature-name {
    color: #d1d5db;
}

.dark .feature-value {
    color: #f9fafb;
}

/* Modern Card Container */
.dark .modern-inquiry-card {
    background: #222222;
    border-color: #000;
}

.dark .contact-item.unlocked {
    background: #181818;
    border-color: #000;
}

.dark .contact-item.unlocked:hover {
    border-color: #000;
}
.dark .copy-icon {
    background: #000;
    color: #d1d5db;

}
.dark .message-box {
    background: #000;
    border-color: #000;
}
.dark .user-info-section {
    border-bottom-color: #374151;
}
.dark .contact-section {
    border-bottom-color: #374151;
}
.dark .message-section {
    border-bottom-color: #374151;
}
.dark .message-content {
    color: #d1d5db;
}
.dark .bg-featured {
    background-color: #222222;
}

.bg-featured {
    background-color: #f7f9ff;
}
/* ========================================
   PAYMENT SUCCESS PAGE STYLES
   ======================================== */

.payment-success-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Success Header Section */
.success-header-section {
    padding: 40px 20px;
}

.success-checkmark-wrapper {
    margin-bottom: 24px;
}

.success-checkmark {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
    animation: successPulse 2s ease-in-out infinite;
}

.success-checkmark svg {
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4);
    }
}

.success-title {
    font-size: 36px;
    font-weight: 800;
    color: #111318;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.success-subtitle {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 8px;
    line-height: 1.6;
}

.success-email-info {
    font-size: 15px;
    color: #9ca3af;
}

.success-email-info strong {
    color: #254ae5;
    font-weight: 600;
}

/* Transaction Summary Card */
.transaction-summary-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.transaction-summary-header {
    background: linear-gradient(135deg, #254ae5 0%, #1a3bb8 100%);
    color: #ffffff;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
}

.transaction-summary-header i {
    font-size: 18px;
}

.transaction-summary-body {
    padding: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.summary-value {
    font-size: 15px;
    color: #111318;
    font-weight: 600;
    text-align: right;
}

.summary-value.amount {
    color: #10b981;
    font-size: 18px;
    font-weight: 700;
}

.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.status-active {
    background: #d1fae5;
    color: #059669;
}

/* Purchased Package Card */
.purchased-package-card {
    background: #ffffff;
    border: 2px solid #10b981;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15);
}

.purchased-package-card .package-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.purchased-package-card .package-name {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.purchased-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.purchased-badge i {
    font-size: 12px;
}

/* Success Action Buttons */
.success-action-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.success-action-btn {
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.success-action-btn i {
    font-size: 16px;
}

.success-action-btn.btn-primary-action {
    background: linear-gradient(135deg, #254ae5 0%, #1a3bb8 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 74, 229, 0.3);
}

.success-action-btn.btn-primary-action:hover {
    background: linear-gradient(135deg, #1a3bb8 0%, #152e99 100%);
    box-shadow: 0 6px 20px rgba(37, 74, 229, 0.4);
    transform: translateY(-2px);
    color: #ffffff;
}

.success-action-btn.btn-secondary-action {
    background: #f3f4f6;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.success-action-btn.btn-secondary-action:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
    transform: translateY(-2px);
    color: #111318;
}

/* Package Description Section */
.package-description-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}

.package-description-content {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
}

.package-description-content p {
    margin-bottom: 8px;
}

.package-description-content p:last-child {
    margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .success-title {
        font-size: 28px;
    }

    .success-subtitle {
        font-size: 16px;
    }

    .success-checkmark {
        width: 80px;
        height: 80px;
    }

    .success-checkmark svg {
        width: 48px;
        height: 48px;
    }

    .transaction-summary-header {
        font-size: 14px;
        padding: 14px 20px;
    }

    .transaction-summary-body {
        padding: 20px;
    }

    .summary-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 12px 0;
    }

    .summary-value {
        text-align: left;
    }

    .purchased-package-card .package-name {
        font-size: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .success-action-buttons {
        grid-template-columns: 1fr;
    }
}

/* Dark Mode Support */
.dark .transaction-summary-card {
    background: #1f2937;
    border-color: #374151;
}

.dark .transaction-summary-body {
    background: #1f2937;
}

.dark .summary-row {
    border-bottom-color: #374151;
}

.dark .summary-label {
    color: #9ca3af;
}

.dark .summary-value {
    color: #f9fafb;
}

.dark .purchased-package-card {
    background: #1f2937;
    border-color: #10b981;
}

.dark .success-title {
    color: #f9fafb;
}

.dark .package-description-content {
    background: #111827;
    border-color: #374151;
    color: #d1d5db;
}

.dark .success-action-btn.btn-secondary-action {
    background: #374151;
    color: #f9fafb;
    border-color: #4b5563;
}

.dark .success-action-btn.btn-secondary-action:hover {
    background: #4b5563;
    border-color: #6b7280;
}
/* Header opacity transition for filter panel */
header.max-w-9xl {
    transition: opacity 300ms ease-in-out;
}

header.max-w-9xl.opacity-50 {
    opacity: 0.5 !important;
    pointer-events: none !important;
}

/* Modern Attractive Radio Buttons - Card Style */
.radio-card-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.radio-card {
    position: relative;
    flex: 1;
    min-width: 120px;
    max-width: 200px;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.radio-card-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #495057;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 44px;
}

.radio-card-label:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.15);
}

.radio-card input[type="radio"]:checked + .radio-card-label {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
}

.radio-card input[type="radio"]:checked + .radio-card-label::before {
    content: "✓";
    display: inline-block;
    margin-right: 6px;
    font-weight: bold;
    font-size: 16px;
}

.radio-card input[type="radio"]:focus + .radio-card-label {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* For inline radio groups (2 options) */
.radio-card-group.inline-2 .radio-card {
    flex: 0 1 calc(50% - 6px);
    max-width: none;
}

/* For inline radio groups (3 options) */
.radio-card-group.inline-3 .radio-card {
    flex: 0 1 calc(33.333% - 8px);
    max-width: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .radio-card-group {
        flex-direction: column;
    }
    
    .radio-card {
        max-width: 100%;
    }
    
    .radio-card-group.inline-2 .radio-card,
    .radio-card-group.inline-3 .radio-card {
        flex: 1;
    }
}

/* Select2 Validation Error Styles */
.select2-container.select2-error .select2-selection {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.select2-container.select2-error .select2-selection--single {
    border: 1px solid #dc3545 !important;
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.select2-container.select2-error .select2-selection--multiple {
    border: 1px solid #dc3545 !important;
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Ensure Select2 error is visible */
.select2-container.select2-error {
    border-color: #dc3545 !important;
}

.select2-container.select2-error .select2-selection__rendered {
    color: #dc3545 !important;
}

/* Additional error styling for Select2 */
.select2-error-selection {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

/* Field error message styling */
.field-error-message {
    display: block !important;
    color: #dc3545 !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Modern Attractive Checkbox Buttons - Card Style */
.checkbox-card-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.checkbox-card {
    position: relative;
    flex: 0 1 calc(50% - 5px);
    min-width: 140px;
    max-width: 200px;
}

.checkbox-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-card-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #495057;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 40px;
}

.checkbox-card-label:hover {
    border-color: var(--primary);
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.15);
}

.checkbox-card input[type="checkbox"]:checked + .checkbox-card-label {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
}

.checkbox-card input[type="checkbox"]:checked + .checkbox-card-label::before {
    content: "✓";
    display: inline-block;
    margin-right: 6px;
    font-weight: bold;
    font-size: 16px;
}

.checkbox-card input[type="checkbox"]:focus + .checkbox-card-label {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* For checkbox groups that need full width items */
.checkbox-card-group.full-width .checkbox-card {
    flex: 0 1 calc(33.333% - 7px);
    max-width: none;
}

/* For checkbox groups in columns */
.checkbox-card-group.column-layout {
    flex-direction: column;
}

.checkbox-card-group.column-layout .checkbox-card {
    flex: 1;
    max-width: 100%;
}

/* Responsive adjustments for checkboxes */
@media (max-width: 768px) {
    .checkbox-card-group {
        flex-direction: column;
    }
    
    .checkbox-card {
        max-width: 100%;
        flex: 1;
    }
    
    .checkbox-card-group.full-width .checkbox-card {
        flex: 1;
    }
}

/* ===== Subscription-style package / credit plan page (same UI as subscription plans) ===== */
.subscription-plan-page .plan-page-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 0;
}
@media (min-width: 768px) {
    .subscription-plan-page .plan-page-title { font-size: 2.375rem; }
}
.subscription-plan-page .plan-page-subtitle {
    font-size: 0.875rem;
    margin-bottom: 2rem;
}
@media (min-width: 992px) {
    .subscription-plan-page .plan-page-subtitle { margin-bottom: 4rem; }
}

/* Billing toggle */
.subscription-plan-page .plan-toggle-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.subscription-plan-page .plan-toggle-switch {
    width: 3rem;
    height: 1.625rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s;
    flex-shrink: 0;
}
.subscription-plan-page .plan-toggle-switch.plan-toggle-yearly {
    background-color: var(--primary);
}
.subscription-plan-page .plan-toggle-switch.plan-toggle-monthly {
    background-color: #dee2e6;
}
.subscription-plan-page .plan-toggle-knob {
    position: absolute;
    top: 3px;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    transition: left 0.2s;
    pointer-events: none;
}
.subscription-plan-page .plan-toggle-knob.knob-yearly { left: 1.5rem; }
.subscription-plan-page .plan-toggle-knob.knob-monthly { left: 4px; }
.subscription-plan-page .plan-toggle-label.active { color: var(--primary); }

/* Cards grid */
.subscription-plan-page .plan-cards-row {
    align-items: stretch;
}
.subscription-plan-page .plan-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    height: 100%;
}
.subscription-plan-page .plan-card.plan-card-featured {
    border: 2px solid var(--primary);
    padding: 1.75rem;
    position: relative;
}
.subscription-plan-page .plan-card .plan-card-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
}
.subscription-plan-page .plan-card .plan-card-badge .badge {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.375rem 1.25rem;
    border-radius: 9999px;
    background-color: var(--primary);
    color: #fff;
}
.subscription-plan-page .plan-card .plan-card-body { flex: 1; display: flex; flex-direction: column; }
.subscription-plan-page .plan-card .plan-card-mt-auto { margin-top: auto; }

.subscription-plan-page .plan-card-name {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
    margin-top: 0;
}
.subscription-plan-page .plan-card-price-wrap {
    display: flex;
    align-items: flex-end;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}
.subscription-plan-page .plan-card-price {
    font-size: 2.25rem;
    font-weight: 700;
}
.subscription-plan-page .plan-card-period {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.125rem;
}
.subscription-plan-page .plan-card-billed {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0.25rem 0 0 0;
}

.subscription-plan-page .plan-section-title {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 1rem;
    margin-top: 0;
}
.subscription-plan-page .plan-feature-list { margin-bottom: 2rem; }
.subscription-plan-page .plan-feature-list .plan-feature-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.subscription-plan-page .plan-feature-list .plan-feature-item:last-child { margin-bottom: 0; }
.subscription-plan-page .plan-feature-item-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #475569;
}
.subscription-plan-page .plan-feature-icon {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: #f1f5f9;
    flex-shrink: 0;
}
.subscription-plan-page .plan-feature-value {
    font-size: 0.875rem;
    font-weight: 700;
}
.subscription-plan-page .plan-feature-value.text-primary { color: var(--primary); }

.subscription-plan-page .plan-lead-badges {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.subscription-plan-page .plan-lead-badge {
    background: rgba(37, 74, 229, 0.1);
    border-radius: 0.75rem;
    padding: 0.75rem;
    flex: 1;
}
.subscription-plan-page .plan-lead-badge .lead-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 0.25rem 0;
}
.subscription-plan-page .plan-lead-badge .lead-value {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
}
.subscription-plan-page .plan-lead-badge .lead-meta {
    font-size: 0.5rem;
    color: #3b82f6;
    text-transform: uppercase;
    margin: 0;
}

.subscription-plan-page .plan-action-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.5rem;
}
.subscription-plan-page .plan-action-wrap .btn,
.subscription-plan-page .plan-action-wrap form { width: 100%; }
.subscription-plan-page .plan-action-wrap .btn-full { width: 100%; }
.subscription-plan-page .plan-action-wrap .btn-plan-current {
    cursor: not-allowed;
    opacity: 0.9;
}
[x-cloak] { display: none !important; }