.hic_sub__wrap {
    display: none;
}

/* Glassmorphic Backdrop Overlay */
.hic_sub__wrap .hic_sub__bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 999990;
    background: rgba(13, 24, 38, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Modern Card Container */
.hic_sub__wrap .hic_sub__form {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    padding: 40px 35px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    max-width: 92%;
    max-height: 88vh;
    background: #ffffff;
    z-index: 999991;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 28px;
    overflow-y: auto;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
.hic_sub__wrap .hic_sub__form::-webkit-scrollbar {
    width: 6px;
}
.hic_sub__wrap .hic_sub__form::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}

/* Title & Subtitle */
.hic_sub__wrap h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
    text-align: center;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.hic_sub__wrap .hic_sub__title_p {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    padding-bottom: 16px;
    margin-bottom: 24px;
    margin-top: 0;
    text-align: center;
    border-bottom: 1px solid #f3f4f6;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.5;
}

/* Section Headings */
.hic_sub__wrap p {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    margin: 20px 0 10px 0;
    padding: 0;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hic_sub__wrap p::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 14px;
    background: #c65448;
    border-radius: 4px;
}

/* Inline 2-Column Row Layout for Compact Form */
.hic_sub__wrap .hic_sub__form .hic_sub__row {
    display: flex;
    gap: 12px;
    width: 100%;
}

.hic_sub__wrap .hic_sub__form .hic_sub__row .hic_sub__block {
    flex: 1;
    min-width: 0;
}

/* Form Groups & Inputs */
.hic_sub__wrap .hic_sub__form .hic_sub__block {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hic_sub__wrap .hic_sub__form .hic_sub__block label {
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    width: 100%;
    float: none;
}

.hic_sub__wrap .hic_sub__form .hic_sub__block input {
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    float: none;
    width: 100%;
    outline: none;
    font-size: 14px;
    color: #1f2937;
    background: #f9fafb;
    box-sizing: border-box;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hic_sub__wrap .hic_sub__form .hic_sub__block input::placeholder {
    color: #9ca3af;
    opacity: 1;
    font-size: 13.5px;
}

.hic_sub__wrap .hic_sub__form .hic_sub__block input:focus {
    background: #ffffff;
    border-color: #c65448;
    box-shadow: 0 0 0 4px rgba(198, 84, 72, 0.12);
}

/* Fix Select2 internal search field styling (removes nested box bug) */
.hic_sub__wrap .hic_sub__form .hic_sub__block input.select2-search__field,
.select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 2px 0 !important;
    height: 26px !important;
    box-shadow: none !important;
    outline: none !important;
    width: auto !important;
    font-size: 13.5px !important;
}

.select2-container--default .select2-selection--multiple .select2-search__field::placeholder,
.select2-container--default .select2-selection--multiple .select2-selection__placeholder {
    color: #9ca3af !important;
    opacity: 1 !important;
    font-size: 13.5px !important;
}

/* Floating Close Button */
.hic_sub__wrap .hic_sub__form .hic_sub__closer {
    background: #f3f4f6;
    width: 32px;
    height: 32px;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 999992;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 0.85;
}

.hic_sub__wrap .hic_sub__form .hic_sub__closer::before,
.hic_sub__wrap .hic_sub__form .hic_sub__closer::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 2px;
    background-color: #4b5563;
    border-radius: 2px;
}

.hic_sub__wrap .hic_sub__form .hic_sub__closer::before {
    transform: rotate(45deg);
}

.hic_sub__wrap .hic_sub__form .hic_sub__closer::after {
    transform: rotate(-45deg);
}

.hic_sub__wrap .hic_sub__form .hic_sub__closer:hover {
    background: #e5e7eb;
    opacity: 1;
    transform: scale(1.05);
}

/* Select2 Custom Modern Styling (2026 UI/UX) */
.js-multiple-select {
    width: 100% !important;
}

.select2-container {
    width: 100% !important;
    font-size: 14px;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #e5e7eb !important;
    border-radius: 14px !important;
    padding: 5px 10px !important;
    min-height: 46px;
    background: #f9fafb !important;
    box-sizing: border-box;
    transition: all 0.25s ease !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #c65448 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(198, 84, 72, 0.12) !important;
}

/* Select2 Pill Badges */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: rgba(198, 84, 72, 0.08) !important;
    border: 1px solid rgba(198, 84, 72, 0.2) !important;
    color: #c65448 !important;
    border-radius: 20px !important;
    padding: 3px 10px 3px 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-right: 6px !important;
    margin-top: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #c65448 !important;
    margin-right: 4px !important;
    font-weight: 700 !important;
    border: none !important;
    background: none !important;
    cursor: pointer !important;
    font-size: 14px !important;
    line-height: 1 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #b04337 !important;
    background: none !important;
}

/* Select2 Dropdown Popup */
.select2-dropdown {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden !important;
    background: #ffffff !important;
    margin-top: 4px !important;
}

.select2-results__option {
    padding: 10px 14px !important;
    font-size: 14px !important;
    color: #374151 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #c65448 !important;
    color: #ffffff !important;
}

.required_email {
    color: #ef4444;
    font-size: 13px;
    margin-top: 4px !important;
    display: none;
    font-weight: 500 !important;
}

/* CTA Submit Button */
.hic_sub__submit {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #c65448 0%, #b04337 100%);
    text-align: center;
    padding: 15px 24px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #ffffff !important;
    border: none;
    border-radius: 50px;
    margin-top: 28px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(198, 84, 72, 0.28);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-sizing: border-box;
}

.hic_sub__submit:hover {
    background: linear-gradient(135deg, #b04337 0%, #9c352a 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(198, 84, 72, 0.38);
}

@media (max-width: 600px) {
    .hic_sub__wrap .hic_sub__form {
        width: 92%;
        max-height: 90vh;
        padding: 30px 20px;
    }
}

.wrap h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.wp-list-table {
    border-collapse: collapse;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow-x: auto; /* Enable horizontal scrolling on small screens */
}

.wp-list-table th, .wp-list-table td {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
}

.wp-list-table th {
    background-color: #f0f0f0;
    font-weight: bold;
    text-align: left;
    white-space: nowrap; /* Prevent table headers from wrapping */
}

.wp-list-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.wp-list-table input[type="text"], .wp-list-table select {
    padding: 0.3rem 0.5rem;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.wp-list-table .button-primary {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 3px;
    cursor: pointer;
}

.wp-list-table .button-link {
    color: #0073aa;
    text-decoration: none;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .wp-list-table {
        font-size: 0.9rem; /* Reduce font size for better readability */
    }

    .wp-list-table th, .wp-list-table td {
        padding: 0.3rem 0.5rem; /* Reduce padding for better spacing */
    }

    .wp-list-table input[type="text"], .wp-list-table select {
        width: 100%; /* Make input fields and selects full width */
        box-sizing: border-box; /* Include padding and border in the total width */
    }
}
/* Make the ID column narrower */
.wp-list-table .idx { /* Target the <th> with class "idx" */
    width: 30px; /* Adjust the width as needed */
}

.wp-list-table .delete { /* Target the <th> with class "delete" */
    width: 40px; /* Adjust the width as needed */
}

/* Style Save buttons as text links */
.wp-list-table .button-primary {
    background: none; /* Remove background */
    border: none;     /* Remove border */
    padding: 0;       /* Remove padding */
    color: #0073aa;   /* Keep the blue color */
    text-decoration: underline; 
    cursor: pointer;
}
/* Hide input background and border */
.wp-list-table input[type="text"],
.wp-list-table input[type="email"],
.wp-list-table input[type="tel"],
.wp-list-table select {
    background: transparent; /* Make the background transparent */
    border: none;             /* Remove the border */
      width: 100%; /* Make input fields take up full column width */
    max-width: 100%; /* Prevent them from overflowing the column */
}

.popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        display: none; /* Initially hidden */
        justify-content: center;
        align-items: center;
        z-index: 999;
        
    }

    .popup-content {
        background: white;
        padding: 20px;
        border-radius: 5px;
        max-width: 600px;
        width: 100%;
        position: relative;
        margin: 8% auto;
    }

    .popup-content form input,
    .popup-content form select {
        width: 100%;
        padding: 8px;
        margin: 5px 0;
    }

    .popup-content .button-link {
        background-color: #f44336;
        color: white;
        padding: 5px 10px;
        border: none;
        cursor: pointer;
    }

    .popup-content .button-link:hover {
        background-color: #d32f2f;
    }
