.shipping-configuration-sections-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
}

.shipping-configuration-sections-wrapper .fi-section-header-heading {
    font-size: 22px;
    margin-bottom: 4px;
}

/* SHIPPING - STORE LOCATIONS */

.main-store-badge {
    background-color: #353c46;
    color: white;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 9999px;
    margin-left: 8px;
    vertical-align: middle;
}

.location-eligible-for-platform-delivery-badge {
    display: inline-block;
    background-color: #1EEBC6;
    color: #000;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 9999px;
    margin-top: 12px;
}

.badge-button {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border: 2px solid transparent;
    user-select: none;
}

.badge-button.active {
    background-color: #1EEBC6;
    color: #000;
    border-color: #1EEBC6;
}

.badge-button.inactive {
    background-color: #e5e7eb;
    color: #374151;
    border-color: #9ca3af;
}

.badge-button.inactive:hover {
    background-color: #d1d5db;
}


/* SHIPPING METHODS SELECTOR */

/* Wrapper and Grid */
.shipping-method-selector-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.shipping-method-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Card box */
.shipping-method-box {
    padding: 1.2rem;
    border-radius: 12px;
    border: 1.5px solid transparent;
    transition: border-color 0.25s ease, background-color 0.25s ease;
    background-color: #f8fafc;
    color: #1f2937;
}

.shipping-method-box.enabled {
    border-color: #1EEBC6;
    background-color: #fff;
    /*background-color: #ecfdf5;*/
}

.shipping-method-box.disabled {
    border-color: #e5e7eb;
    background-color: #f8fafc;
    opacity: 0.7;
}

/* Header */
.shipping-method-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.shipping-method-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

/* Toggle Button */
.shipping-method-toggle {
    padding: 6px 14px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: background-color 0.25s, transform 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    outline: none;
}

.shipping-method-toggle.off {
    background-color: #dc2626;
    color: #fff;
}

.shipping-method-toggle.on {
    background-color: #1EEBC6;
    color: #000;
}

/* Content */
.shipping-method-content {
    max-width: 860px;
}


/* Description */
.shipping-method-description {
    font-size: 0.95rem;
    color: #374151;
    margin-top: 0.25rem;
    line-height: 1.5;
}

/* Alerts */
.shipping-alert-error {
    display: flex;
    gap: 4px;
    text-align: center;
    background-color: #fee2e2;
    color: #991b1b;
    padding: 0.75rem 1rem;
    border-left: 4px solid #dc2626;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
}

.shipping-method-alert-warning {
    display: flex;
    gap: 4px;
    text-align: center;
    background-color: #fff3cd;
    color: #3b2c02;
    padding: 0.75rem 1rem;
    border-left: 4px solid #3b2c02;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    margin-top: 12px;
}

.shipping-method-alert-warning span {
    display: inline-block;
}

/* Dark mode */
html.dark .shipping-method-box.enabled {
   /* background-color: #052e16;*/
    background-color: #18181B;
    border-color: #1EEBC6;
    color: #e5e7eb;
}

html.dark .shipping-method-box.disabled {
    background-color: #18181B;
    border-color: #4b5563;
    color: #cbd5e1;
    opacity: 0.6;
}

html.dark .shipping-method-title {
    color: #f3f4f6;
}

html.dark .shipping-method-description {
    color: #9ca3af;
}

html.dark .shipping-method-title {
    color: #f1f5f9;
}

html.dark .shipping-method-description {
    color: #cbd5e1;
}

html.dark .shipping-method-toggle.off {
    background-color: #ef4444;
    color: #fff;
}

html.dark .shipping-method-toggle.on {
    background-color: #1EEBC6;
    color: #000;
}

html.dark .shipping-alert-error {
    background-color: #450a0a;
    color: #f87171;
    border-left-color: #dc2626;
}

.shipping-method-no-configure-badge {
    background-color: #f3f4f6;
    color: #1f2937;
    border: 1px solid #d1d5db;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
}

.shipping-method-configure {
    background-color: #f3f4f6;
    color: #1f2937;
    border: 1px solid #d1d5db;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.shipping-method-configure:hover {
    background-color: #e5e7eb;
    transform: scale(1.03);
}

html.dark .shipping-method-configure {
    background-color: #374151;
    color: #f3f4f6;
    border-color: #4b5563;
}

html.dark .shipping-method-configure:hover {
    background-color: #4b5563;
}

.shipping-method-form {
    margin-top: 32px;
}

.shipping-method-form .save-btn {
    margin-top: 24px;
    background-color: #28a745; /* bright green */
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.2s ease;
}

.shipping-method-form .save-btn:hover {
    background-color: #218838; /* slightly darker on hover */
}

.suggest-zones-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #111111;
    background-color: #ffffff;
    border: 1px solid #d1d5db; /* light gray */
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.suggest-zones-btn:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.suggest-zones-btn svg {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

.alert.alert-success {
    margin-top: 12px;
    padding: 0.6rem 1.2rem;
    border: 1px solid #c6f6d5;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #276749;
    background-color: #f0fdf4;
    width: 400px;
    display: flex;
    gap: 4px;
    align-items: center;
}
