/* PLATplus Signup Wizard */

:root {
    --sg-primary: #7B61FF;
    --sg-blue: #00A3FF;
    --sg-dark: #0F172A;
    --sg-text: #334155;
    --sg-muted: #64748B;
    --sg-border: #E2E8F0;
    --sg-bg: #F8FAFC;
    --sg-gradient: linear-gradient(135deg, #00A3FF 0%, #7B61FF 55%, #6366F1 100%);
    --sg-radius: 18px;
    --sg-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

body.sg-body {
    margin: 0;
    font-family: Vazirmatn, Tahoma, 'Segoe UI', sans-serif;
    color: var(--sg-text);
    background: var(--sg-bg);
    min-height: 100vh;
    overflow-x: hidden;
}

.sg-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 10% 0%, rgba(0, 163, 255, 0.12), transparent),
        radial-gradient(ellipse 70% 50% at 90% 10%, rgba(123, 97, 255, 0.14), transparent),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(99, 102, 241, 0.08), transparent);
}

.sg-bg__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(123, 97, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(123, 97, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black, transparent);
}

.sg-wrap {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0 auto;
    padding: 1.25rem 1rem 3rem;
}

.sg-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sg-logo img { height: 34px; width: auto; }

.sg-top a {
    color: var(--sg-muted);
    text-decoration: none;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.sg-top a:hover { color: var(--sg-primary); }

.sg-hero {
    text-align: center;
    margin-bottom: 1.75rem;
}

.sg-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(123, 97, 255, 0.1);
    color: var(--sg-primary);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.sg-hero h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 4vw, 1.85rem);
    color: var(--sg-dark);
    font-weight: 800;
}

.sg-hero p {
    margin: 0;
    color: var(--sg-muted);
    font-size: 0.95rem;
}

.sg-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.sg-progress__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    color: var(--sg-muted);
    transition: color 0.25s;
}

.sg-step-label {
    max-width: 72px;
    line-height: 1.25;
    text-align: center;
}

@media (min-width: 640px) {
    .sg-progress__item { font-size: 0.78rem; }
    .sg-step-label { max-width: none; }
}

.sg-progress__item.is-active,
.sg-progress__item.is-done {
    color: var(--sg-dark);
    font-weight: 600;
}

.sg-progress__dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    background: #fff;
    border: 2px solid var(--sg-border);
    transition: all 0.3s;
}

.sg-progress__item.is-active .sg-progress__dot {
    border-color: var(--sg-primary);
    background: var(--sg-gradient);
    color: #fff;
    box-shadow: 0 4px 16px rgba(123, 97, 255, 0.35);
}

.sg-progress__item.is-done .sg-progress__dot {
    border-color: #10B981;
    background: #10B981;
    color: #fff;
}

.sg-progress__line {
    width: 32px;
    height: 2px;
    background: var(--sg-border);
    margin: 0 0.25rem;
}

.sg-progress__line.is-done { background: #10B981; }

.sg-card {
    background: #fff;
    border-radius: var(--sg-radius);
    box-shadow: var(--sg-shadow);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
}

.sg-card__body { padding: 1.5rem 1.35rem; }

@media (min-width: 640px) {
    .sg-card__body { padding: 2rem 2.25rem; }
}

.sg-pane { display: none; animation: sgFadeIn 0.35s ease; }
.sg-pane.is-active { display: block; }

@keyframes sgFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.sg-pane h2 {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    color: var(--sg-dark);
}

.sg-pane__sub {
    margin: 0 0 1.25rem;
    color: var(--sg-muted);
    font-size: 0.9rem;
}

.sg-field { margin-bottom: 1rem; }

.sg-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sg-dark);
    margin-bottom: 0.4rem;
}

.sg-input, .sg-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--sg-border);
    border-radius: 12px;
    font: inherit;
    font-size: 0.95rem;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sg-input:focus, .sg-select:focus {
    outline: none;
    border-color: var(--sg-primary);
    box-shadow: 0 0 0 3px rgba(123, 97, 255, 0.15);
}

.sg-group-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--sg-muted);
    margin: 1.25rem 0 0.65rem;
}

.sg-group-label:first-child { margin-top: 0; }

.sg-services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 0.65rem;
}

.sg-svc {
    position: relative;
    cursor: pointer;
    border: 2px solid var(--sg-border);
    border-radius: 14px;
    padding: 0.85rem 0.75rem;
    background: #fff;
    transition: all 0.22s;
    user-select: none;
}

.sg-svc:hover {
    border-color: rgba(123, 97, 255, 0.35);
    transform: translateY(-2px);
}

.sg-svc.is-selected {
    border-color: var(--sg-primary);
    background: linear-gradient(135deg, rgba(0, 163, 255, 0.06), rgba(123, 97, 255, 0.08));
    box-shadow: 0 6px 20px rgba(123, 97, 255, 0.15);
}

.sg-svc input { position: absolute; opacity: 0; pointer-events: none; }

.sg-svc__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.sg-svc__name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--sg-dark);
    line-height: 1.35;
}

.sg-svc__check {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--sg-gradient);
    color: #fff;
    font-size: 0.65rem;
    display: none;
    place-items: center;
}

.sg-svc.is-selected .sg-svc__check { display: grid; }

/* Sector (step 1) */
.sg-sector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.sg-sector {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    text-align: right;
    padding: 1rem;
    border: 2px solid var(--sg-border);
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: all 0.22s;
    font: inherit;
    color: inherit;
}

.sg-sector:hover {
    border-color: rgba(123, 97, 255, 0.35);
    transform: translateY(-2px);
}

.sg-sector.is-selected {
    border-color: var(--sg-primary);
    background: linear-gradient(135deg, rgba(0, 163, 255, 0.05), rgba(123, 97, 255, 0.08));
    box-shadow: 0 8px 24px rgba(123, 97, 255, 0.15);
}

.sg-sector__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    color: #fff;
    flex-shrink: 0;
}

.sg-sector__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.sg-sector__body strong {
    font-size: 0.92rem;
    color: var(--sg-dark);
}

.sg-sector__body span {
    font-size: 0.75rem;
    color: var(--sg-muted);
}

.sg-sector__check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--sg-gradient);
    color: #fff;
    display: none;
    place-items: center;
    font-size: 0.7rem;
}

.sg-sector.is-selected .sg-sector__check { display: grid; }

/* Profession (step 2) */
.sg-search-wrap {
    position: relative;
    margin-bottom: 1rem;
}

.sg-search-wrap > i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sg-muted);
    pointer-events: none;
}

.sg-search-input {
    padding-right: 2.75rem !important;
}

.sg-prof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 0.65rem;
    max-height: 360px;
    overflow-y: auto;
    padding: 0.15rem;
}

.sg-prof {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    width: 100%;
    text-align: right;
    padding: 0.85rem;
    border: 2px solid var(--sg-border);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    font: inherit;
    color: inherit;
}

.sg-prof:hover {
    border-color: rgba(123, 97, 255, 0.35);
}

.sg-prof.is-selected {
    border-color: var(--sg-primary);
    background: rgba(123, 97, 255, 0.05);
}

.sg-prof__icon { font-size: 1.35rem; }

.sg-prof__body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.sg-prof__body strong {
    font-size: 0.82rem;
    color: var(--sg-dark);
    line-height: 1.35;
}

.sg-prof__body span {
    font-size: 0.72rem;
    color: var(--sg-muted);
    line-height: 1.4;
}

.sg-prof__check {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--sg-gradient);
    color: #fff;
    display: none;
    place-items: center;
    font-size: 0.6rem;
}

.sg-prof.is-selected .sg-prof__check { display: grid; }

/* Selected chip (step 3) */
.sg-selected-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(123, 97, 255, 0.1);
    color: var(--sg-primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.sg-selected-chip i { font-size: 1rem; }

.sg-bundle-total {
    margin-top: 1rem;
    padding: 1.1rem 1.25rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 163, 255, 0.08), rgba(123, 97, 255, 0.12));
    border: 1.5px solid rgba(123, 97, 255, 0.25);
}

.sg-bundle-total__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: var(--sg-muted);
    margin-bottom: 0.35rem;
}

.sg-bundle-total__row strong {
    color: var(--sg-dark);
    font-size: 1.15rem;
}

.sg-bundle-total__hint {
    font-size: 0.78rem;
    color: #10B981;
    margin-top: 0.5rem;
}

.sg-bundle-lines {
    border: 1px solid var(--sg-border);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 1rem;
}

.sg-bundle-line {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--sg-border);
    align-items: center;
}

.sg-bundle-line:last-child { border-bottom: none; }

.sg-bundle-line--plan {
    background: rgba(123, 97, 255, 0.06);
    font-weight: 600;
}

.sg-bundle-line--implied {
    background: rgba(245, 158, 11, 0.06);
}

.sg-bundle-line--explicit {
    background: rgba(99, 102, 241, 0.04);
}

.sg-bundle-line--included {
    background: rgba(16, 185, 129, 0.05);
}

.sg-bundle-line--addon .sg-bundle-line__price {
    color: var(--sg-primary);
    font-weight: 700;
}

.sg-bundle-line__name {
    color: var(--sg-dark);
    line-height: 1.4;
}

.sg-bundle-line__note {
    display: block;
    font-size: 0.72rem;
    color: var(--sg-muted);
    font-weight: 400;
}

.sg-bundle-line__price {
    white-space: nowrap;
    font-size: 0.82rem;
}

.sg-bundle-line__price.is-free {
    color: #10B981;
    font-weight: 600;
}

.sg-bundle-line__price.is-implied {
    color: #D97706;
    font-weight: 600;
    font-size: 0.78rem;
}

.sg-bundle-line__price.is-muted {
    color: var(--sg-muted);
}

.sg-bundle-line__price small {
    display: block;
    font-size: 0.68rem;
    font-weight: 400;
    color: var(--sg-muted);
}

.sg-bundle__explicit {
    margin-top: 0.5rem;
    font-size: 0.82rem;
    color: var(--sg-dark);
}

.sg-bundle-total__row--grand {
    margin-top: 0.35rem;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(123, 97, 255, 0.25);
}

.sg-bundle-total__note {
    font-size: 0.76rem;
    color: #D97706;
    margin: 0.25rem 0 0.5rem;
}

.sg-plan-card__reason {
    margin: 0.65rem 0 0;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 0.82rem;
    line-height: 1.5;
}

.sg-group-hint {
    margin: -0.25rem 0 0.65rem;
    font-size: 0.78rem;
    color: #D97706;
}

.sg-svc__dep {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.68rem;
    color: #D97706;
    font-weight: 500;
}

.sg-bundle {
    margin-top: 0.5rem;
}

.sg-bundle h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    color: var(--sg-dark);
}

.sg-bundle p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--sg-muted);
}

.sg-plan-card {
    border-radius: 16px;
    padding: 1.25rem;
    background: var(--sg-gradient);
    color: #fff;
    margin-bottom: 1.25rem;
    position: relative;
    overflow: hidden;
}

.sg-plan-card h3 { margin: 0 0 0.25rem; font-size: 1.35rem; position: relative; }

.sg-plan-card__badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    margin-bottom: 0.5rem;
}

.sg-plan-card__price {
    font-size: 1.5rem;
    font-weight: 800;
    position: relative;
}

.sg-plan-card__price small { font-size: 0.75rem; font-weight: 500; opacity: 0.85; }

.sg-plan-card p {
    margin: 0.5rem 0 0;
    font-size: 0.88rem;
    opacity: 0.92;
    position: relative;
}

.sg-shelves-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--sg-dark);
    margin-bottom: 0.85rem;
}

.sg-shelves { display: grid; gap: 0.75rem; }

.sg-shelf {
    border: 1.5px solid var(--sg-border);
    border-radius: 14px;
    padding: 1rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.85rem;
    align-items: start;
    cursor: pointer;
    transition: all 0.2s;
}

.sg-shelf:hover { border-color: rgba(123, 97, 255, 0.4); }

.sg-shelf.is-selected {
    border-color: var(--sg-primary);
    background: rgba(123, 97, 255, 0.04);
}

.sg-shelf__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--sg-bg);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    color: var(--sg-primary);
}

.sg-shelf__body h4 { margin: 0 0 0.2rem; font-size: 0.92rem; color: var(--sg-dark); }
.sg-shelf__body p { margin: 0; font-size: 0.8rem; color: var(--sg-muted); line-height: 1.45; }

.sg-shelf__meta { text-align: left; min-width: 90px; }
.sg-shelf__price { font-weight: 800; font-size: 0.9rem; color: var(--sg-dark); }
.sg-shelf__save { font-size: 0.72rem; color: #10B981; }

.sg-shelf__badge {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    background: rgba(123, 97, 255, 0.12);
    color: var(--sg-primary);
    font-size: 0.68rem;
    font-weight: 600;
}

.sg-summary {
    background: var(--sg-bg);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--sg-muted);
    line-height: 1.6;
}

.sg-summary strong { color: var(--sg-dark); }

.sg-hint { font-size: 0.8rem; color: var(--sg-muted); margin-top: 0.35rem; }

.sg-test-code {
    margin-top: 0.75rem;
    padding: 0.65rem 0.85rem;
    background: #FEF3C7;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #92400E;
}

.sg-alert {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.88rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sg-alert--error {
    background: #FEF2F2;
    color: #B91C1C;
    border: 1px solid #FECACA;
}

.sg-alert--info {
    background: #EFF6FF;
    color: #1D4ED8;
    border: 1px solid #BFDBFE;
}

.sg-alert--warn {
    background: #FFFBEB;
    color: #92400E;
    border: 1px solid #FDE68A;
    align-items: flex-start;
}

.sg-alert--warn ul {
    margin: 0.35rem 0 0;
    padding-right: 1.1rem;
    font-size: 0.82rem;
}

.sg-alert--warn p {
    margin: 0.15rem 0;
}

.sg-alert--warn strong {
    display: block;
    margin-bottom: 0.15rem;
}

.sg-actions {
    display: flex;
    gap: 0.65rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.sg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.8rem 1.35rem;
    border-radius: 12px;
    border: none;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.sg-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.sg-btn--primary {
    background: var(--sg-gradient);
    color: #fff;
    box-shadow: 0 6px 20px rgba(123, 97, 255, 0.3);
}

.sg-btn--primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(123, 97, 255, 0.4);
}

.sg-btn--ghost {
    background: #fff;
    color: var(--sg-muted);
    border: 1.5px solid var(--sg-border);
}

.sg-btn--ghost:hover:not(:disabled) {
    border-color: var(--sg-primary);
    color: var(--sg-primary);
}

.sg-btn__spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: sgSpin 0.7s linear infinite;
}

@keyframes sgSpin { to { transform: rotate(360deg); } }

.sg-svc__dep {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.68rem;
    color: #D97706;
    font-weight: 500;
}

/* Step 4 — live price bar */
.sg-live-price {
    margin-top: 1.25rem;
    padding: 1rem 1.15rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 163, 255, 0.07), rgba(123, 97, 255, 0.1));
    border: 1.5px solid rgba(123, 97, 255, 0.28);
    position: sticky;
    bottom: 0.5rem;
    z-index: 2;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
}

.sg-live-price__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.sg-live-price__label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--sg-dark);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.sg-live-price__sync {
    color: var(--sg-primary);
    font-size: 0.85rem;
    animation: sgSpin 1s linear infinite;
}

.sg-live-price__plan {
    font-size: 0.78rem;
    color: var(--sg-muted);
    margin-bottom: 0.55rem;
    line-height: 1.45;
}

.sg-live-price__plan span {
    color: #D97706;
}

.sg-live-price__rows {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 0.55rem;
}

.sg-live-price__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--sg-muted);
}

.sg-live-price__row strong {
    color: var(--sg-dark);
    font-size: 0.88rem;
}

.sg-live-price__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.55rem;
    border-top: 1px dashed rgba(123, 97, 255, 0.25);
    font-size: 0.9rem;
    color: var(--sg-dark);
}

.sg-live-price__total strong {
    font-size: 1.2rem;
    background: var(--sg-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sg-live-price__note,
.sg-live-price__hint,
.sg-live-price__next,
.sg-live-price__empty,
.sg-live-price__error {
    margin: 0.4rem 0 0;
    font-size: 0.74rem;
    line-height: 1.45;
}

.sg-live-price__hint {
    color: #10B981;
    font-weight: 600;
}

.sg-live-price__next {
    color: var(--sg-muted);
}

.sg-live-price__empty,
.sg-live-price__error {
    color: var(--sg-muted);
}

.sg-live-price__error {
    color: #B91C1C;
}

.sg-live-price__loading {
    font-size: 0.82rem;
    color: var(--sg-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sg-live-price__loading i {
    animation: sgSpin 1s linear infinite;
}

/* Step 5 — smart offer */
.sg-smart-offer {
    margin-bottom: 1rem;
    padding: 1rem 1.15rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(0, 163, 255, 0.08));
    border: 1.5px solid rgba(16, 185, 129, 0.28);
}

.sg-smart-offer__head {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.sg-smart-offer__head > i {
    font-size: 1.35rem;
    color: #10B981;
    margin-top: 0.1rem;
}

.sg-smart-offer__head strong {
    display: block;
    font-size: 0.95rem;
    color: var(--sg-dark);
}

.sg-smart-offer__head span {
    display: block;
    font-size: 0.78rem;
    color: var(--sg-muted);
    margin-top: 0.15rem;
}

.sg-smart-offer__match {
    margin: 0 0 0.65rem;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    font-size: 0.82rem;
}

.sg-smart-offer__match i {
    margin-left: 0.25rem;
}

.sg-smart-offer__card {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--sg-border);
    margin-bottom: 0.55rem;
}

.sg-smart-offer__card:last-child {
    margin-bottom: 0;
}

.sg-smart-offer__card--save {
    border-color: rgba(16, 185, 129, 0.35);
    background: rgba(16, 185, 129, 0.04);
}

.sg-smart-offer__card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.sg-smart-offer__card-body strong {
    display: block;
    font-size: 0.86rem;
    color: var(--sg-dark);
    margin-bottom: 0.2rem;
}

.sg-smart-offer__card-body p {
    margin: 0;
    font-size: 0.76rem;
    color: var(--sg-muted);
    line-height: 1.5;
}

.sg-smart-offer__plain {
    margin: 0;
    font-size: 0.8rem;
    color: var(--sg-muted);
}

.sg-loading { text-align: center; padding: 2rem; color: var(--sg-muted); }

.sg-loading i {
    font-size: 1.5rem;
    animation: sgSpin 1s linear infinite;
    display: block;
    margin-bottom: 0.5rem;
}

.sg-success { text-align: center; padding: 2rem 1rem; }
.sg-success i { font-size: 3rem; color: #10B981; margin-bottom: 0.75rem; }
.sg-success h3 { margin: 0 0 0.5rem; color: var(--sg-dark); }

.sg-footer-note {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.82rem;
    color: var(--sg-muted);
}

.sg-footer-note a { color: var(--sg-primary); text-decoration: none; }
