.guest-hero-widget {
    --ghw-primary: #3b82f6;
    --ghw-primary-hover: #2563eb;
    --ghw-primary-light: rgba(59, 130, 246, 0.18);
    --ghw-text: #e7efff;
    --ghw-text-secondary: #9fb2d4;
    --ghw-border: rgba(255, 255, 255, 0.16);
    --ghw-bg: rgba(8, 13, 22, 0.86);
    --ghw-bg-secondary: rgba(255, 255, 255, 0.04);
    --ghw-danger: #ef4444;
    --ghw-success: #22c55e;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ghw-border);
    border-radius: 20px;
    padding: 22px;
    background:
        radial-gradient(130% 140% at -10% -20%, rgba(50, 92, 159, 0.24), transparent 58%),
        radial-gradient(120% 120% at 110% 0%, rgba(0, 167, 156, 0.16), transparent 56%),
        var(--ghw-bg);
    box-shadow: 0 28px 55px rgba(0, 0, 0, 0.35);
}

.guest-hero-widget > .ghw-grid,
.guest-hero-widget > .ghw-footer,
.guest-hero-widget > .ghw-passport {
    transition: filter 0.26s ease, transform 0.26s ease, opacity 0.26s ease;
}

.guest-hero-widget.is-flow-open > .ghw-grid,
.guest-hero-widget.is-flow-open > .ghw-footer,
.guest-hero-widget.is-flow-open > .ghw-passport {
    filter: blur(8px) saturate(78%);
    transform: scale(0.985);
    opacity: 0.42;
    pointer-events: none;
    user-select: none;
}

.ghw-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr);
    align-items: stretch;
    gap: 14px;
}

.ghw-col {
    min-width: 0;
}

.ghw-plus {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ghw-plus span {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--ghw-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--ghw-text);
    background: rgba(255, 255, 255, 0.08);
}

.ghw-card-switch {
    display: inline-flex;
    gap: 8px;
    margin-top: 10px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ghw-switch {
    border: 0;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1;
    color: var(--ghw-text-secondary);
    background: transparent;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.ghw-switch.is-active {
    background: linear-gradient(135deg, var(--ghw-primary), #5eb4ff);
    color: #06152c;
    font-weight: 700;
}

.ghw-card-stack {
    position: relative;
    perspective: 1300px;
    min-height: 252px;
}

.ghw-card {
    position: absolute;
    inset: 0;
    
    border-radius: 14px;
   
    transition: transform 0.48s ease, opacity 0.32s ease, visibility 0.32s ease;
    backface-visibility: hidden;
    overflow: hidden;
}

.ghw-card:not(.is-active) {
    visibility: hidden;
    opacity: 0;
    transform: rotateY(-92deg);
    pointer-events: none;
}

.ghw-upload {
    position: relative;
    width: 100%;
    min-height: 252px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.ghw-upload:hover {
    border-color: var(--ghw-primary);
    background: var(--ghw-primary-light);
}

.ghw-upload.is-drag {
    border-color: var(--ghw-primary);
    background: var(--ghw-primary-light);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2) inset;
}

.ghw-upload-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    
}

.ghw-upload-empty {
    min-height: 252px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 18px;
    color: var(--ghw-text-secondary);
}

.ghw-upload-empty i {
    display: block;
    font-size: 28px;
    margin-bottom: 8px;
    color: rgba(207, 223, 255, 0.78);
}

.ghw-upload-empty strong {
    display: block;
    font-size: 14px;
    color: var(--ghw-text);
}

.ghw-upload-empty span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    opacity: 0.85;
}

.ghw-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, 0.58);
    z-index: 3;
}

.ghw-remove:hover {
    background: var(--ghw-danger);
}

.ghw-text-fields {
    padding: 14px;
    display: grid;
    gap: 10px;
}

.ghw-text-fields input {
    border: 1px solid var(--ghw-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--ghw-text);
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ghw-text-fields input::placeholder {
    color: rgba(199, 214, 242, 0.72);
}

.ghw-text-fields input:focus {
    border-color: var(--ghw-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.ghw-footer {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ghw-history-btn {
    min-width: 220px;
    text-align: center;
}

.ghw-balance {
    color: var(--ghw-text);
    font-size: 14px;
}

.ghw-balance b {
    color: #8ad8ff;
}

.ghw-passport {
    margin-top: 14px;
    border: 1px solid var(--ghw-border);
    border-radius: 12px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.22);
}

.ghw-passport-title {
    font-size: 12px;
    color: var(--ghw-text-secondary);
    margin-bottom: 6px;
}

.ghw-passport-row {
    display: flex;
    gap: 8px;
}

.ghw-passport-row input {
    flex: 1;
    border: 1px solid var(--ghw-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--ghw-text);
    padding: 8px 10px;
    font-size: 12px;
}

.ghw-passport-row button {
    border: 0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    color: #06152c;
    background: #7ddcff;
}

.gfm-modal {
    position: absolute;
    inset: 0;
    z-index: 30;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    border-radius: 16px;
    overflow: hidden;
}

.gfm-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.gfm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 18, 0.58);
    backdrop-filter: blur(14px) saturate(108%);
}

.gfm-dialog {
    position: absolute;
    inset: 14px;
    border-radius: 16px;
    border: 1px solid var(--ghw-border);
    background: linear-gradient(180deg, rgba(10, 16, 27, 0.92), rgba(8, 12, 20, 0.92));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
}

.gfm-header {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.gfm-title {
    font-size: 16px;
    color: var(--ghw-text);
    font-weight: 700;
}

.gfm-close {
    border: 0;
    border-radius: 999px;
    width: 32px;
    height: 32px;
    color: #dce8ff;
    background: rgba(255, 255, 255, 0.08);
}

.gfm-steps {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.gfm-step-dot {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #d0defb;
    background: rgba(255, 255, 255, 0.1);
}

.gfm-step-dot.is-active {
    color: #06152c;
    background: #73ceff;
    font-weight: 700;
}

.gfm-body {
    overflow: auto;
    padding: 14px;
}

.gfm-step {
    display: none;
}

.gfm-step.is-active {
    display: block;
}

.gfm-split {
    display: grid;
    grid-template-columns: 1fr 36px 1fr;
    gap: 12px;
}

.gfm-thumb {
    border: 1px solid var(--ghw-border);
    border-radius: 12px;
    overflow: hidden;
    min-height: 206px;
    background: rgba(255, 255, 255, 0.03);
}

.gfm-thumb img {
    width: 100%;
    height: 206px;
    object-fit: contain;
    display: block;
    background: rgba(5, 10, 16, 0.8);
}

.gfm-thumb-empty {
    min-height: 206px;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--ghw-text-secondary);
    font-size: 13px;
    padding: 12px;
}

.gfm-plus {
    display: grid;
    place-items: center;
    color: #c9d8f8;
    font-size: 28px;
    font-weight: 700;
}

.gfm-actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.gfm-note {
    font-size: 13px;
    color: var(--ghw-text-secondary);
    margin-bottom: 10px;
    padding: 0 10px;
}

.gfm-alert {
    margin-bottom: 10px;
    border-radius: 10px;
    padding: 9px 10px;
    font-size: 13px;
    background: rgba(255, 122, 122, 0.12);
    border: 1px solid rgba(255, 122, 122, 0.3);
    color: #ffd4d4;
}

.gfm-merge {
    --merge-progress: 0;
    position: relative;
    min-height: 316px;
    border-radius: 14px;
    border: 1px solid var(--ghw-border);
    overflow: hidden;
    background: radial-gradient(circle at 50% 24%, rgba(77, 134, 255, 0.17), rgba(5, 9, 15, 0.9));
}

.gfm-merge-image {
    position: absolute;
    width: min(41%, 300px);
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    overflow: hidden;
    opacity: calc(1 - var(--merge-progress) * 0.5);
    transition: opacity 0.1s linear;
}

.gfm-merge-image img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gfm-merge-car {
    left: calc(4% + var(--merge-progress) * 26%);
}

.gfm-merge-wheel {
    right: calc(4% + var(--merge-progress) * 26%);
}

.gfm-spark {
    position: absolute;
    left: 50%;
    top: 16%;
    bottom: 16%;
    width: 6px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(133, 250, 255, 0), rgba(138, 233, 255, 0.95), rgba(133, 250, 255, 0));
    box-shadow: 0 0 24px rgba(117, 229, 255, 0.7), 0 0 50px rgba(117, 229, 255, 0.3);
    opacity: calc(0.25 + var(--merge-progress) * 0.75);
}

.gfm-spark::before,
.gfm-spark::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(120, 240, 255, 0), rgba(120, 240, 255, 0.95), rgba(120, 240, 255, 0));
    filter: blur(7px);
    animation: gfmSpark 0.85s linear infinite;
}

.gfm-spark::after {
    animation-duration: 1.15s;
    opacity: 0.6;
}

@keyframes gfmSpark {
    0% { transform: translateY(-5px) scaleY(0.94); }
    50% { transform: translateY(4px) scaleY(1.05); }
    100% { transform: translateY(-5px) scaleY(0.94); }
}

@keyframes gfmSparkMobile {
    0% { transform: translateX(-6px) scaleX(0.94); }
    50% { transform: translateX(4px) scaleX(1.05); }
    100% { transform: translateX(-6px) scaleX(0.94); }
}

.gfm-progress-label {
    margin-top: 12px;
    color: #c7d7f4;
    font-size: 14px;
}

.gfm-progress-bar {
    margin-top: 8px;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.gfm-progress-fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #5ee6ff, #4ca8ff);
}

.gfm-payment {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    min-height: 330px;
    border: 1px solid var(--ghw-border);
}

.gfm-payment-bg {
    position: absolute;
    inset: 0;
    background: #0a0f17;
}

.gfm-payment-bg img {
    position: absolute;
    width: 54%;
    height: 100%;
    object-fit: cover;
    filter: blur(16px);
    opacity: 0.45;
}

.gfm-payment-bg img:first-child {
    left: -4%;
}

.gfm-payment-bg img:last-child {
    right: -4%;
}

.gfm-payment-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 15, 0.66);
}

.gfm-payment-card {
    position: relative;
    z-index: 2;
    margin: 20px auto;
    width: min(640px, calc(100% - 24px));
    border: 1px solid var(--ghw-border);
    border-radius: 14px;
    background: rgba(11, 17, 27, 0.9);
    padding: 14px;
}

.gfm-payment-card h4 {
    margin: 0 0 10px;
    color: var(--ghw-text);
    font-size: 16px;
    padding: 0 10px;
}

.gfm-payment-explainer {
    margin: 10px 0 12px;
    padding: 10px;
    border-radius: 10px;
    /* border: 1px solid rgba(118, 181, 255, 0.26); */
    background: rgb(77 83 91 / 55%);
    display: grid;
    gap: 8px;
}

.gfm-payment-explainer-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--ghw-text);
    line-height: 1.2;
}

.gfm-payment-explainer-subtitle {
    margin: 0;
    font-size: 12px;
    color: var(--ghw-text-secondary);
    line-height: 1.35;
}

.gfm-payment-explainer-preview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.gfm-payment-explainer-preview-item {
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.gfm-payment-explainer-preview-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.gfm-payment-explainer-preview-item span {
    display: block;
    padding: 6px 8px;
    font-size: 11px;
    color: #d8e8ff;
}

.gfm-payment-explainer-guarantee {
    font-size: 12px;
    line-height: 1.35;
    color: #d8ecff;
}

.gfm-payment-explainer-steps {
    margin: 0;
    padding-left: 16px;
    display: grid;
    gap: 4px;
}

.gfm-payment-explainer-steps li {
    font-size: 12px;
    line-height: 1.3;
    color: #d4e3ff;
}

.gfm-payment-explainer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gfm-payment-explainer-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 4px 8px;
    font-size: 11px;
    line-height: 1.2;
    color: #dce9ff;
    background: rgba(255, 255, 255, 0.04);
}

.gfm-payment-explainer-price-note {
    font-size: 11px;
    line-height: 1.35;
    color: #a8c0e5;
}

.gfm-payment-explainer-cases-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    font-size: 12px;
    color: #8fd5ff;
    text-decoration: none;
}

.gfm-payment-explainer-cases-link:hover {
    color: #c1e7ff;
    text-decoration: underline;
}

.gfm-tariffs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.gfm-tariff {
    border: 1px solid var(--ghw-border);
    border-radius: 11px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.04);
}

.gfm-tariff strong {
    display: block;
    color: var(--ghw-text);
    font-size: 14px;
}

.gfm-tariff span {
    display: block;
    color: var(--ghw-text-secondary);
    font-size: 12px;
    margin-top: 4px;
}

.gfm-tariff button {
    margin-top: 8px;
    width: 100%;
    border: 0;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    color: #041325;
    background: linear-gradient(135deg, #7de6ff, #69b7ff);
}

.gfm-tariff button[disabled] {
    opacity: 0.55;
}

.gfm-payment-status {
    margin-top: 10px;
    font-size: 13px;
    color: #d6e6ff;
}

.gfm-result-image {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--ghw-border);
    max-height: 48vh;
    object-fit: contain;
    background: rgba(3, 7, 12, 0.9);
}

.gfm-history {
    margin-top: 12px;
}

.gfm-history h5 {
    margin: 0 0 8px;
    font-size: 14px;
    color: var(--ghw-text);
}

.gfm-history-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.gfm-history-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--ghw-border);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.gfm-history-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.gfm-history-item.is-pending {
    display: grid;
    place-items: center;
    min-height: 112px;
    background: rgba(88, 173, 255, 0.08);
}

.gfm-history-pending {
    text-align: center;
    padding: 10px 8px;
}

.gfm-history-pending strong {
    display: block;
    color: var(--ghw-text);
    font-size: 12px;
    line-height: 1.25;
}

.gfm-history-pending span {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    color: var(--ghw-text-secondary);
}

.gfm-history-empty {
    font-size: 13px;
    color: var(--ghw-text-secondary);
}

@media (max-width: 992px) {
    .gfm-history-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .guest-hero-widget {
        padding: 16px;
    }

    .ghw-grid {
        grid-template-columns: 1fr;
    }

    .ghw-plus {
        min-height: 34px;
    }

    .gfm-dialog {
        inset: 8px;
    }

    .gfm-split {
        grid-template-columns: 1fr;
    }

    .gfm-plus {
        display: none;
    }

    .gfm-merge {
        min-height: 420px;
    }

    .gfm-merge-image {
        width: min(78%, 340px);
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }

    .gfm-merge-car {
        top: calc(16% + var(--merge-progress) * 30%);
    }

    .gfm-merge-wheel {
        top: calc(84% - var(--merge-progress) * 30%);
    }

    .gfm-spark {
        left: 12%;
        right: 12%;
        width: auto;
        height: 6px;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        background: linear-gradient(90deg, rgba(133, 250, 255, 0), rgba(138, 233, 255, 0.95), rgba(133, 250, 255, 0));
    }

    .gfm-spark::before,
    .gfm-spark::after {
        background: linear-gradient(90deg, rgba(120, 240, 255, 0), rgba(120, 240, 255, 0.95), rgba(120, 240, 255, 0));
        animation-name: gfmSparkMobile;
    }

    .gfm-tariffs {
        grid-template-columns: 1fr;
    }

    .gfm-payment-explainer {
        padding: 9px;
        gap: 7px;
    }

    .gfm-payment-explainer-preview {
        grid-template-columns: 1fr;
    }

    .gfm-history-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}




/* ═══════════════════════════════════════════════════════════
   REDESIGNED WIDGET STYLES
   Palette: --accent-color (#A93E17), --accent-secondary-color (#15399A)
   ═══════════════════════════════════════════════════════════ */

/* ── Widget card ── */
.guest-hero-widget {
    background:
        linear-gradient(145deg, rgba(14, 16, 24, 0.96), rgba(8, 10, 16, 0.94)) padding-box,
        linear-gradient(135deg, rgba(169, 62, 23, 0.50), rgba(21, 57, 154, 0.45), rgba(169, 62, 23, 0.25)) border-box;
    border: 1px solid transparent;
    border-radius: 24px;
    padding: 32px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 40px 80px -20px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
}

.guest-hero-widget::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 10% 0%, rgba(169, 62, 23, 0.10), transparent),
        radial-gradient(ellipse 60% 50% at 90% 0%, rgba(21, 57, 154, 0.08), transparent);
    pointer-events: none;
    z-index: 0;
}

.guest-hero-widget > * {
    position: relative;
    z-index: 1;
}

/* ── Upload zones ── */
.ghw-upload {
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, 0.02), transparent 70%),
        rgba(255, 255, 255, 0.025);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.ghw-upload:hover {
    border-color: rgba(169, 62, 23, 0.45);
    background: linear-gradient(160deg, rgba(169, 62, 23, 0.07), rgba(21, 57, 154, 0.05));
    box-shadow:
        0 0 24px rgba(169, 62, 23, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ghw-upload.is-drag {
    border-color: var(--accent-color, #A93E17);
    background: linear-gradient(160deg, rgba(169, 62, 23, 0.12), rgba(21, 57, 154, 0.08));
    box-shadow:
        0 0 32px rgba(169, 62, 23, 0.15),
        inset 0 0 0 1px rgba(169, 62, 23, 0.15);
}

.ghw-upload-empty i {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 10px;
    filter: drop-shadow(0 0 8px rgba(169, 62, 23, 0.25));
}

.ghw-upload-empty strong {
    font-size: 15px;
    letter-spacing: 0.01em;
}

.ghw-upload-empty span {
    font-size: 12px;
    opacity: 0.6;
    margin-top: 6px;
}

/* ── Switch toggle ── */
.ghw-card-switch {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5px;
    gap: 4px;
}

.ghw-switch {
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.ghw-switch.is-active {
    background: linear-gradient(135deg, var(--accent-color, #A93E17), var(--accent-secondary-color, #15399A));
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(169, 62, 23, 0.35);
}

/* ── Plus separator ── */
.ghw-plus span {
    width: 48px;
    height: 48px;
    font-size: 22px;
    background: linear-gradient(135deg, rgba(169, 62, 23, 0.15), rgba(21, 57, 154, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 0 20px rgba(169, 62, 23, 0.08);
    color: rgba(255, 255, 255, 0.7);
}

/* ── Balance badge ── */
.ghw-balance {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.01em;
}

.ghw-balance b {
    color: var(--accent-color, #A93E17);
    font-weight: 800;
    font-size: 16px;
}

/* ── Footer layout ── */
.ghw-footer {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

/* ── CTA button ── */
.ghw-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 325px;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-color, #A93E17), var(--accent-secondary-color, #15399A));
    background-size: 200% 200%;
    background-position: 0% 50%;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: background-position 0.5s ease, box-shadow 0.4s ease, transform 0.2s ease;
    box-shadow:
        0 4px 20px rgba(169, 62, 23, 0.30),
        0 1px 0 rgba(255, 255, 255, 0.08) inset;
    overflow: hidden;
}

.ghw-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%);
    pointer-events: none;
}

.ghw-cta-btn:hover {
    background-position: 100% 50%;
    box-shadow:
        0 8px 32px rgba(169, 62, 23, 0.40),
        0 0 0 1px rgba(255,255,255,0.08) inset;
    transform: translateY(-1px);
}

.ghw-cta-btn:active {
    transform: translateY(0);
    box-shadow:
        0 2px 12px rgba(169, 62, 23, 0.25),
        0 0 0 1px rgba(255,255,255,0.06) inset;
}

/* ── History button ── */
.ghw-history-btn {
    min-width: 220px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 60px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s, border-color 0.3s;
}

.ghw-history-btn:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.18);
}

/* ── Passport link area ── */
.ghw-passport {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
}

/* ── Remove button ── */
.ghw-remove {
    width: 30px;
    height: 30px;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.ghw-remove:hover {
    background: var(--accent-color, #A93E17);
    transform: scale(1.1);
}

/* ── Text fields ── */
.ghw-text-fields input {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    padding: 12px 14px;
    font-size: 14px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.ghw-text-fields input:focus {
    border-color: rgba(169, 62, 23, 0.5);
    box-shadow: 0 0 0 3px rgba(169, 62, 23, 0.12);
    background: rgba(255, 255, 255, 0.05);
}

/* ── Copy passport link ── */
[data-copy-passport] {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s;
}

[data-copy-passport]:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.18);
}

/* ── Modal internals ── */
.gfm-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    border: 0;
    border-radius: 999px;
    width: 32px;
    height: 32px;
    color: #dce8ff;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s;
}

.gfm-close:hover {
    background: rgba(255, 255, 255, 0.16);
}

.gfm-dialog,
.gfm-payment-card,
.gfm-payment-overlay,
.gfm-payment-bg,
.gfm-payment,
.gfm-merge,
.ghw-passport,
.gfm-result-image {
    border: none;
    background: none;
    box-shadow: none;
}

.gfm-backdrop {
    background: none;
    backdrop-filter: blur(8px) saturate(108%);
}

.gfm-payment-card {
    padding: 5px;
    margin: 5px auto;
}

.gfm-progress-fill {
    background: linear-gradient(to right, var(--accent-color) 0%, var(--accent-secondary-color) 50%, var(--accent-color) 100%);
}

.gfm-tariff button {
    color: #ffffff;
    background: linear-gradient(171deg, #d76840, #1a3ba0);
}

.gfm-payment-overlay {
    background: rgb(4 8 15 / 75%);
}

/* ── Responsive: widget ── */
@media (max-width: 768px) {
    .guest-hero-widget {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .ghw-cta-btn {
        min-width: 0;
        width: 100%;
        padding: 16px 24px;
        font-size: 14px;
    }

    .ghw-switch {
        padding: 9px 14px;
        font-size: 12px;
    }
}


/* Real fullscreen modal (not constrained by .guest-hero-widget) */
html.gfm-lock,
body.gfm-lock {
    overflow: hidden;
}
.gfm-payment-card {
 
    padding: 50px;
}

#guest-flow-modal.gfm-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1000 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

#guest-flow-modal .gfm-backdrop {
    position: absolute;
    inset: 0;
    background: rgb(15 19 24 / 48%) !important;
    backdrop-filter: blur(10px) saturate(118%) !important;
}

#guest-flow-modal .gfm-dialog {
    position: relative !important;
    inset: auto !important;
    width: min(800px, calc(100vw - 48px));
    min-height: min(620px, calc(100vh - 48px));
    height: auto;
    max-height: calc(100vh - 48px);
    border-radius: 20px;
    border: none;
    background: none;
    box-shadow: none;
    overflow: hidden;
    display: grid;
    grid-template-rows: 1fr;
}

#guest-flow-modal .gfm-body {
    max-height: calc(100vh - 92px);
    overflow: auto;
    padding: 22px;
}

#guest-flow-modal .gfm-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 8;
}
 
@media (max-width: 900px) {
    #guest-flow-modal.gfm-modal {
        padding: 10px;
    }

    #guest-flow-modal .gfm-dialog {
        width: calc(100vw - 20px);
        min-height: auto;
        height: auto;
        max-height: calc(100vh - 20px);
        border-radius: 14px;
    }

    #guest-flow-modal .gfm-body {
        max-height: calc(100vh - 44px);
        padding: 12px;
    }
    .gfm-payment-card {
        padding: 5px;
    }
}

.guest-hero-widget {
    background: none;
    border: none;
    border-radius: 24px;
    padding: 32px;
    box-shadow: none;
    position: relative;
    overflow: hidden; 
}
#ghw-passport-box{
    display: none;
}
.hero-company-slider{
    margin-top:5px;
}
.hero-company-slider p {
   
    margin-bottom: 15px;
}
.hero-btn{
    display: none;
}


