/**
 * Splynx Tariffs Frontend Styles
 * Note: Removed Google Fonts import to prevent potential conflicts
 */

/* Widget Container */
.splynx-tariffs-widget {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--splynx-font-color, #333);
}

/* Widget Header */
.splynx-widget-header {
    margin-bottom: 2rem;
    text-align: center;
}

.splynx-widget-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--splynx-primary-color, #2e94d1);
}

.splynx-widget-header .splynx-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--splynx-font-color, #333);
}

.splynx-widget-header .splynx-coverage-note {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.5rem;
}

/* FNO Carousel */
.splynx-fno-carousel-container {
    position: relative;
    margin-bottom: 3rem;
}

.splynx-fno-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
    align-items: stretch;
    background: #f8f9fa;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.splynx-fno-carousel::-webkit-scrollbar {
    display: none;
}

.splynx-fno-card {
    position: relative;
    flex: 0 0 180px;
    width: 180px;
    height: 180px;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    background: #f8f9fa;
    color: #6c757d;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.splynx-fno-card.active {
    background: var(--splynx-primary-color, #17a2b8);
    color: white;
    transform: none;
    box-shadow: none;
}

.splynx-fno-card:hover:not(.active) {
    background: #e9ecef;
    transform: none;
}

.splynx-fno-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.splynx-fno-logo {
    margin-bottom: 0.5rem;
    height: 140px;
    width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto 0.5rem auto;
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 70px !important;
    padding: 8px;
    box-sizing: border-box;
    overflow: hidden;
}

.splynx-fno-image {
    width: 130px;
    height: 130px;
    border-radius: 65px !important;
    object-fit: contain;
    object-position: center;
    transition: all 0.3s ease;
    filter: grayscale(100%) opacity(0.7);
    border: 3px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.9);
    padding: 0;
}

.splynx-fno-card.active .splynx-fno-image {
    filter: grayscale(0%) opacity(1) brightness(1.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.splynx-fno-card:hover:not(.active) .splynx-fno-image {
    filter: grayscale(50%) opacity(0.8);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.02);
}

.splynx-fno-card.active .splynx-fno-logo {
    border-color: rgba(255, 255, 255, 0.8);
}

.splynx-fno-card:hover:not(.active) .splynx-fno-logo {
    border-color: rgba(255, 255, 255, 0.6);
}

/* Text fallback when no FNO logo is available */
.splynx-fno-text-fallback {
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 65px !important;
    width: 130px;
    height: 130px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    word-wrap: break-word;
    line-height: 1.1;
    margin: 0 auto;
    transition: all 0.3s ease;
    padding: 0;
    box-sizing: border-box;
}

.splynx-fno-divider {
    width: 60%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0.5rem auto;
    transition: all 0.3s ease;
    display: none;
}

.splynx-fno-card.active .splynx-fno-divider {
    background: rgba(255, 255, 255, 0.6);
    width: 80%;
}

.splynx-fno-card:hover:not(.active) .splynx-fno-divider {
    background: rgba(255, 255, 255, 0.4);
    width: 70%;
}

.splynx-fno-info {
    margin-top: 0;
    text-align: center;
    width: 100%;
}

.splynx-installation-time {
    font-size: 12px;
    margin: 0;
    opacity: 0.8;
    line-height: 1.3;
    display: none;
}

.splynx-fno-card.active .splynx-installation-time {
    opacity: 1;
}

.splynx-fno-placeholder {
    display: none;
}

.splynx-fno-card:hover .splynx-fno-placeholder {
    display: none;
}

.splynx-fno-card.active .splynx-fno-placeholder {
    display: none;
}

.splynx-fno-placeholder .splynx-fno-name {
    display: none;
}

.splynx-fno-info {
    transition: all 0.3s ease;
}

.splynx-fno-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.splynx-installation-time {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.splynx-fno-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.splynx-installation-time {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

.splynx-fno-card.active .splynx-installation-time {
    color: rgba(255, 255, 255, 0.9);
}

/* Carousel Navigation - Hidden for horizontal tab-style design */
.splynx-carousel-nav {
    display: none;
}

/* Package Card Pricing Styles */
.splynx-package-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.splynx-package-header {
    margin-bottom: 1rem;
}

.splynx-package-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.splynx-currency {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.splynx-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.splynx-period {
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
    margin-left: 0.25rem;
}

.splynx-vat-notice {
    font-size: 0.75rem;
    font-weight: 500;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
    padding: 0.125rem 0.375rem;
    background: #f8f9fa;
    border-radius: 3px;
    border: 1px solid #e9ecef;
}

.splynx-vat-notice-small {
    font-size: 0.625rem;
    font-weight: 500;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-left: 0.25rem;
}

.splynx-popular-badge {
    display: inline-block;
    background: #28a745;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Packages Section */
.splynx-packages-section {
    margin-top: 5rem;
}

.splynx-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.splynx-packages-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--splynx-primary-color, #2e94d1);
    margin: 0;
}

.splynx-selected-fno-name {
    color: var(--splynx-primary-color, #2e94d1);
}

/* Package Filters */
.splynx-package-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.splynx-filter-group {
    min-width: 150px;
}

.splynx-filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.splynx-filter-select:focus {
    outline: none;
    border-color: var(--splynx-primary-color, #2e94d1);
}

/* Loading State */
.splynx-loading {
    text-align: center;
    padding: 3rem;
}

.splynx-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--splynx-primary-color, #2e94d1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* SLA Definition Display */
.splynx-sla-definition {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.splynx-sla-content {
    text-align: center;
}

.splynx-sla-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.splynx-sla-description {
    font-size: 0.95rem;
    color: #475569;
    margin: 0;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Packages Grid - Modern Design */
.splynx-packages-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 1rem;
}

/* Grid Layouts Based on Settings */
.splynx-packages-grid.columns-desktop-1 { grid-template-columns: 1fr; }
.splynx-packages-grid.columns-desktop-2 { grid-template-columns: repeat(2, 1fr); }
.splynx-packages-grid.columns-desktop-3 { grid-template-columns: repeat(3, 1fr); }
.splynx-packages-grid.columns-desktop-4 { grid-template-columns: repeat(4, 1fr); }
.splynx-packages-grid.columns-desktop-5 { grid-template-columns: repeat(5, 1fr); }
.splynx-packages-grid.columns-desktop-6 { grid-template-columns: repeat(6, 1fr); }

/* Tablet Layout */
@media (max-width: 1024px) {
    .splynx-packages-grid.columns-tablet-1 { grid-template-columns: 1fr !important; }
    .splynx-packages-grid.columns-tablet-2 { grid-template-columns: repeat(2, 1fr) !important; }
    .splynx-packages-grid.columns-tablet-3 { grid-template-columns: repeat(3, 1fr) !important; }
    .splynx-packages-grid.columns-tablet-4 { grid-template-columns: repeat(4, 1fr) !important; }
}

/* Mobile Layout */
@media (max-width: 768px) {
    .splynx-packages-grid.columns-mobile-1 { grid-template-columns: 1fr !important; }
    .splynx-packages-grid.columns-mobile-2 { grid-template-columns: repeat(2, 1fr) !important; }
    .splynx-packages-grid.columns-mobile-3 { grid-template-columns: repeat(3, 1fr) !important; }
}

/* Tariff Cards - Modern Design */
.splynx-tariff-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    backdrop-filter: blur(10px);
}

.splynx-tariff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--sla-color, var(--splynx-primary-color, #2e94d1)) 0%,
        color-mix(in srgb, var(--sla-color, var(--splynx-primary-color, #2e94d1)) 80%, transparent) 100%);
    z-index: 1;
}

.splynx-tariff-card:hover {
    border-color: var(--sla-color, var(--splynx-primary-color, #2e94d1));
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        0 0 0 1px var(--sla-color, var(--splynx-primary-color, #2e94d1)) inset;
    transform: translateY(-8px) scale(1.02);
}

.splynx-tariff-card:hover::before {
    height: 6px;
    background: linear-gradient(90deg, 
        var(--sla-color, var(--splynx-primary-color, #2e94d1)) 0%,
        color-mix(in srgb, var(--sla-color, var(--splynx-primary-color, #2e94d1)) 60%, #ffffff) 100%);
}

/* New Header Layout - FNO logo left, badges stacked right */
.splynx-header-layout {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 3;
    min-height: 3rem;
}

/* FNO Section - Left side */
.splynx-fno-section {
    display: flex;
    align-items: center;
}

/* Stacked Badges - Right side */
.splynx-header-badges-stacked {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

/* Priority Chip - Stacked (smaller) */
.splynx-priority-chip {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.65rem;
    font-weight: 600;
    z-index: 5;
    box-shadow: 
        0 2px 4px rgba(245, 158, 11, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    backdrop-filter: blur(10px);
    min-width: 2.5rem;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
}

/* SLA Badge - Stacked (smaller) */
.splynx-sla-badge.splynx-sla-stacked {
    background: linear-gradient(135deg, 
        var(--sla-color, var(--splynx-primary-color, #2e94d1)) 0%,
        color-mix(in srgb, var(--sla-color, var(--splynx-primary-color, #2e94d1)) 80%, #ffffff) 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Legacy styles for backward compatibility */
.splynx-header-badges {
    display: none; /* Hide old layout */
}

.splynx-sla-badge.splynx-sla-right {
    display: none; /* Hide old right badge */
}

/* Hide the old left SLA badge and package badge */
.splynx-sla-badge.splynx-sla-left,
.splynx-package-badge.splynx-package-right {
    display: none !important;
}

/* Legacy SLA Badge - Modern Design (hidden by template) */
.splynx-sla-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: linear-gradient(135deg, 
        var(--sla-color, var(--splynx-primary-color, #2e94d1)) 0%,
        color-mix(in srgb, var(--sla-color, var(--splynx-primary-color, #2e94d1)) 80%, #ffffff) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    backdrop-filter: blur(10px);
}

/* Card Header - Modern Design with Better Spacing */
.splynx-card-header {
    padding: 4.5rem 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    position: relative;
    overflow: hidden;
    min-height: 70px;
}

.splynx-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, 
        rgba(var(--sla-color-rgb, 46, 148, 209), 0.03) 0%, 
        transparent 50%);
    pointer-events: none;
}

.splynx-card-provider {
    font-size: 0.875rem;
    color: var(--sla-color, var(--splynx-primary-color, #2e94d1));
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    padding-top: 0.5rem;
}

/* FNO Logo sizing for tariff cards - optimized for top-left placement */
.splynx-tariff-card .splynx-fno-logo {
    max-height: 65px;
    max-width: 170px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.splynx-tariff-card .splynx-fno-provider {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    background: transparent;
}

.splynx-tariff-card .splynx-card-provider {
    font-size: 0.875rem;
    color: var(--sla-color, var(--splynx-primary-color, #2e94d1));
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.splynx-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 1.5rem;
    line-height: 1.4;
    color: #1e293b;
    position: relative;
    z-index: 1;
    padding-top: 0.25rem;
}

.splynx-card-description {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Card Body - Modern Design */
.splynx-card-body {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.splynx-card-price {
    margin-bottom: 2.5rem;
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, 
        rgba(var(--sla-color-rgb, 46, 148, 209), 0.08) 0%, 
        rgba(var(--sla-color-rgb, 46, 148, 209), 0.02) 100%);
    border-radius: 1rem;
    border: 1px solid rgba(var(--sla-color-rgb, 46, 148, 209), 0.1);
    position: relative;
    overflow: visible;
}

.splynx-card-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, 
        rgba(var(--sla-color-rgb, 46, 148, 209), 0.05) 0%, 
        transparent 70%);
    pointer-events: none;
}

.splynx-price-amount {
    font-size: 1.6rem;
    font-weight: 900;
    background: linear-gradient(135deg, 
        var(--sla-color, var(--splynx-primary-color, #2e94d1)) 0%,
        color-mix(in srgb, var(--sla-color, var(--splynx-primary-color, #2e94d1)) 70%, #1e293b) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    position: relative;
    z-index: 1;
    overflow: visible;
    white-space: normal;
    word-break: break-word;
    line-height: 1.1;
    padding: 0 0.25rem;
}

.splynx-price-period {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.splynx-vat-notice {
    font-size: 0.75rem;
    font-weight: 500;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
    padding: 0.125rem 0.375rem;
    background: #f8f9fa;
    border-radius: 3px;
    border: 1px solid #e9ecef;
    position: relative;
    z-index: 1;
}

/* Installation charge display */
.splynx-card-installation {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.08) 0%, rgba(108, 117, 125, 0.02) 100%);
    border-radius: 0.75rem;
    border: 1px solid rgba(108, 117, 125, 0.15);
}

.splynx-installation-label {
    font-size: 0.875rem;
    color: #6c757d;
    margin-right: 0.5rem;
    font-weight: 500;
}

.splynx-installation-amount {
    font-size: 1.125rem;
    font-weight: 700;
    color: #495057;
}

/* Card Features - Modern Design */
.splynx-card-features {
    margin-bottom: 2rem;
    display: grid;
    gap: 1rem;
}

.splynx-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.splynx-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, 
        var(--sla-color, var(--splynx-primary-color, #2e94d1)) 0%,
        color-mix(in srgb, var(--sla-color, var(--splynx-primary-color, #2e94d1)) 60%, transparent) 100%);
    transition: width 0.3s ease;
}

.splynx-feature:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 0.95) 100%);
    border-color: rgba(var(--sla-color-rgb, 46, 148, 209), 0.3);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.splynx-feature:hover::before {
    width: 6px;
}

.splynx-feature-icon {
    font-size: 1.5rem;
    opacity: 0.9;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    flex-shrink: 0;
}

.splynx-feature-content {
    flex: 1;
    min-width: 0;
}

.splynx-feature-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    display: block;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.splynx-feature-value {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    display: block;
}

.splynx-feature-value small {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    margin-left: 0.25rem;
}

.splynx-feature-content {
    flex: 1;
}

.splynx-feature-label {
    display: block;
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

.splynx-feature-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--splynx-font-color, #333);
}

.splynx-feature-value small {
    font-weight: 400;
    color: #666;
}

/* Setup Fee */
.splynx-card-setup-fee {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.splynx-card-setup-fee small {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

/* Installation ETA */
.splynx-card-installation-eta {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    border-radius: 0.75rem;
    text-align: center;
}

.splynx-card-installation-eta small {
    font-size: 0.875rem;
    color: #0369a1;
    font-weight: 500;
}

/* Speed features container - side by side layout */
.splynx-feature-speeds .splynx-speeds-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.splynx-feature-speeds .splynx-speed-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 120px;
}

.splynx-feature-speeds .splynx-speed-item .splynx-feature-icon {
    font-size: 1.2em;
}

.splynx-feature-speeds .splynx-speed-item .splynx-feature-content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.splynx-feature-speeds .splynx-speed-item .splynx-feature-label {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.splynx-feature-speeds .splynx-speed-item .splynx-feature-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--splynx-primary-color, #2e94d1);
}

/* FNO provider section */
.splynx-fno-provider {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.75rem;
    min-height: 50px;
}

.splynx-fno-logo {
    max-height: 50px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/* Hide FNO name text completely */
.splynx-fno-name {
    display: none;
}

/* Installation feature styling */
.splynx-feature-installation .splynx-feature-value {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Responsive adjustments for speed container */
@media (max-width: 480px) {
    .splynx-feature-speeds .splynx-speeds-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .splynx-feature-speeds .splynx-speed-item {
        min-width: unset;
    }
}

/* Card Footer - Modern Design */
.splynx-card-footer {
    padding: 0 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.5);
}

/* Buttons - Modern Design */
.splynx-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    min-height: 48px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.splynx-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.splynx-button:hover::before {
    left: 100%;
}

.splynx-button-primary {
    background: linear-gradient(135deg, 
        var(--sla-color, var(--splynx-primary-color, #2e94d1)) 0%,
        color-mix(in srgb, var(--sla-color, var(--splynx-primary-color, #2e94d1)) 80%, #1e293b) 100%);
    color: white;
    border-color: var(--sla-color, var(--splynx-primary-color, #2e94d1));
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.splynx-button-primary:hover {
    background: linear-gradient(135deg, 
        color-mix(in srgb, var(--sla-color, var(--splynx-primary-color, #2e94d1)) 90%, #000000) 0%,
        color-mix(in srgb, var(--sla-color, var(--splynx-primary-color, #2e94d1)) 70%, #1e293b) 100%);
    border-color: color-mix(in srgb, var(--sla-color, var(--splynx-primary-color, #2e94d1)) 90%, #000000);
    color: white;
    transform: translateY(-2px);
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.splynx-button-text {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%);
    color: var(--sla-color, var(--splynx-primary-color, #2e94d1));
    border: 1px solid rgba(var(--sla-color-rgb, 46, 148, 209), 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.splynx-button-text:hover {
    background: linear-gradient(135deg, 
        rgba(var(--sla-color-rgb, 46, 148, 209), 0.1) 0%, 
        rgba(var(--sla-color-rgb, 46, 148, 209), 0.05) 100%);
    color: var(--sla-color, var(--splynx-primary-color, #2e94d1));
    border-color: rgba(var(--sla-color-rgb, 46, 148, 209), 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.splynx-clear-filters {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
}

.splynx-clear-filters:hover {
    background: #5a6268;
    border-color: #5a6268;
    color: white;
}

/* No Results */
.splynx-no-results {
    text-align: center;
    padding: 3rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    margin: 2rem 0;
}

.splynx-no-results-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--splynx-font-color, #333);
}

.splynx-no-results-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .splynx-section-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .splynx-package-filters {
        justify-content: center;
    }
    
    .splynx-carousel-nav {
        display: none;
    }
    
    .splynx-fno-carousel {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .splynx-fno-card {
        min-width: 200px;
        padding: 1.25rem 1rem;
    }
    
    .splynx-fno-card:hover {
        transform: translateY(-6px) scale(1.01);
    }
    
    .splynx-fno-card.active {
        transform: translateY(-3px) scale(1.03);
    }
}

@media (max-width: 768px) {
    .splynx-widget-header h2 {
        font-size: 2rem;
    }
    
    .splynx-packages-title {
        font-size: 1.5rem;
    }
    
    .splynx-fno-card {
        min-width: 160px;
        padding: 1rem 0.75rem;
        min-height: 140px;
    }
    
    .splynx-fno-card:hover {
        transform: translateY(-4px) scale(1.005);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }
    
    .splynx-fno-card.active {
        transform: translateY(-2px) scale(1.02);
    }
    
    .splynx-fno-logo {
        height: 100px;
        width: 100px;
        margin-bottom: 0.75rem;
    }
    
    .splynx-fno-image {
        width: 90px;
        height: 90px;
        border-radius: 45px !important;
    }
    
    .splynx-fno-text-fallback {
        width: 90px;
        height: 90px;
        border-radius: 45px !important;
        font-size: 12px;
    }
    
    .splynx-fno-name {
        font-size: 1.1rem;
    }
    
    .splynx-installation-time {
        font-size: 0.8rem;
    }
    
    .splynx-package-filters {
        flex-direction: column;
    }
    
/* Add smooth loading animation for cards */
@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.splynx-fno-card {
    animation: cardEntrance 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.splynx-fno-card:nth-child(2) { animation-delay: 0.1s; }
.splynx-fno-card:nth-child(3) { animation-delay: 0.2s; }
.splynx-fno-card:nth-child(4) { animation-delay: 0.3s; }
.splynx-fno-card:nth-child(5) { animation-delay: 0.4s; }

/* Enhanced focus styles for accessibility */
.splynx-fno-card:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 148, 209, 0.3), 0 16px 48px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px) scale(1.05);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .splynx-fno-card {
        transition: none;
        animation: none;
    }
    
    .splynx-fno-card:hover,
    .splynx-fno-card.active {
        transform: none;
    }

}

/* Prevent body scroll when modal is open */
body.splynx-modal-open {
    overflow: hidden !important;
    position: relative !important;
}

/* Modern Form Modal Styles - Ultra Strong Specificity */
html body #splynx-form-modal.splynx-modal-overlay,
body #splynx-form-modal.splynx-modal-overlay,
#splynx-form-modal.splynx-modal-overlay,
.splynx-modal-overlay#splynx-form-modal,
div#splynx-form-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 20px !important;
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    z-index: 2147483647 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

html body #splynx-form-modal.splynx-modal-overlay.active,
body #splynx-form-modal.splynx-modal-overlay.active,
#splynx-form-modal.splynx-modal-overlay.active,
.splynx-modal-overlay#splynx-form-modal.active,
div#splynx-form-modal.active {
    opacity: 1 !important;
    visibility: visible !important;
}

body #splynx-form-modal .splynx-modal-content,
html body #splynx-form-modal .splynx-modal-content,
#splynx-form-modal .splynx-modal-content {
    background: white !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
    max-width: 520px !important;
    width: 100% !important;
    max-height: 85vh !important;
    overflow: hidden !important;
    transform: translateY(30px) scale(0.9) !important;
    position: relative !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin: 0 !important;
    cursor: default !important;
}

body #splynx-form-modal.splynx-modal-overlay.active .splynx-modal-content,
html body #splynx-form-modal.splynx-modal-overlay.active .splynx-modal-content,
#splynx-form-modal.splynx-modal-overlay.active .splynx-modal-content {
    transform: translateY(0) scale(1) !important;
}

body #splynx-form-modal .splynx-modal-header,
html body #splynx-form-modal .splynx-modal-header,
#splynx-form-modal .splynx-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    padding: 24px 28px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-radius: 20px 20px 0 0 !important;
    margin: 0 !important;
}

.splynx-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: white;
}

.splynx-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.splynx-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.splynx-modal-body {
    padding: 32px 28px;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

/* Modal animations */
@keyframes splynx-modal-fade-in {
    to {
        opacity: 1;
    }
}

@keyframes splynx-modal-slide-in {
    to {
        transform: translateY(0);
    }
}

/* Responsive modal */
@media (max-width: 768px) {
    .splynx-modal-content {
        width: 95%;
        max-height: 90%;
        margin: 20px;
    }
    
    .splynx-modal-header {
        padding: 15px 20px;
    }
    
    .splynx-modal-header h3 {
        font-size: 16px;
    }
    
    .splynx-modal-body {
        padding: 20px;
        max-height: calc(90vh - 70px);
    }
}

/* Modern Contact Form Styles */
.splynx-contact-form {
    max-width: 100%;
}

.splynx-form-group {
    margin-bottom: 24px;
}

.splynx-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.splynx-form-group input,
.splynx-form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    background: #f9fafb;
}

.splynx-form-group input:focus,
.splynx-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.splynx-form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.splynx-contact-form .splynx-button {
    width: 100%;
    position: relative;
    min-height: 52px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 8px;
}

.splynx-contact-form .splynx-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.splynx-button-loading {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.splynx-form-messages {
    margin-top: 15px;
}

.splynx-success-message {
    padding: 12px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    color: #155724;
}

.splynx-error-message {
    padding: 12px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
}

.splynx-success-message p,
.splynx-error-message p {
    margin: 0;
}

.splynx-error-message small {
    opacity: 0.8;
    font-size: 12px;
}

/* Address Header Styles */
.splynx-address-header {
    text-align: center !important;
    margin: 3rem auto 2rem auto !important;
    padding: 0 1rem !important;
    max-width: 900px !important;
    width: 100% !important;
}

.splynx-address-header h3 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin: 0 0 1rem 0 !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

.splynx-address-header p {
    font-size: 1.2rem !important;
    color: #6b7280 !important;
    margin: 0 !important;
    font-weight: 500 !important;
    text-align: center !important;
}

/* Address Header */
.splynx-address-header {
    display: block !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
    background: white !important;
    position: relative !important;
    z-index: 200 !important;
}

.splynx-address-header h3 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 2.5rem !important;
    margin-bottom: 1rem !important;
}

.splynx-address-header p {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 1.1rem !important;
    margin-bottom: 2rem !important;
}

/* Address Search and Feasibility Styles */
.splynx-address-search,
.splynx-address-search-centered {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 auto 3rem auto !important;
    padding: 2rem 1rem 2rem 1rem !important;
    width: 100% !important;
    max-width: 1200px !important;
    text-align: center !important;
    animation: fadeInUp 0.6s ease-out;
    background: white !important;
    position: relative !important;
    z-index: 100 !important;
    min-height: 150px !important;
    float: none !important;
    clear: both !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* High priority overrides for search field centering and sizing */
.splynx-tariffs-widget .splynx-address-search,
.splynx-tariffs-widget .splynx-address-search-centered {
    display: block !important;
    text-align: center !important;
    margin: 0 auto 2rem auto !important;
    width: 100% !important;
}

.splynx-tariffs-widget .splynx-address-search .splynx-address-input {
    width: 100% !important;
    max-width: 700px !important;
    padding: 32px 70px 32px 40px !important;
    border-radius: 50px !important;
    font-size: 22px !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12) !important;
    text-align: center !important;
    margin: 0 auto !important;
}

.splynx-address-search-wrapper {
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

.splynx-address-input-container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1.5rem !important;
}

.splynx-address-input {
    width: 100% !important;
    max-width: 700px !important;
    padding: 32px 70px 32px 40px !important;
    border: 3px solid #e1e5e9 !important;
    border-radius: 50px !important;
    font-size: 22px !important;
    font-family: inherit !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    background: white !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12) !important;
    text-align: center !important;
    margin: 0 auto !important;
    display: block !important;
}

.splynx-address-input:focus {
    outline: none;
    border-color: var(--splynx-primary-color, #2e94d1);
    box-shadow: 0 8px 32px rgba(46, 148, 209, 0.25);
    transform: translateY(-3px);
}

.splynx-address-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
    font-size: 20px;
}

/* PlaceAutocompleteElement Styling (New Google Maps Component) */
gmp-place-autocomplete {
    width: 100% !important;
    max-width: 700px !important;
    padding: 32px 70px 32px 40px !important;
    border: 3px solid #e1e5e9 !important;
    border-radius: 50px !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    background: white !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12) !important;
    text-align: center !important;
    margin: 0 auto !important;
    display: block !important;
    font-family: inherit !important;
    outline: none !important;
    transition: all 0.3s ease !important;
}

gmp-place-autocomplete:focus {
    border-color: var(--splynx-primary-color, #2e94d1) !important;
    box-shadow: 0 8px 32px rgba(46, 148, 209, 0.15) !important;
    transform: translateY(-2px) !important;
}

/* Ensure PlaceAutocompleteElement inherits proper styling */
.splynx-address-input-container gmp-place-autocomplete {
    width: 100% !important;
    max-width: 700px !important;
}

/* Force visibility for address input - override any Google Maps interference */
.splynx-address-input-container .splynx-address-input,
.splynx-address-input-container input[type="text"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Ensure Google Places autocomplete doesn't hide the input */
.pac-container {
    z-index: 9999 !important;
}

.splynx-address-input-container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* New address input field - completely separate from Google Maps interference */
.splynx-new-address-input {
    width: 100% !important;
    max-width: 700px !important;
    padding: 32px 70px 32px 40px !important;
    border: 3px solid #e1e5e9 !important;
    border-radius: 50px !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    background: white !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12) !important;
    text-align: center !important;
    margin: 0 auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
    font-family: inherit !important;
    outline: none !important;
    transition: all 0.3s ease !important;
}

.splynx-new-address-input:focus {
    border-color: var(--splynx-primary-color, #2e94d1) !important;
    box-shadow: 0 8px 32px rgba(46, 148, 209, 0.25) !important;
    transform: translateY(-3px) !important;
}

.splynx-new-address-input::placeholder {
    color: #9ca3af !important;
    font-weight: 400 !important;
    font-size: 20px !important;
}

.splynx-address-clear {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: #f3f4f6;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    line-height: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.splynx-address-clear:hover {
    background: #e5e7eb;
    color: #374151;
    transform: translateY(-50%) scale(1.1);
}

.splynx-address-search {
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 100 !important;
    margin-bottom: 3rem !important;
    background: white !important;
    padding: 1rem 0 !important;
}

.splynx-address-search-wrapper {
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    z-index: 110 !important;
    display: block !important;
    margin-bottom: 2rem !important;
    background: white !important;
}

.splynx-address-input-container {
    position: relative !important;
    z-index: 120 !important;
    margin-bottom: 1.5rem !important;
    display: block !important;
    width: 100% !important;
    background: white !important;
}

.splynx-address-input {
    position: relative !important;
    z-index: 150 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 700px !important;
    padding: 32px 70px 32px 40px !important;
    border: 3px solid #e1e5e9 !important;
    border-radius: 50px !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    background: white !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12) !important;
    text-align: center !important;
    margin: 0 auto !important;
}

.splynx-map-container {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transition: all 0.3s ease;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 1200px !important;
    position: relative !important;
    z-index: 1 !important;
    clear: both !important;
    float: none !important;
    border-top: 3px solid #f0f0f0 !important;
    padding-top: 2rem !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

.splynx-map {
    width: 100% !important;
    height: 1200px !important;
    min-height: 1200px !important;
    max-height: 1400px;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
    background: #f8f9fa;
    position: relative !important;
    display: block !important;
    visibility: visible !important;
}

.splynx-map-info {
    max-width: 250px;
    text-align: center;
}

.splynx-map-info h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.splynx-map-info p {
    margin: 0 0 4px 0;
    font-size: 13px;
    line-height: 1.3;
}

.splynx-map-info small {
    color: #6b7280;
    font-size: 11px;
}

/* Make map markers appear draggable */
.splynx-map gmp-advanced-marker {
    cursor: move !important;
}

.splynx-map gmp-advanced-marker:hover {
    cursor: grab !important;
}

.splynx-map gmp-advanced-marker:active {
    cursor: grabbing !important;
}

/* Enhanced styling for success info window */
.splynx-map-info .success-celebration {
    animation: celebrationPulse 2s ease-in-out;
}

@keyframes celebrationPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.02); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

/* Highlight effect for packages section when scrolled to */
.splynx-packages-section.highlight-section {
    animation: highlightGlow 2s ease-in-out;
    border-radius: 8px;
}

@keyframes highlightGlow {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 20px rgba(16, 185, 129, 0.1), 0 0 30px rgba(16, 185, 129, 0.3); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.splynx-mini-progress {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.splynx-mini-progress-bar {
    width: 120px;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.splynx-mini-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--splynx-primary-color, #2e94d1) 0%, 
        #4ade80 100%);
    border-radius: 6px;
    animation: miniProgressSlide 1.5s ease-in-out infinite;
}

@keyframes miniProgressSlide {
    0% { width: 0%; }
    50% { width: 80%; }
    100% { width: 100%; }
}

.splynx-feasibility-status {
    text-align: center;
    padding: 1rem;
}

.splynx-feasibility-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    border: 2px solid #e1e5e9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin: 1rem 0;
}

.splynx-progress-container {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.splynx-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.splynx-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--splynx-primary-color, #2e94d1) 0%, 
        #4ade80 50%, 
        var(--splynx-primary-color, #2e94d1) 100%);
    border-radius: 10px;
    position: relative;
    animation: progressSlide 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(46, 148, 209, 0.4);
}

.splynx-progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
    animation: shimmer 1.5s ease-in-out infinite;
}

.splynx-progress-text {
    color: var(--splynx-primary-color, #2e94d1);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    opacity: 0.9;
}

@keyframes progressSlide {
    0% {
        width: 0%;
        transform: translateX(0);
    }
    50% {
        width: 70%;
        transform: translateX(0);
    }
    100% {
        width: 100%;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.splynx-coverage-available {
    background: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #c3e6cb;
    font-weight: 500;
}

.splynx-no-coverage {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
    font-weight: 500;
}

.splynx-feasibility-error {
    background: #fff3cd;
    color: #856404;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #ffeaa7;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .splynx-address-header h3 {
        font-size: 2rem;
    }
    
    .splynx-address-header p {
        font-size: 1rem;
    }
    
    .splynx-address-search-centered {
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .splynx-address-search-wrapper {
        max-width: 100%;
    }
    
    .splynx-map {
        height: 300px;
        margin: 0.5rem 0;
        border-radius: 8px;
    }
    
    .splynx-map-container {
        margin-bottom: 1rem;
    }
    
    .splynx-address-input {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 24px 55px 24px 24px;
        border-radius: 35px;
        max-width: 95%;
    }
    
    .splynx-address-clear {
        right: calc(2.5% + 15px);
        width: 30px;
        height: 30px;
        font-size: 20px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .splynx-address-header {
        margin: 2rem auto 1.5rem auto;
    }
    
    .splynx-address-header h3 {
        font-size: 1.75rem;
    }
    
    .splynx-address-input {
        padding: 20px 50px 20px 20px;
        font-size: 16px;
        border-radius: 30px;
    }
    
    .splynx-address-clear {
        right: calc(2.5% + 12px);
        width: 28px;
        height: 28px;
        font-size: 18px;
    }
}

/* Initial State Message Styles */
.splynx-initial-message {
    text-align: center;
    padding: 3rem 1rem;
    margin: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    color: #495057;
}

.splynx-initial-content h3 {
    color: #212529;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
}

.splynx-initial-content p {
    font-size: 1.1rem;
    margin: 1rem 0;
    line-height: 1.6;
}

.splynx-initial-content p:first-of-type {
    margin-top: 0;
}

.splynx-or-divider {
    color: #6c757d;
    font-weight: 500;
    font-style: italic;
    margin: 1.5rem 0 !important;
}

@media (max-width: 768px) {
    .splynx-initial-message {
        padding: 2rem 1rem;
        margin: 1.5rem 0;
    }
    
    .splynx-initial-content h3 {
        font-size: 1.25rem;
    }
    
    .splynx-initial-content p {
        font-size: 1rem;
    }
}

}