.add-product-modal button.btn-close {
    right: 26px !important;
    left: unset !important;
    top: 30px !important;
    transform: none !important;
    box-shadow: none;
    font-size: 10px !important;
    background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='2 3 15 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 4.5L5 13.5' stroke='%23a5a3ae' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14 4.5L5 13.5' stroke='white' stroke-opacity='0.2' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 4.5L14 13.5' stroke='%23a5a3ae' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 4.5L14 13.5' stroke='white' stroke-opacity='0.2' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
}
.add-product-modal button.btn-close:hover{
    background-color: #f3f4f6;
    background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='2 3 15 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 4.5L5 13.5' stroke='%234b5563' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M14 4.5L5 13.5' stroke='white' stroke-opacity='0.2' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 4.5L14 13.5' stroke='%234b5563' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 4.5L14 13.5' stroke='white' stroke-opacity='0.2' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
}

.add-product-modal .modal-content {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.add-product-modal .modal-header {
    border-bottom: 1px solid #f3f4f6;
    padding: 1rem 1.5rem;
    background: white;
}

.add-product-modal .modal-body {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

.add-product-modal .modal-footer {
    border-top: 1px solid #f3f4f6;
    background-color: #f9fafb;
    padding: 1rem 1.5rem;
    margin-top: 0;
}

/* Option cards for initial selection */
.add-product-modal .option-card {
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    margin-bottom: 1rem;
    text-align: left;
}

.add-product-modal .option-card:hover {
    border-color: #d1d5db;
    background-color: #f9fafb;
}

.add-product-modal .option-card .option-icon-container {
    width: 5rem;
    height: 5rem;
    background-color: #f3f4f6;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-bottom: 1.5rem; */
    flex-shrink: 0;
}

.add-product-modal .option-card .option-content {
    flex: 1;
}

.add-product-modal .option-card h5 {
    font-size: 1.15rem;
    font-weight: 500;
    color: #111827;
    margin-bottom: 0.5rem;
}

.add-product-modal .option-card p {
    color: #6b7280;
    margin: 0;
    font-size: 0.8rem;
}

/* Form styling */
.add-product-modal .form-group {
    margin-bottom: 0.4rem;
}

.add-product-modal .form-label-new {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.2rem;
}

.add-product-modal .form-control-new {
    width: 100%;
    padding: 0.45rem 0.65rem;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    font-size: 0.85rem;
    transition: all 0.15s ease;
    background: white;
}

.add-product-modal .form-control-new:focus {
    outline: none;
    border-color: #6b7280;
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.1);
}

.add-product-modal .form-control-new + .select2 .select2-selection {
    width: 100%;
    padding: 0rem 0.20rem;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.15s ease;
    background: white !important;
}

.add-product-modal .form-control-new + .select2 .select2-selection .select2-selection__choice {
    background-color: #f3f4f6;
    color: #111827;
    border-radius: 50px;
    font-weight: 400;
}
.add-product-modal li.select2-search.select2-search--inline {
    width: 50%;
}
.add-product-modal .form-control-new + .select2-container--default .select2-search--inline .select2-search__field{
    width: 100% !important;
    font-size: 0.85rem;
}
.add-product-modal .select2-container--default.select2-container--focus .select2-selection, .select2-container--default.select2-container--open .select2-selection {
    outline: none;
    border-color: #6b7280 !important;
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.1);
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    cursor: pointer;
    font-weight: bold;
    float: right;
    font-size: 1.25rem;
    line-height: 1;
    border-radius: 50px;
    padding: 1px 4px;
    width: 20px;
    height: 20px;
    margin-right: 6px;
    margin-bottom: 4px;
}
span.select2-selection__clear:hover {
    background-color: #f3f4f6;
}
.add-product-modal .light-style .select2-selection--multiple .select2-selection__rendered {
    padding: 0 0.375rem 0.275rem 0.375rem;
}

.add-product-modal .textarea-new {
    resize: vertical;
}

.add-product-modal .form-switch .form-check-input {
    width: 2.5em;
    margin-left: -2.5em;
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='6' fill='%23fff'/%3E%3C/svg%3E%0A");
    background-position: left center;
    border-radius: 2em;
    border:none;
    transition: background-position 0.15s ease-in-out;
    box-shadow: none;
}
.add-product-modal .form-switch .form-check-input:focus {
    border: none;
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='6' fill='%23fff'/%3E%3C/svg%3E%0A");
}

.add-product-modal .form-switch .form-check-input:checked {
  background-position: right center;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='6' fill='%23fff'/%3E%3C/svg%3E%0A");
}

.add-product-modal .form-check-input {
    width: 1.2em;
    height: 1.4em;
    margin-top: 0.135em;
    vertical-align: top;
    background-color: #d1d5db;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid #dbdade;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    print-color-adjust: exact;
}
.add-product-modal .form-check-input:checked, .form-check-input[type=checkbox]:indeterminate {
    background-color: #4b5563;
}
.add-product-modal .form-check-label{
    margin-left: 0.5rem;
    margin-top: 1px;
    font-size: 0.85rem;
}

/* Additional info toggle */
.add-product-modal .additional-info-toggle {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.add-product-modal .toggle-button {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 0.85rem;
}

.add-product-modal .toggle-button:hover {
    background-color: #f3f4f6;
}

.add-product-modal .toggle-content {
    padding: 1rem;
    background: white;
    display: none;
}

.add-product-modal .toggle-content.show {
    display: block;
}

/* Bulk warning */
.add-product-modal .bulk-warning {
    background-color: #fef3cd;
    border: 1px solid #fde68a;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-top: 1rem;
    display: none;
}

.add-product-modal .bulk-warning.show {
    display: block;
}

.bulk-warning p {
    color: #92400e;
    font-size: 0.875rem;
    margin: 0;
}

/* Bulk toggle */
.add-product-modal .bulk-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: #f9fafb;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

/* File upload area */
.add-product-modal .file-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 1rem;
    padding: 4rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #fafafa;
}

.add-product-modal .file-upload-area:hover {
    border-color: #6b7280;
    background-color: #f9fafb;
}

.add-product-modal .file-upload-area .upload-icon {
    width: 4rem;
    height: 4rem;
    background-color: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: #6b7280;
}

/* Country grid */
.add-product-modal .country-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

/* Action buttons */
.add-product-modal .action-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.add-product-modal .btn-back {
    padding: 0.5rem 1rem;
    background-color: #f9fafb;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
}

.add-product-modal .btn-back:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.btn-primary-new {
    padding: 0.5rem 1.5rem;
    background-color: #111827;
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background, transform 0.15s ease;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.add-product-modal .btn-primary-new:hover {
    background-color: #1f2937;
    transform: translateY(-1px);
}

.add-product-modal .btn-primary-new:disabled {
    background-color: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

/* Step management */
.step {
    display: none;
}

.step.active {
    display: block;
}

/* Hide agent model in initial step */
.modal-footer.hide-agent-model .dropdown {
    display: none;
}

/* Plan selection cards */
.plan-card {
    cursor: pointer;
    width: 100%;
}

.plan-card .plan-border {
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.2s ease;
    background: white;
    height: 100%;
}

.plan-card:hover .plan-border {
    border-color: #d1d5db;
    background-color: #f9fafb;
}

.plan-card.active .plan-border {
    border-color: #111827;
    background-color: #f9fafb;
}

.plan-check-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #111827;
    border-radius: 50%;
    color: white;
}

.plan-check-icon i {
    font-size: 12px;
}

.plan-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f4f6;
    border-radius: 0.5rem;
    margin-bottom: 0;
    flex-shrink: 0;
}

.plan-icon i {
    font-size: 20px;
    color: #9ca3af;
}

.plan-icon.advanced {
    background: linear-gradient(135deg, #ffd54d 20%, #ff710e 79%);
}

.plan-icon.advanced i {
    color: white;
}

/* Plan badge styling */
.plan-badge {
    display: inline-block;
    background-color: #111827;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.15rem 0.7rem;
    border-radius: 50px;
    margin-left: 0.5rem;
}

.plan-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.plan-description {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    height: 7.5rem;
}

.plan-cost {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.cost-badge {
    width: 13px;
    height: 13px;
    margin-right: 7px;
    background: #9ca3af;
    border-radius: 50px;
}
.plan-cost .cost-number {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.plan-cost .cost-label {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Summary box styling */
.summary-box {
    background-color: #f9fafb;
    border-radius: 0.75rem;
    padding: 1rem;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.summary-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.summary-value {
    font-weight: 500;
    color: #111827;
}

.summary-value.cost {
    font-weight: 700;
    display: flex;
    align-items: center;
}
.summary-value.cost #total-cost {
    margin-right: 0.2rem;
}

/* Plan features styling */
.plan-features {
    margin-top: 1rem;
}

.plan-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.plan-features .feature-item:last-child {
    margin-bottom: 0;
}

.plan-features .feature-icon {
    color: #10b981;
    font-size: 14px;
    flex-shrink: 0;
}

/* Warning and info icon containers */
.warning-icon-container,
.info-icon-container {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.warning-icon-container i,
.info-icon-container i {
    font-size: 16px;
}

/* File mapping styles */
.add-product-modal .mapping-fields .row {
    margin-bottom: 1rem;
}

.add-product-modal .mapping-fields .form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0;
}

.add-product-modal .mapping-fields .form-select {
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    transition: all 0.15s ease;
}

.add-product-modal .mapping-fields .form-select:focus {
    outline: none;
    border-color: #6b7280;
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.1);
}

.add-product-modal .sample-data-preview h5 {
    color: #374151;
    font-weight: 600;
    margin-bottom: 1rem;
}

.add-product-modal .sample-data-preview .table {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 0;
}

.add-product-modal .sample-data-preview .table th {
    background-color: #f3f4f6;
    color: #374151;
    font-weight: 600;
    border-bottom: 2px solid #e5e7eb;
    padding: 0.75rem;
    font-size: 0.875rem;
}

.add-product-modal .sample-data-preview .table td {
    padding: 0.75rem;
    font-size: 0.875rem;
    color: #6b7280;
    border-bottom: 1px solid #f3f4f6;
}

.add-product-modal .sample-data-preview .table tr:last-child td {
    border-bottom: none;
}

.add-product-modal .dropzone {
    border-radius: 1rem;
}
.add-product-modal .dropzone .dz-message {
    font-size: 1rem;
    margin: 5rem 0 1.3rem;
    color: #111827;
}
.add-product-modal .dropzone .dz-message span.note{
    margin-top: 0.1rem;
    font-weight: 400;
}
.add-product-modal .dropzone .dz-message::before {
    border-radius: 50px;
    top: 1.4rem;
    left: calc(50% - 30px);
    height: 50px;
    width: 50px;
}

.add-product-modal .dropzone .dz-message .upload-button {
    font-size: 1rem;
    font-weight: 400;
    background-color: #f3f4f6;
    display: inline-block;
    padding: 0.75rem 1.2rem;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
    transition: 0.2s ease;
}
.add-product-modal .dropzone .dz-message .upload-button:hover {
    background-color: #e5e7eb;
}

.add-product-modal .dropzone .dz-message .upload-button i{
    font-size: 1.25rem !important;
    margin-right: 0.25rem;
}