
         /* --- High-Specificity Fix for Alignment and Appearance --- */
        .dhl-shipment-form-wrapper .shipment-type-selection {
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee; /* Maintain visual separation */
        }

        /* 1. FIX ALIGNMENT: Force the options into a single row */
        .dhl-shipment-form-wrapper .radio-group {
            display: flex; 
            gap: 15px; 
            margin-top: 10px;
        }

        /* 2. FIX RADIO BUTTON PLACEMENT & Card Sizing */
        .dhl-shipment-form-wrapper .radio-container {
            display: flex; /* Use flex to align the inner content (radio + label) */
            align-items: center; /* Vertically center the radio/label content */
            flex-grow: 1; /* Make both items take equal width */
            text-align: left; /* Keep text aligned left within the box */
            padding: 15px 15px;
            border: 2px solid #ccc; 
            border-radius: 6px;
            transition: all 0.3s ease;
            cursor: pointer;
            background-color: #f9f9f9;
        }

        /* 3. SHOW CHECKBOX/RADIO ON THE LEFT (Revert to default radio for placement) */
        .dhl-shipment-form-wrapper .radio-container input[type="radio"] {
            /* DO NOT use display: none; here, instead, use margins to place it */
            display: block; 
            margin-right: 10px; /* Space between the radio and the text */
            margin-top: 0; /* Align with the text */
            min-width: 16px; /* Ensure it takes up space */
            height: 16px;
        }

        /* Style the text label container */
        .dhl-shipment-form-wrapper .radio-container .radio-label {
            font-weight: 600;
            font-size: 14px;
            color: #333;
            line-height: 1.4;
            flex-grow: 1; /* Let the text fill the rest of the space */
        }

        /* Style the secondary descriptive text */
        .dhl-shipment-form-wrapper .radio-description {
            display: block;
            font-size: 11px;
            font-weight: 400;
            margin-top: 3px;
            color: #666; /* Darker grey for better readability */
        }


        /* HOVER state */
        .dhl-shipment-form-wrapper .radio-container:hover {
            border-color: #004d99; /* Blue hover border */
            background-color: #e6f0ff; 
        }

        /* CHECKED state */
        .dhl-shipment-form-wrapper .radio-container input[type="radio"]:checked {
            /* Add a subtle highlight to the radio button itself */
            accent-color: #004d99; 
        }

        /* Target the container when the radio is checked */
        .dhl-shipment-form-wrapper .radio-container:has(input[type="radio"]:checked) {
             border-color: #004d99; /* Blue hover border */
            background-color: #e6f0ff; 
        }
        /* === BASE STYLES AND LAYOUT === */
        .dhl-shipment-form-wrapper {
            margin: 0 auto;
            padding: 20px;
            background: #f9f9f9;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-family: Arial, sans-serif;
            font-size: 14px;
        }

        .main-form-layout {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
        }

        .shipper-receiver-column,
        .package-delivery-column {
            flex: 1;
            background: white;
            padding: 15px;
            border: 1px solid #eee;
            border-radius: 4px;
        }

        /* === HEADER/TITLE STYLES === */
        .form-header-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .form-header-row h3 {
            flex-basis: 50%;
            margin: 0;
            font-size: 16px;
            color: #333;
            padding-bottom: 5px;
            border-bottom: 2px solid #007cba;
        }
        
        .delivery-header {
            font-size: 16px;
            color: #333;
            padding-top: 10px;
            padding-bottom: 5px;
            border-top: 1px solid #ddd;
            border-bottom: 2px solid #007cba;
            margin-top: 20px;
            margin-bottom: 15px;
        }

        /* === FORM ROW AND GROUP STYLES === */
        .form-row {
            display: flex;
            flex-wrap: wrap;
            margin-bottom: 5px;
            gap: 20px;
        }
        
        .form-row-full-width {
            flex-direction: column;
        }
        
        .form-group {
            flex: 1 1 calc(50% - 10px);
            min-width: 150px;
            margin-bottom: 10px;
        }
        
        .form-group-full-width {
            flex: 1 1 100%;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            color: #555;
            font-size: 12px;
        }
        
        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-sizing: border-box;
            font-size: 14px;
        }
        
        .dimensions-group {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .dimensions-group input {
            flex: 1;
            text-align: center;
        }
        
        .dimensions-group span {
            padding: 0 5px;
            font-weight: bold;
        }

        .input-with-select {
            display: flex;
        }

        .input-with-select input {
            flex: 1;
            border-right: none;
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
        }

        .input-with-select select {
            width: 80px;
            border-left: none;
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
            background: #f1f1f1;
        }

        /* === SECTION STYLES === */
        .form-section {
            background: white;
            padding: 15px;
            border: 1px solid #eee;
            border-radius: 4px;
            margin-bottom: 20px;
        }

        .form-section h4 {
            margin-top: 0;
            color: #333;
            border-bottom: 2px solid #007cba;
            padding-bottom: 8px;
            margin-bottom: 20px;
        }

        /* === BUTTON STYLES === */
        .form-buttons {
            display: flex;
            justify-content: flex-end;
            gap: 15px;
            margin-top: 20px;
            padding-top: 20px;
/*            border-top: 1px solid #ddd;*/
        }

        .form-buttons button {
            padding: 12px 24px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            font-weight: bold;
        }

        .button-primary {
            background: #007cba;
            color: white;
            transition: background 0.3s;
        }

        .button-primary:hover {
            background: #005a87;
        }

        .button-secondary {
            background: #6c757d;
            color: white;
            transition: background 0.3s;
        }

        .button-secondary:hover {
            background: #545b62;
        }

        /* === MESSAGE BOX === */
        #form-message {
            margin-top: 15px;
            padding: 10px;
            border-radius: 4px;
            display: none;
        }
        
        .success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }
        
        .error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        /* Field-level validation highlight */
        #dhl-step1-container input.field-error,
        #dhl-step1-container select.field-error,
        #dhl-step1-container textarea.field-error {
            border-color: #dc3545 !important;
            box-shadow: 0 0 0 1px rgba(220, 53, 69, 0.25);
            background-color: #fff5f6;
        }
        
        .loading {
            background: #d1ecf1;
            color: #0c5460;
            border: 1px solid #bee5eb;
        }

        /* === RESPONSIVE DESIGN === */
        @media (max-width: 900px) {
            .main-form-layout {
                flex-direction: column;
            }
            
            .form-header-row {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .form-header-row h3 {
                width: 100%;
                margin-bottom: 10px;
            }
            
            .form-row {
                gap: 10px;
            }

            .form-group {
                flex: 1 1 100%;
            }
            
            .dimensions-group {
                flex-direction: column;
                gap: 5px;
            }
            
            .dimensions-group input {
                width: 100%;
            }
            
            .form-buttons {
                flex-direction: column;
            }
        }

        .tws_ups{
            background-color: #351c15 !important;
        }

        .btn-danger{
            background-color: red !important;
        }
