.app-main {
    background: linear-gradient(135deg, #22473b 0%, #2b5b4c 45%, #74bb75 100%) !important;
}

.main-header-title, .main-header-bottom .active{
    color: white !important;
}

/* Header layout */
.strongesim-header {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

/* Tabs */
.strongesim-tabs-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.strongesim-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    background: #f5f7fa;
    color: #333;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid #e1e5ea;
    transition: all 0.2s ease-in-out;
    min-width: 140px;
    justify-content: center;
}

.strongesim-tab i {
    font-size: 16px;
    color: #666;
}

.strongesim-tab:hover {
    background: #eef2f7;
}

.strongesim-tab.active {
    background: #337ab7;
    border-color: #337ab7;
    color: #fff;
}

.strongesim-tab.active i {
    color: #fff;
}

/* Back button */
.strongesim-back {
    white-space: nowrap;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .strongesim-header {
        flex-direction: column;
        align-items: stretch;
    }

    .strongesim-back {
        text-align: left;
        margin-top: 10px;
    }

    /* Keep tabs 50-50 on mobile */
    .strongesim-tabs-container {
        display: flex;
    }

    .strongesim-tab {
        flex: 1;
        min-width: 0;
        text-align: center;
    }
}

.strongesim-country-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    text-align: left;
}

.strongesim-flag {
    width: 28px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 0 2px rgba(0,0,0,.25);
    flex-shrink: 0;
}

.strongesim-plan-card {
    border-radius: 10px;
    transition: all 0.2s ease-in-out;
    padding: 20px;
    border: 1px solid #8080804d;
    border-radius: 5px;
}

.strongesim-plan-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.strongesim-features li {
    margin-bottom: 6px;
    font-size: 14px;
}

.strongesim-features i {
    width: 18px;
    color: #75bb76;
}

/* Country list container */
.strongesim-country-list {
    margin-top: 50px;
}

/* Country card */
.strongesim-country-card {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 20px 16px;
    margin-bottom: 15px;

    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;

    color: #111827;
    text-decoration: none;

    transition: all 0.2s ease-in-out;
}

/* Hover effect */
.strongesim-country-card:hover {
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}

/* Flag */
.strongesim-flag {
    width: 32px;
    height: 24px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}

/* Country name */
.strongesim-country-name {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
}

/* Mobile fine-tuning */
@media (max-width: 767px) {
    .strongesim-country-card {
        padding: 12px 14px;
    }
}

/* Active tab – GREEN */
.strongesim-tab.active {
    background: #74bb76;
    color: #ffffff;
    border-color: #74bb76;
}

/* Icons */
.strongesim-tab i {
    font-size: 14px;
}

/* Back link */
.strongesim-back a {
    font-size: 14px;
    color: white !important;
    text-decoration: none;
}

.strongesim-back a:hover {
    text-decoration: underline;
}

/* Search wrapper */
.strongesim-search-wrapper {
    position: relative;
    max-width: 100%;
    margin-left: auto;
}

/* Search icon */
.strongesim-search-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0.6;
}

/* Search input */
.strongesim-search-input {
    padding-left: 32px;
    height: 36px;
    font-size: 14px;
}

/* Mobile center */
@media (max-width: 767px) {
    .strongesim-search-wrapper {
        margin: 10px auto 0;
    }
}

.strongesim-pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.strongesim-pagination-wrap .pagination {
    margin: 0;
}

.strongesim-regions{
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 15px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #1e4438;
    display: flex;
    width: 100%;   
}

.strongesim-regions {
    display: flex;
    align-items: center;
    gap: 8px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    width: 100%;
    margin-bottom: 0px !important;
}

.strongesim-regions i {
    flex-shrink: 0;
}

.strongesim-regions span,
.strongesim-regions:not(span) {
    overflow: hidden;
    text-overflow: ellipsis;
}

.strongesim-tabs-centered {
    display: inline-flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.strongesim-results-meta {
    margin-bottom: 10px;
    font-size: 13px;
}

.strongesim-search-wrapper {
    position: relative;
    max-width: 100%;
    width: 100%;
}

.strongesim-search-input {
    height: 48px;
    border-radius: 10px;
    font-size: 14px;
    padding: 0px 30px 0px 40px;
}

.strongesim-search-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 14px;
    pointer-events: none;
}

.strongesim-search-clear {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    font-size: 18px;
    color: #9ca3af;
    cursor: pointer;
    display: none;
}

.strongesim-search-input:not(:placeholder-shown) + .strongesim-search-clear {
    display: block;
}

.strongesim-price {
    margin: 10px 0;
}

.strongesim-price-main {
    display: inline-flex;
    align-items: flex-start; /* KEY FIX */
    justify-content: center;
    gap: 4px;
    font-weight: 700;
    color: #2f855a;
}

.strongesim-price-currency {
    font-size: 14px;
    position: relative;
    top: 3px;
}

.strongesim-price-value {
    font-size: 30px;
    line-height: 1;
}

.strongesim-plan-header {
    margin-bottom: 10px;
}

.strongesim-data-size {
    font-weight: 700;
    margin-bottom: 5px;
}

.strongesim-features li {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 14px;
}

.strongesim-features i {
    color: #2f855a;
    width: 16px;
}

.strongesim-price-main {
    display: inline-flex;
    align-items: flex-start;
    gap: 4px;
    color: #2f855a;
}

.strongesim-price-currency {
    font-size: 16px;
    margin-top: 4px;
}

.strongesim-price-value {
    font-size: 30px;
    font-weight: 700;
}

.strongesim-plan-cta {
    margin-top: 10px;
}

.strongesim-badge-best {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #16a34a;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    z-index: 2;
}

.strongesim-highlight {
    border: 2px solid #16a34a;
    box-shadow: 0 0 0 2px rgba(22,163,74,0.15);
}

.strongesim-highlight:hover {
    transform: translateY(-4px);
}

/* FULL WIDTH CHECKOUT */
.strongesim-checkout-wrap {
    background: linear-gradient(135deg, #eafff0, #f6fff9);
    padding: 50px 15px;
    border: 1px solid #d3d3d352;
}

.strongesim-checkout-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* TITLE */
.strongesim-checkout-title {
    font-weight: 500;
    margin-bottom: 20px;
}

/* SUMMARY LIST */
.strongesim-summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.strongesim-summary-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #d8eadf;
    font-size: 15px;
}

.strongesim-summary-list li span {
    color: #4b6f5d;
}

.strongesim-summary-list li strong {
    color: #1b5e20;
}

/* RIGHT BOX */
.strongesim-checkout-box {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    text-align: center;
}

.strongesim-total-label {
    font-size: 14px;
    color: #6b8f7a;
}

.strongesim-total-amount {
    font-size: 36px;
    font-weight: 700;
    color: #2e7d32;
    margin: 10px 0;
}

.strongesim-total-sub {
    color: #7b8f86;
    font-size: 14px;
    margin-bottom: 15px;
}

.strongesim-checkout-note {
    font-size: 14px;
    color: #4b6f5d;
    margin-bottom: 20px;
}

.strongesim-checkout-btn {
    margin-top: 10px;
}

.strongesim-secure-note {
    margin-top: 10px;
    font-size: 13px;
    color: #7b8f86;
}

.lagom-layout-banner .main-header, .main-header-banner{
    background: transparent !important;
}

.pagination-sm{
    background: white;
}

@media (min-width: 992px) {
    .main-body{
        padding-top: 0px;
    }
}

.strongesim-filter-actions {
    display: flex;
    gap: 10px;
}

.strongesim-btn-apply {
    flex: 1;
    background: #75bb76;
    color: #fff;
    border: none;
}

.strongesim-btn-apply:hover {
    background: #66a966;
    color: #fff;
}

/* CLEAR BUTTON (GHOST STYLE) */
.strongesim-btn-clear {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.strongesim-btn-clear:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    text-decoration: none;
}

/* ================================
   FILTER BAR – GENERAL
================================ */
.strongesim-btn-apply {
    background: #75bb76;
    color: #fff;
    border: none;
}

.strongesim-btn-apply:hover {
    background: #66a966;
}

/* ================================
   FILTER BAR – MOBILE FIX
================================ */
@media (max-width: 767px) {

    /* Space between stacked filters */
    form.row > .col-md-3,
    form.row > .col-sm-6 {
        margin-bottom: 12px;
    }

    /* Remove extra space on last column */
    form.row > .col-md-3:last-child,
    form.row > .col-sm-6:last-child {
        margin-bottom: 0;
    }

    /* Touch-friendly selects */
    form.row select.form-control {
        height: 44px;
        font-size: 14px;
    }

    /* KEEP APPLY + CLEAR SIDE-BY-SIDE */
    .strongesim-filter-actions {
        display: flex;
        gap: 10px;
    }

    .strongesim-btn-apply,
    .strongesim-btn-clear {
        flex: 1;
        height: 46px;
        font-size: 15px;
        border-radius: 6px;
        text-align: center;
    }

    /* Visual grouping */
    form.row {
        background: rgba(255, 255, 255, 0.06);
        padding: 12px;
        border-radius: 10px;
    }
    
    .strongesim-btn-clear {
        opacity: 0.8;
    }
}

@media (max-width: 767px) {
    .strongesim-plans-title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 18px;
    }
    .main-header-title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: x-large;
    }
}