.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Default = minimized state: red rectangle (full content area) */
.popup-content {
    background: #fff;
    width: 100%;
    max-width: 99%;
    height: 100%;
    max-height: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    transition: max-width 0.25s ease, max-height 0.25s ease, top 0.25s ease, left 0.25s ease, transform 0.25s ease;
}

/* Maximized state: yellow rectangle (compact area) */
.popup-content.popup-maximized {
    max-width: 64%;
    max-height: 100%;
    margin-left: 18%;
}

.popup-scrollable-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
    padding-right: 10px;
    margin-right: 90px; /* Reserve space for maximize + close buttons */
    margin-top: 42px;    /* Start scroll area below header buttons */
}

.popup-buttons-container {
    flex-shrink: 0;
    z-index: 10;
}

/* Header button group: minimize, maximize, close - only inside profile modal, top-right of modal */
#popupContainerProfile .popup-header-buttons {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 1001;
}

/* Same style as close button for all three: round, white, shadow */
#popupContainerProfile .popup-header-btn,
#popupContainerProfile .popup-close {
    cursor: pointer;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0;
    font-size: 1rem;
}

#popupContainerProfile .popup-header-btn:hover {
    background-color: #f8f9fa;
}

#popupContainerProfile .popup-maximize-btn:hover {
    background-color: #fd7e14;
    color: #fff;
}

#popupContainerProfile .popup-close.btn-danger {
    color: #ff0019;
}

#popupContainerProfile .popup-close:hover {
    background-color: #ff0019;
    color: #fff;
}

#popupContainerProfile .popup-maximize-btn {
    color: #212529;
}

#popupContainerProfile .popup-maximize-btn .bi-square,
#popupContainerProfile .popup-maximize-btn .bi-fullscreen-exit { font-size: 1rem; line-height: 1; }

/* Collapsible Sections - Hide content by default */
.collapsible-section .section-content-wrapper {
    display: none;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Show section content when section is open */
.collapsible-section.section-open .section-content-wrapper {
    display: block;
}

/* Section header styling for click - border when collapsed */
.collapsible-section .section-header {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease, border 0.2s ease, padding 0.2s ease;
    border: 1px solid #d1d5db !important;
    border-radius: 4px;
    padding: 8px 12px !important;
    background-color: #ffffff;
}

/* Dropdown indicator for section headers - positioned to the right */
.collapsible-section .section-header {
    position: relative;
}

.collapsible-section .section-header::after {
    content: '';
    position: absolute !important;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #1c84c6;
    transition: transform 0.3s ease;
    z-index: 1;
}

/* Ensure hr doesn't overlap with indicator when collapsed */
.collapsible-section .section-header hr {
    margin-right: 25px !important;
}

/* Rotate indicator when section is open (point down) */
.collapsible-section.section-open .section-header::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Remove border when section is open */
.collapsible-section.section-open .section-header {
    border: none !important;
    padding: 0 !important;
    background-color: transparent;
}

.collapsible-section .section-header:hover {
    background-color: #f8f9fa;
    border-color: #9ca3af !important;
}

/* When section is open, hover should not change background */
.collapsible-section.section-open .section-header:hover {
    background-color: transparent;
    border: none !important;
}

/* Hide hr line when section is collapsed */
.collapsible-section .section-header hr {
    display: none !important;
}

/* Show hr line when section is open */
.collapsible-section.section-open .section-header hr {
    display: block !important;
}

.section-container {
    margin-top: 12px;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.section-content {
    padding: 0;
}

/* Form row and form group styling to match product master */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
    align-items: start;
    margin-bottom: 8px;
    margin-left: 0;
    padding-left: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: visible;
    overflow-y: visible;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    margin-left: 0;
    padding-left: 0;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: visible;
    overflow-y: visible;
    min-width: 0;
}

.form-group label {
    margin-bottom: 0;
    margin-left: 0;
    padding-left: 0;
    font-weight: 500;
    font-size: 14px;
    color: #1f2a44;
    white-space: nowrap;
    min-width: 100px;
    text-align: left;
    flex-shrink: 0;
    overflow: visible;
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    flex: 1;
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 12px;
    color: #1f2a44;
    background-color: #f9fafb;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    height: 32px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Collapse states - hide by default */
.collapse:not(.show) {
    display: none !important;
}

.collapse.show {
    display: block !important;
}

/* Set max-width to 49% for col-md-6 divs in company details collapse */
#companyDetailsCollapse .col-md-6 {
    max-width: 49% !important;
    flex: 0 0 49% !important;
}

#companyMapContainer.collapse:not(.show),
#deliveryMapContainer.collapse:not(.show) {
    display: none !important;
}

#companyMapContainer.collapse.show,
#deliveryMapContainer.collapse.show {
    display: block !important;
}

/* Ensure section content stays within boundaries */
.collapsible-section {
    width: 100%;
    box-sizing: border-box;
    overflow-x: visible;
    overflow-y: visible;
    margin-left: 0;
    padding-left: 0;
}

.collapsible-section .section-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: visible;
    overflow-y: visible;
    margin-left: 0;
    padding-left: 0;
}

.collapsible-section .section-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: visible;
    overflow-y: visible;
    margin-left: 0;
    padding-left: 0;
}

/* Ensure form rows and groups stay within section */
.collapsible-section .form-row {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: visible;
    overflow-y: visible;
    margin-left: 0;
    padding-left: 0;
}

.collapsible-section .form-group {
    box-sizing: border-box;
    overflow-x: visible;
    overflow-y: visible;
    margin-left: 0;
    padding-left: 0;
}


/* Space between label and input columns - Company Details, Contact Person, Delivery sections */
#popupContainerProfile .popup-content .row .col-sm-4 {
    padding-right: 0.75rem;
}
#popupContainerProfile .popup-content .row .col-sm-8 {
    padding-left: 0.75rem;
}

/* Same column spacing in scrollable form (address popup) */
.scrollable-form .row .col-sm-3 {
    padding-right: 0.75rem;
}
.scrollable-form .row .col-sm-9 {
    padding-left: 0.75rem;
}

/* Style all form-control and form-select inputs to match product master */
.popup-content .form-control,
.popup-content .form-control-sm,
.popup-content .form-select,
.popup-content .form-select-sm {
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 12px;
    color: #1f2a44;
    background-color: #f9fafb;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    height: 32px;
    width: 100%;
}

.popup-content .form-control:focus,
.popup-content .form-control-sm:focus,
.popup-content .form-select:focus,
.popup-content .form-select-sm:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background-color: #ffffff;
}

.popup-content textarea.form-control,
.popup-content textarea.form-control-sm {
    min-height: 32px;
    height: auto;
    resize: vertical;
}

/* Ensure input-group inputs also get styled */
.popup-content .input-group .form-control,
.popup-content .input-group .form-control-sm {
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 12px;
    color: #1f2a44;
    background-color: #f9fafb;
    height: 32px;
}

.popup-content .input-group .form-control:focus,
.popup-content .input-group .form-control-sm:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background-color: #ffffff;
}

.dropdown-menu {
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.scrollable-dropdown {
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    border: none;
    padding: 0.5rem 0;
}

.scrollable-dropdown li {
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.scrollable-dropdown li:hover {
    background-color: #f1f5f9;
}

.dropdown-item.active {
    background-color: #3b82f6;
    color: #ffffff;
}

.input-group {
    align-items: center;
}

.display-data {
    background-color: transparent;
    color: #6b7280;
    font-size: 0.9rem;
    padding: 0.5rem;
    flex-grow: 1;
}

.input-group:hover .edit-customer-address,
.input-group:hover .edit-contact-address,
.input-group:hover .edit-del-address {
    display: inline-block;
}

/* Style the three address edit buttons to match the blue color from image */
.edit-customer-address,
.edit-contact-address,
.edit-del-address {
    color: #1c84c6 !important;
    border-color: #1c84c6 !important;
    background-color: transparent !important;
}

.edit-customer-address:hover,
.edit-contact-address:hover,
.edit-del-address:hover {
    color: #ffffff !important;
    background-color: #1c84c6 !important;
    border-color: #1c84c6 !important;
}

.edit-customer-address i,
.edit-contact-address i,
.edit-del-address i {
    color: #1c84c6 !important;
}

.edit-customer-address:hover i,
.edit-contact-address:hover i,
.edit-del-address:hover i {
    color: #ffffff !important;
}

.btn-primary {
    background-color: #3b82f6;
    border-color: #3b82f6;
    border-radius: 6px;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.btn-primary:hover {
    background-color: #2563eb;
    border-color: #2563eb;
}

.btn-outline-primary {
    border-color: #3b82f6;
    color: #3b82f6;
    border-radius: 6px;
    font-size: 0.9rem;
    padding: 0.5rem;
}

.btn-outline-primary:hover {
    background-color: #3b82f6;
    color: #ffffff;
}

.btn-xs {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

.map-container {
    width: 520px;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 15px;
    margin-bottom: 15px;
}

.map {
    width: 100%;
    height: 100%;
    border: 1px solid #d1d5db;
}

.cont_person_history,
.del_branch_history,
.del_contperson_history {
    max-height: 60px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f9fafb;
    border-radius: 6px;
    font-size: 0.9rem;
}

.cont_person_history.expanded,
.del_branch_history.expanded,
.del_contperson_history.expanded {
    max-height: none;
}

#toggleContPersonButton,
#toggleDelBranchButton,
#toggleDelContactPersonButton {
    position: absolute;
    bottom: 5px;
    right: 10px;
    color: #3b82f6;
}

/* Overlay - transparent so Customer Profile remains visible */
.address-main {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0%;
    width: 100%;
    height: 100%;
    background: transparent;
}

/* Glassmorphism - translucent white, does not hide Customer Profile behind */
.address-content {
    position: absolute;
    border-radius: 16px;
    right: 0.5%;
    top: 1%;
    width: 550px;
    height: 98vh;
    max-height: 98vh;
    font-size: 0.75rem;
    font-weight: normal;
    background: #dcf3f3;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Address popup close button - keep solid so it's visible on glass */
.address-content .btn-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1060;
    cursor: pointer;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0;
    font-size: 1rem;
    color: #000;
}
.address-content .btn-close:hover {
    background-color: #dc3545;
    color: #fff;
}

.scrollable-form {
    padding: 24px;
    padding-top: 2rem;
    padding-bottom: 2rem;  /* Extra space at bottom so OK button is visible when scrolled */
    margin-top: 40px;      /* Start scroll area below close button */
    padding-right: 24px;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    max-height: calc(98vh - 50px);
    position: relative;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.45) rgba(255, 255, 255, 0.15);
}

/* Glass-style scrollbar to match scrollable form */
.scrollable-form::-webkit-scrollbar {
    width: 8px;
}

.scrollable-form::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.scrollable-form::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.scrollable-form::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* When profile popup is small: give scrollable section similar height as full view */
.popup-content.popup-maximized .address-main .address-content {
    max-height: 98vh;
    height: 98vh;
}
.popup-content.popup-maximized .address-main .scrollable-form {
    min-height: 400px;
    padding-bottom: 3rem;
}

/* Vertical space between each input field row in scrollable form */
.scrollable-form .row,
.scrollable-form .mb-1 {
    margin-bottom: 0.75rem !important;
}

/* Translucent inputs inside glass popup */
.scrollable-form .form-control-sm,
.scrollable-form .form-select-sm {
    padding: 8px;
    font-size: 12px;
    line-height: 1.3;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    color: #333;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    height: 32px;
    transition: border-color 0.2s, background 0.3s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(28, 132, 198, 0.12);
}

.scrollable-form .form-control-sm:focus,
.scrollable-form .form-select-sm:focus {
    outline: none;
    background: #ffffff !important;
    border: 1px solid #ffffff !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8);
}

.scrollable-form .col-form-label {
    font-size: 14px;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    margin-bottom: 0;
    color: #333;
}

.scrollable-form .input-group-sm > .form-control {
    padding: 8px;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    color: #333;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    height: 32px;
    transition: border-color 0.2s, background 0.3s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(28, 132, 198, 0.12);
}

.scrollable-form .input-group-sm > .form-control:focus {
    outline: none;
    background: #ffffff !important;
    border: 1px solid #ffffff !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8);
}

/* Glass-style buttons inside scrollable form */
.scrollable-form .input-group-sm > .btn,
.scrollable-form button:not(.btn-close) {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: 0.3s ease;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

.scrollable-form .input-group-sm > .btn:hover,
.scrollable-form .btn-primary:not(#add_submit_button):hover,
.scrollable-form button:not(.btn-close):not(#add_submit_button):hover {
    background: rgba(255, 255, 255, 0.5) !important;
}

.scrollable-form .btn-primary,
.scrollable-form #add_submit_button {
    background: rgba(255, 255, 255, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    width: 20%;
    color: steelblue;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: 0.2s ease;
    box-shadow: 0 4px 12px rgba(28, 132, 198, 0.35);
    border: none;
    cursor: pointer;
}

.scrollable-form #add_submit_button:hover {
    background: #ffffff !important;
    color: #1c84c6 !important;
}

.scrollable-form textarea {
    min-height: 32px;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #333;
    box-shadow: 0 2px 8px rgba(28, 132, 198, 0.12);
}

.scrollable-form textarea:focus {
    outline: none;
    background: #ffffff !important;
    border: 1px solid #ffffff !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8);
}

.scrollable-form hr {
    margin: 0.5rem 0;
}

.scrollable-form .input-group {
    width: 100%;
}

/* Keep prefix + number on single row (Zoho-style) */
.scrollable-form .input-group-sm.phone-prefix-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
}
.scrollable-form .phone-prefix-row .phone-prefix-select {
    width: auto !important;
    max-width: 90px;
    flex-shrink: 0;
}
.scrollable-form .phone-prefix-row .phone-prefix-select + .form-control {
    flex: 1;
    min-width: 0;
}

.scrollable-form .bankrow1,
.scrollable-form .bankrow2 {
    margin-bottom: 0.25rem;
}

.scrollable-form .col-sm-3,
.scrollable-form .col-sm-9,
.scrollable-form .col-sm-5,
.scrollable-form .col-sm-1 {
    padding-left: 5px;
    padding-right: 5px;
}

.scrollable-form #address_details {
    margin-top: 0.25rem;
    font-size: 0.75rem;
}

.scrollable-form .address-form-buttons {
    position: sticky !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background-color: #ffffff !important;
    padding: 15px !important;
    margin: 0 -12px !important;
    margin-top: 10px !important;
    border-top: none !important;
    width: calc(100% + 24px) !important;
    box-sizing: border-box !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 65px !important;
    min-height: 65px !important;
    max-height: 65px !important;
}

.address-form-buttons {
    position: sticky !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background-color: #ffffff !important;
    padding: 15px !important;
    border-top: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 65px !important;
    min-height: 65px !important;
    max-height: 65px !important;
    margin: 0 !important;
}

.address-form-buttons .row {
    margin: 0 !important;
}

.address-form-buttons .btn-primary {
    min-width: 120px !important;
    padding: 0.6rem 2rem !important;
    font-size: 1.1rem !important;
    font-weight: bold !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: white !important;
    border-radius: 6px !important;
    cursor: pointer !important;
}


.message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.message-container[data-mtype="success"] {
    background-color: #10b981;
}

.message-container[data-mtype="error"] {
    background-color: #ef4444;
}

.message-container p {
    margin: 0;
}

.modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid #e5e7eb;
}

.modal-footer {
    border-top: 1px solid #e5e7eb;
}

.btn-secondary {
    border-radius: 6px;
    font-size: 0.9rem;
}

.btn-danger {
    border-radius: 6px;
    font-size: 0.9rem;
}

/* Vertical divider for Branches/Delivery Locations */
.card-body .row .col-md-7 {
    border-right: 1px solid #d1d5db; /* Vertical divider */
    padding-right: 15px; /* Space between form fields and divider */
}

.card-body .row .col-md-5 {
    padding-left: 15px; /* Space between divider and map */
}

@media (max-width: 768px) {
    .address-content {
        width: 90%;
        max-height: 90vh;
        top: 5%;
        border-radius: 10px;
        margin: 0 5%;
    }
    .card-body.company-details .row .col-sm-4,
    .card-body.company-details .row .col-sm-8 {
        padding-left: 3px;
        padding-right: 3px;
    }
    .card-body.company-details .col-md-6 {
        padding-left: 5px;
        padding-right: 5px;
    }
    .card-body .row .col-md-7 {
        border-right: none; /* Remove divider on mobile */
    }
    .card-body .row .col-md-5 {
        padding-left: 5px; /* Reset padding on mobile */
    }
    .card-body {
        padding: 1rem;
    }
    .form-label {
        font-size: 0.85rem;
    }
    .form-select,
    .form-control {
        font-size: 0.85rem;
    }
    .map-container {
        height: 150px;
    }
}

.input-required {
    position: relative;
}

.input-required::before {
    content: "*";
    color: red;
    position: absolute;
    left: -1px; /* adjust so it sits just before the input */
    top: 30%;
    transform: translateY(-50%);
}
.col-form-label{
    font-size: 14px;
    font-weight: 500;
}

  
span {
    text-transform: capitalize;
}
#comp_address_in {
    padding-left: 8px;
  }
  