.gotraves-admin .gotraves-stats {
    display: flex;
    gap: 16px;
    margin: 20px 0;
}

.gotraves-admin .gotraves-stats > div {
    min-width: 120px;
    padding: 18px 28px;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 8px;
}

.gotraves-admin .gotraves-stats strong,
.gotraves-admin .gotraves-stats span {
    display: block;
}

.gotraves-admin .gotraves-stats strong {
    font-size: 28px;
}

.gotraves-admin .gotraves-stats span {
    color: #646970;
}

.gotraves-admin .gotraves-import {
    max-width: 680px;
    padding: 22px;
    background: #fff;
    border: 1px solid #dcdcde;
}

.gotraves-esim-widget,
.gotraves-esim-widget * {
    box-sizing: border-box;
}

.gotraves-esim-widget {
    position: relative;
    width: 100%;
    color: #111;
    font-family: inherit;
    isolation: isolate;
}

.gotraves-esim-search-widget,
.gotraves-device-widget {
    position: relative;
    z-index: 99990;
}

.gotraves-esim-widget input,
.gotraves-esim-widget button,
.gotraves-esim-widget a,
.gotraves-esim-widget img {
    font-family: inherit;
}

.gotraves-esim-widget .gotraves-search {
    position: relative;
    z-index: 20;
    max-width: 600px;
}

.gotraves-esim-widget .gotraves-search-box {
    display: flex;
    align-items: center;
    padding: 5px 5px 5px 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.gotraves-esim-widget .gotraves-search-box input {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 45px;
    margin: 0;
    padding: 0;
    color: #222;
    font-size: 14px;
    line-height: 1.2;
    background: transparent;
    border: 0;
    outline: 0;
    box-shadow: none;
}

.gotraves-esim-widget .gotraves-search-box input:focus {
    box-shadow: none;
}

.gotraves-esim-widget .gotraves-search-box input::placeholder {
    color: #64748b;
    opacity: .68;
}

.gotraves-esim-widget .gotraves-search-box button .icon-search {
    display: inline-block;
    font-size: 16px;
    line-height: 1;
    transform: rotate(90deg);
}

.gotraves-esim-widget .gotraves-search-box button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    background: #069fe3;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: none;
    min-height: auto;
}

.gotraves-esim-widget .gotraves-search-dropdown {
    display: none;
    position: absolute;
    z-index: 99999 !important;
    top: auto;
    right: 0;
    left: 0;
    max-height: 600px;
    padding: 20px;
    overflow-y: auto;
    background: #fff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, .16);
}

.gotraves-esim-widget .gotraves-search-dropdown.is-open {
    display: block;
    text-align: left;
}

.gotraves-esim-widget .gotraves-search-dropdown.is-empty::after {
    display: block;
    padding: 18px 8px;
    color: #64748b;
    content: 'Không tìm thấy quốc gia hoặc gói eSIM';
}

.gotraves-esim-widget .gotraves-search-heading {
    margin: 0 0 15px;
    font-size: 20px;
    font-weight: 600;
}

.gotraves-esim-widget .gotraves-search-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: 5px;
    padding: 10px 20px;
    color: #111;
    text-decoration: none;
    border-radius: 10px;
}

.gotraves-esim-widget .gotraves-search-item img {
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    object-fit: cover;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 7px rgba(15, 23, 42, .2);
}

.gotraves-esim-widget .gotraves-search-name {
    font-size: 20px;
}

.gotraves-esim-widget .gotraves-search-price {
    color: #111;
    font-size: 18px;
}

.gotraves-esim-widget .gotraves-search-price b {
    color: #5114c9;
    font-weight: 500;
}

.gotraves-esim-widget .gotraves-esim-category {
    margin: 32px 0;
}

.gotraves-esim-widget .gotraves-esim-category > h2 {
    margin: 0 0 24px;
    font-size: 28px;
}

.gotraves-esim-widget .gotraves-esim-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.gotraves-esim-widget .gotraves-esim-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    color: #111;
    text-decoration: none;
    background: #fff;
    border: 1px solid #f0f0f5;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.gotraves-esim-widget .gotraves-flag {
    display: block;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    object-fit: cover;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .22);
}

.gotraves-esim-widget .gotraves-multi {
    font-size: 30px;
    line-height: 40px;
    text-align: center;
}

.gotraves-esim-widget .gotraves-card-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.gotraves-esim-widget .gotraves-card-title {
    overflow: hidden;
    font-size: 16px;
    line-height: 1.25;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.gotraves-esim-widget .gotraves-price {
    margin: 0;
    color: #111;
    font-size: 13px;
}

.gotraves-esim-widget .gotraves-price b {
    color: #005b96;
    font-size: 16px;
    font-weight: 500;
}

.gotraves-esim-widget .gotraves-see-all {
    display: block;
    width: max-content;
    margin: 30px auto 0;
    padding: 10px 30px;
    color: var(--fs-color-primary);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--fs-color-primary);
    border-radius: 999px;
}

@media (max-width: 1100px) {
    .gotraves-esim-widget .gotraves-esim-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .gotraves-esim-widget .gotraves-search-box {
        height: 64px;
        padding-left: 16px;
    }

    .gotraves-esim-widget .gotraves-search-box input {
        font-size: 20px;
    }

    .gotraves-esim-widget .gotraves-search-box button {
        width: 50px;
        height: 50px;
        font-size: 36px;
        border-radius: 18px;
    }

    .gotraves-esim-widget .gotraves-search-dropdown {
        top: 72px;
        padding: 20px 12px;
    }

    .gotraves-esim-widget .gotraves-search-heading {
        font-size: 22px;
    }

    .gotraves-esim-widget .gotraves-search-item {
        grid-template-columns: 48px 1fr;
        gap: 10px;
        padding: 12px 8px;
    }

    .gotraves-esim-widget .gotraves-search-name {
        font-size: 18px;
    }

    .gotraves-esim-widget .gotraves-search-price {
        grid-column: 2;
        font-size: 15px;
    }

    .gotraves-esim-widget .gotraves-esim-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .gotraves-esim-widget .gotraves-esim-grid {
        grid-template-columns: 1fr;
    }
}

.gotraves-device-widget .gotraves-device-search {
    position: relative;
    z-index: 99999;
    max-width: 600px;
}

.gotraves-device-widget .gotraves-device-search-box {
    display: flex;
    align-items: center;
    height: auto;
    padding: 5px 5px 5px 15px;
    background: #fff;
    border: 0;
    border-radius: 8px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.gotraves-device-widget .gotraves-device-search-box input {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 45px;
    margin: 0;
    padding: 0;
    color: #222;
    font-size: 14px;
    line-height: 1.2;
    background: transparent;
    border: 0;
    outline: 0;
    box-shadow: none;
}

.gotraves-device-widget .gotraves-device-search-box input:focus {
    box-shadow: none;
}

.gotraves-device-widget .gotraves-device-search-box input::placeholder {
    color: #64748b;
    opacity: .68;
}

.gotraves-device-widget .gotraves-device-search-box button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    background: #069fe3;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: none;
    min-height: auto;
}

.gotraves-device-widget .gotraves-device-search-box button .icon-search {
    display: inline-block;
    font-size: 16px;
    line-height: 1;
    transform: rotate(90deg);
}

.gotraves-device-widget .gotraves-device-results {
    display: none;
    position: absolute;
    z-index: 99999 !important;
    top: auto;
    right: 0;
    left: 0;
    max-height: 600px;
    padding: 20px;
    overflow-y: auto;
    background: #fff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, .16);
}

.gotraves-device-widget .gotraves-device-results.is-open {
    display: block;
    text-align: left;
}

.gotraves-device-widget .gotraves-device-group h3 {
    margin: 0 0 15px;
    color: #111;
    font-size: 20px;
    font-weight: 600;
}

.gotraves-device-widget .gotraves-device-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    margin-bottom: 22px;
}

.gotraves-device-widget .gotraves-device-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 12px;
    color: #111;
    font-size: 16px;
    cursor: pointer;
    border-radius: 10px;
}

.gotraves-device-widget .gotraves-device-item small {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 600;
}

.gotraves-device-widget .gotraves-device-item small.is-supported {
    color: #16a34a;
}

.gotraves-device-widget .gotraves-device-item small.is-not-supported {
    color: #dc2626;
}

.gotraves-device-widget .gotraves-device-item:hover {
    background: color-mix(in srgb, var(--fs-color-primary) 7%, #fff);
}

.gotraves-device-tabs {
    width: 100%;
    color: #222;
}

.gotraves-device-tab-list {
    display: flex;
    gap: 0;
    border-bottom: 3px solid #f1f1f5;
}

.gotraves-device-tab {
    position: relative;
    margin: 0;
    padding: 15px;
    color: #222;
    font: inherit;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    box-shadow: none;
}

.gotraves-device-tab + .gotraves-device-tab {
    margin-left: 0;
}

.gotraves-device-tab::after {
    position: absolute;
    right: 0;
    bottom: -3px;
    left: 0;
    height: 3px;
    background: transparent;
    content: '';
}

.gotraves-device-tab.is-active {
    color: var(--fs-color-primary);
}

.gotraves-device-tab.is-active::after {
    background: var(--fs-color-primary);
}

.gotraves-device-tab-panels {
    padding-top: 26px;
}

.gotraves-device-tab-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
    gap: 48px;
    align-items: center;
}

.gotraves-device-tab-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    overflow: hidden;
    border-radius: 45% 45% 0 0;
}

.gotraves-device-tab-avatar svg {
    display: block;
    width: min(100%, 260px);
    height: auto;
}

.gotraves-device-tab-avatar img {
    display: block;
    width: min(100%, 360px);
    height: auto;
    max-height: 420px;
    object-fit: contain;
}

.gotraves-avatar-glow {
    fill: #f0edff;
}

.gotraves-avatar-phone {
    fill: #111827;
    stroke: #94a3b8;
    stroke-width: 4;
}

.gotraves-avatar-camera {
    fill: #64748b;
}

.gotraves-avatar-mark {
    fill: var(--fs-color-primary);
    opacity: .9;
}

.gotraves-device-tab-avatar text {
    fill: var(--fs-color-primary);
    font-size: 42px;
    font-weight: 700;
}

.gotraves-device-tab-panel {
    display: none;
}

.gotraves-device-tab-panel.is-active {
    display: block;
}

.gotraves-device-tab-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gotraves-device-tab-items li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin: 0;
    margin-left: 0 !important;
    color: #262626;
    font-size: 16px;
    line-height: 1.45;
}

.gotraves-device-tab-items.is-limited li:nth-child(n + 21) {
    display: none;
}

.gotraves-device-tab-items.is-limited.is-expanded li:nth-child(n + 21) {
    display: flex;
}

.gotraves-device-tab-more {
    display: block;
    margin: 24px 0 0;
    padding: 9px 0;
    color: var(--fs-color-primary);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--fs-color-primary);
    border-radius: 0;
    cursor: pointer;
}

.gotraves-device-tab-check {
    display: inline-flex;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    color: var(--fs-color-primary);
}

.gotraves-device-tab-check svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.gotraves-device-tab-check circle {
    fill: currentColor;
    stroke: none;
}

.gotraves-device-tab-check path {
    stroke: #fff;
    stroke-width: 2.5;
}

.gotraves-device-tab-empty {
    color: #64748b;
}

@media (max-width: 760px) {
    .gotraves-device-tab {
        flex: 0 0 auto;
        padding: 12px;
        font-size: 20px;
    }

    .gotraves-device-tab + .gotraves-device-tab {
        margin-left: 0;
    }

    .gotraves-device-tab-items {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gotraves-device-tab-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gotraves-device-tab-avatar {
        display: none;
    }

    .gotraves-device-tab-items li {
        font-size: 16px;
    }
}

@media (max-width: 760px) {
    .gotraves-device-widget .gotraves-device-search-box {
        height: 64px;
        padding-left: 16px;
    }

    .gotraves-device-widget .gotraves-device-search-box input {
        font-size: 18px;
    }

    .gotraves-device-widget .gotraves-device-search-box button {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }

    .gotraves-device-widget .gotraves-device-results {
        top: 74px;
        padding: 18px 14px;
    }

    .gotraves-device-widget .gotraves-device-item {
        padding: 8px 6px;
        font-size: 15px;
    }

    .gotraves-device-widget .gotraves-device-items {
        grid-template-columns: 1fr;
    }
}
