#trustlex_target_address_row th.label,
#trustlex_split_container .trustlex-split-row-label {
    text-align: left;
    padding: 5px 0 2px 0;
    vertical-align: top;
    font-weight: 600;
    width: 30%;
}
#trustlex_target_address_row td.value,
.trustlex-split-row .trustlex-input-wrapper {
    padding: 2px 0 5px 0;
    vertical-align: top;
    position: relative;
}
.trustlex-input-wrapper .trustlex-input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #6b7280;
    z-index: 2;
}
.trustlex-input-wrapper .trustlex-input-icon svg {
    width: 100%;
    height: 100%;
}
#target_address,
.split-address-input {
    width: 100% !important;
    padding: 12px 15px 12px 45px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    background: white !important;
    box-sizing: border-box !important;
}
#target_address:focus,
.split-address-input:focus {
    border-color: #419073 !important;
    outline: none !important;
    box-shadow: 0 0 0 1px #419073 !important;
    background: white !important;
}

/* Split container styling */
#trustlex_split_container {
    background: none !important;
}

.trustlex-split-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}
.trustlex-split-row .trustlex-input-wrapper {
    flex: 1;
    padding: 0 !important;
    margin: 0 !important;
}

/* Quantity controls styling */
.trustlex-split-quantity {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    min-width: 100px;
}
.trustlex-qty-btn {
    background: white;
    border: none;
    width: 32px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    color: #666;
    transition: all 0.2s;
}
.trustlex-qty-btn:hover {
    background: #419073;
    color: white;
}
.trustlex-qty-btn:active {
    transform: scale(0.95);
}
.split-quantity-input {
    width: 40px !important;
    text-align: center !important;
    border: none !important;
    border-left: 1px solid #ddd !important;
    border-right: 1px solid #ddd !important;
    border-radius: 0 !important;
    background: white !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 8px 4px !important;
    margin: 0 !important;
    min-height: auto !important;
    height: 36px !important;
    box-sizing: border-box !important;
}
.split-quantity-input:focus {
    border-color: #ddd !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Remove button styling */
.trustlex-remove-split-row {
    font-size: 20px;
    color: #aaa;
    text-decoration: none;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}
.trustlex-remove-split-row:hover {
    background: #d63384;
    color: white;
}

/* Google Places Autocomplete styling */
.pac-container {
    border-radius: 4px;
    border: 1px solid #ddd;
    font-family: inherit;
    z-index: 9999 !important;
}
.pac-item {
    border-top: 1px solid #e6e6e6;
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
}
.pac-item:first-child {
    border-top: none;
}
.pac-item:hover {
    background-color: #f5f5f5;
}
.pac-item-selected {
    background-color: #419073 !important;
    color: white;
}

/* Addon Selection Styling */
.trustlex-addon-selection-container {
    margin-top: 20px !important;
}

.trustlex-addon-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 0 8px 0 !important;
}

.trustlex-addon-subtitle {
    font-size: 13px !important;
    color: #666 !important;
    margin: 0 0 20px 0 !important;
    line-height: 1.5 !important;
}

.trustlex-addon-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.trustlex-addon-item {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 15px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: auto !important;
}

.trustlex-addon-item:hover {
    border-color: #419073 !important;
    background: #f8fffe !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(65, 144, 115, 0.1) !important;
}

/* Tooltip Styling */
.trustlex-addon-tooltip {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    cursor: help !important;
}

.trustlex-addon-tooltip svg {
    width: 18px !important;
    height: 18px !important;
    color: #9ca3af !important; /* gray-400 */
    transition: color 0.2s ease !important;
}

.trustlex-addon-tooltip:hover svg {
    color: #374151 !important; /* gray-700 */
}

.trustlex-addon-tooltip .trustlex-tooltip-text {
    visibility: hidden !important;
    width: 260px !important;
    background-color: #1a202c !important; /* Darker background */
    color: #fff !important;
    text-align: left !important;
    border-radius: 6px !important;
    padding: 12px !important;
    position: absolute !important;
    z-index: 30 !important; /* High z-index to ensure it's on top */
    bottom: 140% !important; /* Position above the icon */
    left: 50% !important;
    margin-left: -138px !important; /* Use half of the width + padding to center the tooltip */
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
}

.trustlex-addon-tooltip:hover .trustlex-tooltip-text {
    visibility: visible !important;
    opacity: 1 !important;
}

.trustlex-addon-tooltip .trustlex-tooltip-text::after {
    content: "" !important;
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    margin-left: -6px !important;
    border-width: 6px !important;
    border-style: solid !important;
    border-color: #1a202c transparent transparent transparent !important; /* Match darker background */
}

.trustlex-addon-item.selected {
    border-color: #419073 !important;
    background: #f0f8f5 !important;
    box-shadow: 0 0 0 1px #419073;
}

.trustlex-addon-checkbox {
    flex-shrink: 0 !important;
}

.trustlex-addon-checkbox input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    accent-color: #419073 !important;
    cursor: pointer !important;
}

.trustlex-addon-image {
    flex-shrink: 0 !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    background: #f5f5f5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.trustlex-addon-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 6px !important;
}

.trustlex-addon-content {
    flex-grow: 1 !important;
    min-width: 0 !important;
}

.trustlex-addon-name {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.3 !important;
}

.trustlex-addon-price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #419073 !important;
    margin: 0 0 2px 0 !important;
    line-height: 1 !important;
}

.trustlex-addon-tagline {
    font-size: 13px !important;
    color: #6c757d !important;
    margin: 5px 0 0 0 !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .trustlex-addon-item {
        padding: 12px;
        gap: 12px;
    }
    
    .trustlex-addon-image {
        width: 50px;
        height: 50px;
    }
    
    .trustlex-addon-name {
        font-size: 14px;
    }
    
    .trustlex-addon-price {
        font-size: 15px !important;
    }
    
    .trustlex-addon-tagline {
        font-size: 12px !important;
    }
}

/* Checkbox styling improvements */
.trustlex-addon-checkbox input[type="checkbox"] {
    position: relative;
    appearance: none;
    border: 2px solid #ddd;
    border-radius: 3px;
    background: white;
    transition: all 0.2s ease;
}

.trustlex-addon-checkbox input[type="checkbox"]:checked {
    background: #419073;
    border-color: #419073;
}

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

.trustlex-addon-checkbox input[type="checkbox"]:hover {
    border-color: #419073;
} 