:root{
  --bg:#050a08;
  --panel:#0b1411;
  --panel-2:#101c18;
  --line:#1d3029;
  --text:#f2fff9;
  --muted:#8fa69c;
  --green:#33e59a;
  --green-2:#18b978;
  --danger:#ff6b7a;
  --warning:#f5c451;
  --shadow:0 24px 70px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html{color-scheme:dark}
body{
  margin:0;
  min-height:100vh;
  background:
    radial-gradient(circle at 15% 10%,rgba(51,229,154,.08),transparent 30%),
    radial-gradient(circle at 85% 0%,rgba(24,185,120,.06),transparent 28%),
    var(--bg);
  color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.bg-grid{
  pointer-events:none;
  position:fixed;inset:0;opacity:.13;
  background-image:linear-gradient(rgba(51,229,154,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(51,229,154,.12) 1px,transparent 1px);
  background-size:38px 38px;
  mask-image:linear-gradient(to bottom,black,transparent 80%);
}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
.topbar{
  position:sticky;top:0;z-index:10;
  display:flex;align-items:center;justify-content:space-between;
  min-height:72px;padding:0 28px;
  background:rgba(5,10,8,.82);backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(51,229,154,.12)
}
.brand{display:flex;align-items:center;gap:10px;font-weight:850;letter-spacing:.08em}
.brand-mark{
  display:grid;place-items:center;width:34px;height:34px;border-radius:10px;
  background:linear-gradient(145deg,var(--green),var(--green-2));color:#02160e;font-weight:950;
  box-shadow:0 0 35px rgba(51,229,154,.22)
}
.top-actions{display:flex;align-items:center;gap:12px}
.user-mini{font-size:13px;color:var(--muted)}
.language select,.auth-language{
  background:#0b1712;border:1px solid var(--line);color:var(--text);
  padding:9px 34px 9px 12px;border-radius:10px;cursor:pointer
}
.link-button{border:0;background:transparent;color:var(--muted);cursor:pointer}
.link-button:hover,.text-link:hover{color:var(--green)}
.page{position:relative;z-index:1;width:min(1120px,calc(100% - 32px));margin:38px auto 80px}
.page.narrow{width:min(720px,calc(100% - 32px))}
.panel{
  background:linear-gradient(180deg,rgba(16,28,24,.96),rgba(9,17,14,.96));
  border:1px solid var(--line);border-radius:22px;padding:28px;box-shadow:var(--shadow)
}
.hero{display:flex;justify-content:space-between;gap:30px;align-items:center}
.hero h1,.panel h1{margin:6px 0 8px;font-size:clamp(30px,4vw,48px);letter-spacing:-.04em}
.eyebrow{font-size:11px;font-weight:800;letter-spacing:.18em;color:var(--green)}
.muted{color:var(--muted);line-height:1.65}
.hero-stats{display:grid;grid-template-columns:repeat(2,minmax(160px,1fr));gap:12px}
.stat{
  min-width:170px;padding:18px;border-radius:16px;background:#08110e;border:1px solid rgba(51,229,154,.12)
}
.stat span{display:block;font-size:12px;color:var(--muted);margin-bottom:8px}
.stat strong{font-size:20px}
.section-head{display:flex;align-items:end;justify-content:space-between;margin:32px 0 14px}
.section-head.compact{margin:0 0 18px;align-items:center}
.section-head h2{margin:4px 0 0;font-size:24px}
.service-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px}
.service-icon{
  width:58px;height:58px;border-radius:18px;display:grid;place-items:center;
  background:rgba(51,229,154,.1);border:1px solid rgba(51,229,154,.18);color:var(--green);font-size:30px
}
.service-copy h3{margin:0 0 6px;font-size:22px}
.service-copy p{margin:0 0 10px;color:var(--muted);line-height:1.55}
.chip{display:inline-flex;padding:6px 10px;border-radius:999px;background:#0a1914;border:1px solid var(--line);font-size:12px;color:#bfe9d7}
.primary-button,.secondary-button{
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:12px;padding:0 18px;font-weight:800;cursor:pointer
}
.primary-button{
  border:1px solid #4bf0aa;background:linear-gradient(145deg,var(--green),var(--green-2));color:#03170f;
  box-shadow:0 8px 30px rgba(51,229,154,.14)
}
.primary-button:hover{transform:translateY(-1px)}
.primary-button:disabled{opacity:.45;cursor:not-allowed;transform:none}
.secondary-button{border:1px solid var(--line);background:#0a1511;color:var(--text)}
.history{margin-top:18px}
.history-list{display:grid;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.history-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;background:#09120f}
.history-row strong,.history-row small{display:block}
.history-row small{margin-top:4px;color:var(--muted);font-size:11px}
.history-actions{display:flex;align-items:center;gap:14px}
.status{font-size:11px;text-transform:uppercase;letter-spacing:.08em}
.status.completed{color:var(--green)}
.status.failed{color:var(--danger)}
.status.processing{color:var(--warning)}
.text-link{color:var(--green);font-weight:700;font-size:13px}
.back-link{display:inline-block;margin-bottom:14px}
.auth-shell{position:relative;z-index:1;min-height:100vh;display:grid;place-items:center;padding:28px}
.auth-card{
  width:min(470px,100%);padding:30px;border-radius:24px;
  background:linear-gradient(180deg,rgba(16,28,24,.97),rgba(7,14,11,.97));
  border:1px solid var(--line);box-shadow:var(--shadow)
}
.auth-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:40px}
.auth-brand{font-size:14px}
.auth-card h1{font-size:38px;margin:8px 0}
.stack{display:grid;gap:16px;margin-top:26px}
label>span{display:block;font-size:12px;font-weight:700;color:#cfe1d9;margin:0 0 7px}
input{
  width:100%;height:48px;padding:0 14px;border-radius:12px;
  border:1px solid var(--line);background:#07100d;color:var(--text);outline:none
}
input:focus{border-color:rgba(51,229,154,.65);box-shadow:0 0 0 3px rgba(51,229,154,.08)}
.form-error,.warning-box{
  border-radius:12px;padding:12px 14px;font-size:13px;line-height:1.45
}
.form-error{background:rgba(255,107,122,.08);border:1px solid rgba(255,107,122,.22);color:#ffb2bb}
.warning-box{background:rgba(245,196,81,.07);border:1px solid rgba(245,196,81,.18);color:#ead49a}
.search-balance{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border:1px solid var(--line);border-radius:13px;background:#08110e;margin-top:22px}
.username-input{display:flex;align-items:center;border:1px solid var(--line);border-radius:12px;background:#07100d;overflow:hidden}
.username-input>span{padding-left:14px;color:var(--muted);font-weight:700}
.username-input input{border:0;background:transparent}
.cost-note{margin:0;color:var(--muted);font-size:13px}
.json-view{
  max-height:65vh;overflow:auto;padding:18px;background:#050b08;border:1px solid var(--line);
  border-radius:14px;color:#bfe9d7;font-size:12px;line-height:1.55;white-space:pre-wrap;word-break:break-word
}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){
  .topbar{padding:0 16px}.user-mini{display:none}
  .hero{align-items:stretch;flex-direction:column}.hero-stats{grid-template-columns:1fr 1fr}
  .service-card{grid-template-columns:auto 1fr}.service-card .primary-button{grid-column:1/-1}
  .history-row{align-items:flex-start;flex-direction:column}.history-actions{width:100%;justify-content:space-between}
}
@media(max-width:480px){
  .hero-stats{grid-template-columns:1fr}.stat{min-width:0}
  .top-actions{gap:6px}.language select{max-width:105px}
  .panel{padding:20px}.auth-card{padding:22px}.auth-head{margin-bottom:32px}
}


/* =========================================================
   INSTALKEA - INSTAGRAM RESULT
   ========================================================= */

.result-page{
    padding-bottom:100px;
}

.result-profile{
    position:relative;
    overflow:hidden;
}

.result-profile::before{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    border-radius:50%;
    right:-160px;
    top:-230px;
    background:radial-gradient(
        circle,
        rgba(51,229,154,.15),
        rgba(51,229,154,0) 68%
    );
    pointer-events:none;
}

.result-status{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:7px 11px;
    border:1px solid rgba(51,229,154,.18);
    border-radius:999px;
    background:rgba(51,229,154,.07);
    color:#bff6de;
    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.result-status-dot{
    display:block;
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--green);
    box-shadow:0 0 15px rgba(51,229,154,.75);
}

.profile-hero{
    position:relative;
    display:flex;
    align-items:center;
    gap:26px;
    margin-top:25px;
}

.profile-avatar-wrap{
    flex:0 0 auto;
}

.profile-avatar{
    width:112px;
    height:112px;
    border-radius:50%;
    display:block;
    object-fit:cover;
    background:#07100d;
    border:3px solid rgba(51,229,154,.32);
    box-shadow:
        0 0 0 7px rgba(51,229,154,.05),
        0 18px 45px rgba(0,0,0,.3);
}

.profile-avatar-placeholder{
    display:grid;
    place-items:center;
    font-size:34px;
    color:var(--green);
}

.profile-main h1{
    margin:0;
    font-size:clamp(29px,4vw,45px);
    letter-spacing:-.04em;
}

.profile-username{
    margin-top:5px;
    color:var(--muted);
    font-size:17px;
}

.profile-badges{
    display:flex;
    gap:8px;
    margin-top:14px;
}

.profile-badge{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:7px 11px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
}

.profile-badge.private{
    background:rgba(245,196,81,.08);
    border:1px solid rgba(245,196,81,.18);
    color:#e8cc82;
}

.profile-badge.public{
    background:rgba(51,229,154,.08);
    border:1px solid rgba(51,229,154,.18);
    color:#a9efd0;
}

.result-metrics{
    position:relative;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin-top:28px;
}

.result-metric{
    background:#07100d;
    border:1px solid var(--line);
    border-radius:14px;
    padding:16px;
}

.result-metric span{
    display:block;
    color:var(--muted);
    font-size:11px;
    margin-bottom:6px;
}

.result-metric strong{
    font-size:18px;
}

.result-section{
    margin-top:34px;
}

.instagram-post-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
}

.instagram-post-card{
    position:relative;
    aspect-ratio:1 / 1;
    overflow:hidden;
    border-radius:14px;
    background:#07100d;
    border:1px solid var(--line);
}

.instagram-post-image-wrap{
    width:100%;
    height:100%;
    position:relative;
}

.instagram-post-image{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .35s ease;
}

.instagram-post-card:hover .instagram-post-image{
    transform:scale(1.035);
}

.instagram-post-overlay{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:26px 12px 10px;
    display:flex;
    gap:14px;
    color:#fff;
    font-size:12px;
    font-weight:800;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.78),
        rgba(0,0,0,0)
    );
}

.result-empty-posts{
    margin-top:25px;
    text-align:center;
    color:var(--muted);
}

.related-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}

.related-card{
    display:flex;
    align-items:center;
    gap:15px;
    padding:16px;
    box-shadow:none;
    transition:
        border-color .2s ease,
        transform .2s ease,
        background .2s ease;
}

.related-card:hover{
    transform:translateY(-2px);
    border-color:rgba(51,229,154,.28);
    background:#101e19;
}

.related-avatar{
    flex:0 0 auto;
    width:54px;
    height:54px;
    border-radius:50%;
    object-fit:cover;
    background:#07100d;
    border:1px solid rgba(51,229,154,.18);
}

.related-avatar-placeholder{
    display:grid;
    place-items:center;
    color:var(--green);
}

.related-info{
    min-width:0;
}

.related-name{
    display:flex;
    align-items:center;
    gap:6px;
    min-width:0;
    font-weight:750;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.related-username{
    margin-top:3px;
    color:var(--muted);
    font-size:12px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.verified-badge{
    flex:0 0 auto;
    display:inline-grid;
    place-items:center;
    width:17px;
    height:17px;
    border-radius:50%;
    background:#2997ff;
    color:white;
    font-size:10px;
    font-weight:900;
}

@media(max-width:700px){

    .profile-hero{
        align-items:flex-start;
    }

    .profile-avatar{
        width:86px;
        height:86px;
    }

    .result-metrics{
        grid-template-columns:1fr;
    }

    .related-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:520px){

    .profile-hero{
        gap:17px;
    }

    .profile-avatar{
        width:72px;
        height:72px;
    }

    .profile-main h1{
        font-size:25px;
    }

    .profile-username{
        font-size:14px;
    }

    .instagram-post-grid{
        gap:4px;
    }

    .instagram-post-card{
        border-radius:7px;
    }
}



/* =========================================================
   INSTALKEA - MOBILE HEADER FIX
   ========================================================= */

.header-xp,
.header-xp strong,
.header-limit,
.link-button{
    white-space:nowrap;
}

.header-xp{
    flex-shrink:0;
}

.header-limit{
    flex-shrink:0;
}

.language{
    flex-shrink:0;
}

.link-button{
    flex-shrink:0;
}


@media(max-width:760px){

    .topbar{
        padding-left:12px;
        padding-right:12px;
    }

    .top-actions{
        flex-wrap:nowrap;
        gap:8px;
    }

    .header-xp{
        gap:3px;
    }

    .language select{
        min-width:70px;
        max-width:78px;
    }
}


@media(max-width:480px){

    .topbar{
        padding-left:8px;
        padding-right:8px;
    }

    .top-actions{
        gap:6px;
    }

    .header-xp,
    .header-limit,
    .link-button{
        font-size:14px;
    }

    .language select{
        min-width:66px;
        max-width:72px;
    }
}


/* =========================================================
   INSTALKEA - MOBILE HEADER FIX V2
   ========================================================= */

.header-xp,
.header-xp strong,
.header-limit,
.link-button {
    white-space: nowrap;
}

.header-xp,
.header-limit,
.language,
.link-button {
    flex-shrink: 0;
}

.top-actions {
    flex-wrap: nowrap;
}

@media (max-width: 480px) {

    .topbar {
        padding-left: 8px;
        padding-right: 8px;
        gap: 8px;
    }

    /*
     * No mobile mostramos somente o simbolo I.
     * O nome completo continua no desktop/tablet.
     */
    .brand > span:last-child {
        display: none;
    }

    .brand {
        flex: 0 0 auto;
    }

    .brand-mark {
        width: 46px;
        height: 46px;
    }

    .top-actions {
        margin-left: auto;
        gap: 7px;
        min-width: 0;
    }

    .header-xp {
        gap: 2px;
        font-size: 14px;
    }

    .header-xp strong {
        white-space: nowrap;
    }

    .header-xp-icon {
        font-size: 16px;
    }

    .header-limit,
    .link-button {
        font-size: 14px;
        white-space: nowrap;
    }

    .language select {
        min-width: 66px;
        width: 66px;
        max-width: 66px;
    }
}


/* MOBILE LANGUAGE SELECT FIX */
@media (max-width: 480px) {

    .language select {
        width: 76px;
        min-width: 76px;
        max-width: 76px;

        padding-left: 10px;
        padding-right: 24px;

        white-space: nowrap;
    }
}


/* === INSTALKEA NEW BRAND LOGO === */

.instalkea-header-brand,
.instalkea-auth-brand {
    text-decoration: none;
}

.instalkea-logo {
    display: block;
    width: auto;
    object-fit: contain;
}

/* Header desktop/tablet */
.instalkea-header-brand .instalkea-logo-full {
    display: block;
    width: 170px;
    height: auto;
    max-height: 46px;
}

.instalkea-header-brand .instalkea-logo-icon {
    display: none;
}

/* Login */
.instalkea-auth-brand .instalkea-login-logo {
    display: block;
    width: 205px;
    height: auto;
    max-height: 58px;
}

/* Mobile */
@media (max-width: 480px) {

    .instalkea-header-brand .instalkea-logo-full {
        display: none;
    }

    .instalkea-header-brand .instalkea-logo-icon {
        display: block;
        width: 46px;
        height: 46px;
        object-fit: contain;
    }

    /*
     * No login mantemos a logo completa,
     * inclusive no celular.
     */
    .instalkea-auth-brand .instalkea-login-logo {
        display: block;
        width: 185px;
        height: auto;
        max-height: 52px;
    }
}


/* === INSTALKEA MOCKUP THEME START === */

/*
 * Brand palette inspired by the Instalkea 3D product mockup.
 * Purple / Magenta / Pink / Orange / Yellow.
 */

:root {
    --bg: #070611;
    --panel: #0f0c1b;
    --panel-2: #171127;
    --line: #302342;

    --text: #fbf9ff;
    --muted: #aaa2b5;

    /*
     * Existing code uses --green as the main brand color.
     * We intentionally repurpose it for the new brand palette.
     */
    --green: #a855f7;
    --green-2: #ec4899;

    --brand-purple: #7c3aed;
    --brand-violet: #a855f7;
    --brand-magenta: #d946ef;
    --brand-pink: #ec4899;
    --brand-hot-pink: #ff2d8d;
    --brand-orange: #ff7a00;
    --brand-yellow: #ffc400;

    --success: #22c55e;
    --danger: #ff5f77;
    --warning: #ffc400;

    --brand-gradient:
        linear-gradient(
            100deg,
            #7c3aed 0%,
            #c026d3 30%,
            #ec4899 53%,
            #ff4b77 68%,
            #ff7a00 84%,
            #ffc400 100%
        );

    --shadow:
        0 24px 70px rgba(0,0,0,.45),
        0 0 40px rgba(124,58,237,.05);
}


/* =========================================================
   GLOBAL BACKGROUND
   ========================================================= */

body {
    background:
        radial-gradient(
            circle at 82% 4%,
            rgba(124,58,237,.20),
            transparent 31%
        ),
        radial-gradient(
            circle at 13% 78%,
            rgba(236,72,153,.11),
            transparent 31%
        ),
        radial-gradient(
            circle at 93% 72%,
            rgba(255,122,0,.06),
            transparent 25%
        ),
        var(--bg);
}


/* Grid background */

.bg-grid {
    opacity: .16;

    background-image:
        linear-gradient(
            rgba(168,85,247,.12) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(236,72,153,.09) 1px,
            transparent 1px
        );

    background-size: 38px 38px;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
    background:
        linear-gradient(
            90deg,
            rgba(7,6,17,.94),
            rgba(13,8,25,.94)
        );

    border-bottom:
        1px solid rgba(168,85,247,.20);

    box-shadow:
        0 8px 30px rgba(0,0,0,.18);
}


/* Language selector */

.language select,
.auth-language {
    background: #0d0a18;
    border: 1px solid rgba(168,85,247,.25);
    color: var(--text);
}

.language select:hover,
.auth-language:hover {
    border-color: rgba(236,72,153,.50);
}


/* XP */

.header-xp-icon {
    color: var(--brand-yellow);
}

.header-xp strong {
    color: #fff;
}


/* Logout / secondary header text */

.link-button {
    color: var(--muted);
}

.link-button:hover,
.text-link:hover {
    color: var(--brand-pink);
}


/* =========================================================
   PANELS / CARDS
   ========================================================= */

.panel {
    background:
        linear-gradient(
            150deg,
            rgba(23,17,39,.97),
            rgba(10,8,20,.98)
        );

    border:
        1px solid rgba(168,85,247,.20);

    box-shadow:
        0 24px 65px rgba(0,0,0,.34),
        0 0 35px rgba(124,58,237,.04);
}


/* Hero stats */

.stat {
    background:
        linear-gradient(
            145deg,
            #0b0916,
            #100c1c
        );

    border:
        1px solid rgba(168,85,247,.22);
}

.stat:hover {
    border-color: rgba(236,72,153,.35);
}


/* =========================================================
   EYEBROWS / BRAND ACCENTS
   ========================================================= */

.eyebrow {
    color: #d946ef;

    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


/* =========================================================
   INSTAGRAM SERVICE
   ========================================================= */

.service-icon {
    background:
        linear-gradient(
            145deg,
            rgba(124,58,237,.18),
            rgba(236,72,153,.12)
        );

    border:
        1px solid rgba(236,72,153,.28);

    color: #ec4899;

    box-shadow:
        inset 0 0 24px rgba(124,58,237,.07);
}


/* Small label */

.chip {
    background: #100c1c;

    border:
        1px solid rgba(168,85,247,.25);

    color: #d5c7e8;
}


/* =========================================================
   PRIMARY BUTTONS
   ========================================================= */

.primary-button {
    border:
        1px solid rgba(255,255,255,.10);

    background: var(--brand-gradient);

    color: #fff;

    text-shadow:
        0 1px 2px rgba(0,0,0,.18);

    box-shadow:
        0 10px 28px rgba(124,58,237,.25),
        0 6px 26px rgba(236,72,153,.12);

    transition:
        transform .18s ease,
        filter .18s ease,
        box-shadow .18s ease;
}

.primary-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);

    box-shadow:
        0 14px 34px rgba(124,58,237,.30),
        0 8px 28px rgba(236,72,153,.18);
}


/* Secondary buttons */

.secondary-button {
    border:
        1px solid rgba(168,85,247,.24);

    background:
        linear-gradient(
            145deg,
            #100c1c,
            #0b0915
        );

    color: var(--text);
}

.secondary-button:hover {
    border-color: rgba(236,72,153,.42);
}


/* =========================================================
   HISTORY / RECENT SEARCHES
   ========================================================= */

.history-list {
    background: rgba(168,85,247,.18);

    border:
        1px solid rgba(168,85,247,.20);
}

.history-row {
    background:
        linear-gradient(
            90deg,
            #0c0917,
            #100c1c
        );
}

.history-row:hover {
    background:
        linear-gradient(
            90deg,
            rgba(124,58,237,.08),
            rgba(236,72,153,.05)
        ),
        #0c0917;
}


/* Link actions */

.text-link {
    color: #d946ef;
}


/* Status colors remain semantic */

.status.completed {
    color: var(--success);
}

.status.failed {
    color: var(--danger);
}

.status.processing {
    color: var(--warning);
}


/* =========================================================
   LOGIN
   ========================================================= */

.auth-card {
    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(124,58,237,.13),
            transparent 35%
        ),
        linear-gradient(
            155deg,
            rgba(20,14,36,.98),
            rgba(8,7,17,.99)
        );

    border:
        1px solid rgba(168,85,247,.24);

    box-shadow:
        0 30px 80px rgba(0,0,0,.48),
        0 0 45px rgba(124,58,237,.06);
}


/* Form labels */

label > span {
    color: #ddd5e7;
}


/* Inputs */

input {
    background: #090713;

    border:
        1px solid rgba(168,85,247,.23);

    color: var(--text);
}

input:hover {
    border-color: rgba(168,85,247,.38);
}

input:focus {
    border-color: rgba(236,72,153,.72);

    box-shadow:
        0 0 0 3px rgba(124,58,237,.13),
        0 0 25px rgba(236,72,153,.06);
}


/* =========================================================
   SEARCH
   ========================================================= */

.search-balance {
    background: #0c0917;

    border:
        1px solid rgba(168,85,247,.22);
}

.username-input {
    background: #090713;

    border:
        1px solid rgba(168,85,247,.22);
}


/* =========================================================
   JSON / TECH PANELS
   ========================================================= */

.json-view {
    background: #070610;

    border:
        1px solid rgba(168,85,247,.22);

    color: #d6c9e9;
}


/* =========================================================
   RESULT PAGE SHARED ELEMENTS
   ========================================================= */

.result-status-dot {
    background: var(--success);
}


/* Existing components that use --green now inherit
   purple/pink from the new theme automatically. */


/* =========================================================
   SUBTLE BRAND GLOW
   ========================================================= */

.hero.panel,
.service-card.panel,
.history.panel {
    position: relative;
}

.hero.panel::before {
    content: "";
    position: absolute;

    width: 180px;
    height: 180px;

    right: -60px;
    top: -75px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(236,72,153,.09),
            transparent 70%
        );

    pointer-events: none;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 480px) {

    body {
        background:
            radial-gradient(
                circle at 85% 3%,
                rgba(124,58,237,.18),
                transparent 28%
            ),
            radial-gradient(
                circle at 5% 65%,
                rgba(236,72,153,.08),
                transparent 30%
            ),
            var(--bg);
    }

    .topbar {
        background: rgba(7,6,17,.96);
    }

}


/* === INSTALKEA MOCKUP THEME END === */



/* === INSTAGRAM OFFICIAL SERVICE LOGO === */

.instagram-service-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 7px;

    background:
        linear-gradient(
            145deg,
            rgba(124,58,237,.12),
            rgba(236,72,153,.08)
        );

    border:
        1px solid rgba(236,72,153,.28);

    border-radius: 18px;

    overflow: hidden;
}

.instagram-service-logo {
    display: block;

    width: 44px;
    height: 44px;

    object-fit: contain;
}


/* Mobile */
@media (max-width: 480px) {

    .instagram-service-icon {
        width: 58px;
        height: 58px;
        padding: 7px;
    }

    .instagram-service-logo {
        width: 44px;
        height: 44px;
    }

}



/* === INSTAGRAM SERVICE LOGO SIZE FIX === */

.service-icon.instagram-service-icon {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;

    flex: 0 0 58px !important;

    padding: 7px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    overflow: hidden !important;

    border-radius: 18px !important;
}

.service-icon.instagram-service-icon img.instagram-service-logo {
    display: block !important;

    width: 42px !important;
    height: 42px !important;

    min-width: 42px !important;
    min-height: 42px !important;

    max-width: 42px !important;
    max-height: 42px !important;

    object-fit: contain !important;

    position: static !important;
    inset: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
}



/* === INSTALKEA REGISTRATION PAGE === */

.register-card {
    width: min(100%, 520px);
}

.register-subtitle {
    max-width: 430px;
    margin-bottom: 18px;
}

.signup-bonus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    margin: 4px 0 22px;
    padding: 11px 16px;

    border: 1px solid rgba(255, 196, 0, .30);
    border-radius: 14px;

    background:
        linear-gradient(
            100deg,
            rgba(124,58,237,.14),
            rgba(236,72,153,.10),
            rgba(255,196,0,.08)
        );

    font-weight: 800;
    font-size: 14px;
}

.signup-bonus-icon {
    color: var(--brand-yellow);
    font-size: 18px;
}

.register-password-hint {
    margin-top: -6px;
    color: var(--muted);
    font-size: 12px;
}

.register-submit {
    width: 100%;
    margin-top: 4px;
}

.auth-switch {
    margin-top: 22px;
    padding-top: 19px;
    border-top: 1px solid var(--line);
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.auth-switch a {
    margin-left: 5px;
    color: var(--brand-pink);
    font-weight: 800;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {

    .register-card {
        width: 100%;
    }

    .signup-bonus {
        padding: 10px 12px;
    }
}


/* =========================================================
   INSTALKEA XP STORE
   ========================================================= */

.xp-store-page {
    max-width:1180px;
    margin:0 auto;
    padding-bottom:50px;
}


.xp-store-back {
    display:inline-block;
    margin-bottom:26px;
}


.xp-store-hero {
    text-align:center;
    margin:4px auto 36px;
    max-width:760px;
}


.xp-store-eyebrow {
    display:inline-block;
    margin-bottom:10px;

    font-size:12px;
    font-weight:900;
    letter-spacing:.18em;

    background:linear-gradient(
        90deg,
        #8b5cf6,
        #d946ef,
        #ec4899,
        #ff7a00
    );

    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}


.xp-store-hero h1 {
    margin:0;

    color:#fff;

    font-size:42px;
    line-height:1.12;
    font-weight:900;
}


.xp-store-subtitle {
    max-width:650px;

    margin:14px auto 0;

    color:var(--muted);

    font-size:17px;
    line-height:1.65;
}



/* PACKAGES */

.xp-packages {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));

    gap:18px;

    align-items:stretch;
}


.xp-package {
    position:relative;

    display:flex;
    flex-direction:column;
    align-items:center;

    min-height:370px;

    padding:32px 20px 22px;

    overflow:hidden;

    background:
        radial-gradient(
            circle at top,
            rgba(124,58,237,.12),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            #151020,
            #0c0914
        );

    border:1px solid #302342;
    border-radius:22px;

    box-shadow:
        0 20px 50px rgba(0,0,0,.30);

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


.xp-package:hover {
    transform:translateY(-4px);

    border-color:rgba(217,70,239,.55);

    box-shadow:
        0 25px 60px rgba(0,0,0,.38),
        0 0 28px rgba(124,58,237,.08);
}



/* MOST POPULAR */

.xp-package.popular {
    border-color:rgba(236,72,153,.60);

    box-shadow:
        0 22px 60px rgba(0,0,0,.38),
        0 0 34px rgba(236,72,153,.12);
}


.xp-package.best-value {
    border-color:rgba(255,122,0,.48);
}



/* BADGE */

.xp-package-badge {
    position:absolute;

    top:0;
    left:50%;

    transform:translateX(-50%);

    padding:7px 16px;

    border-radius:0 0 12px 12px;

    background:linear-gradient(
        90deg,
        #7c3aed,
        #d946ef,
        #ec4899,
        #ff7a00
    );

    color:#fff;

    font-size:10px;
    font-weight:900;
    letter-spacing:.08em;

    white-space:nowrap;
}


.xp-package.best-value .xp-package-badge {
    background:linear-gradient(
        90deg,
        #ec4899,
        #ff7a00,
        #ffc400
    );
}



/* ICON */

.xp-package-icon {
    display:flex;
    align-items:center;
    justify-content:center;

    width:54px;
    height:54px;

    margin:14px 0 17px;

    border-radius:16px;

    background:
        linear-gradient(
            145deg,
            rgba(124,58,237,.22),
            rgba(236,72,153,.14)
        );

    border:1px solid rgba(217,70,239,.28);

    color:#ffc400;

    font-size:24px;
}



/* XP */

.xp-package-amount {
    display:flex;
    align-items:baseline;
    justify-content:center;
    gap:7px;
}


.xp-package-amount strong {
    color:#fff;

    font-size:44px;
    line-height:1;
    font-weight:900;
}


.xp-package-amount span {
    color:#b9afc3;

    font-size:16px;
    font-weight:800;
}



/* PRICE */

.xp-package-price {
    display:flex;
    align-items:flex-start;
    justify-content:center;

    margin-top:24px;

    color:#fff;
}


.xp-package-price .currency {
    margin-top:5px;
    margin-right:3px;

    color:#ffc400;

    font-size:20px;
    font-weight:800;
}


.xp-package-price strong {
    font-size:45px;
    line-height:1;
    font-weight:900;
}


.xp-package-payment {
    margin-top:8px;

    color:#8f8799;

    font-size:12px;
}



/* BUY BUTTON */

.xp-buy-button {
    display:flex;
    align-items:center;
    justify-content:center;

    width:100%;

    margin-top:auto;
    padding:15px 12px;

    border-radius:13px;

    background:
        linear-gradient(
            90deg,
            #7c3aed,
            #d946ef,
            #ec4899,
            #ff7a00
        );

    color:#fff !important;

    text-decoration:none !important;

    font-size:14px;
    font-weight:900;

    box-shadow:
        0 10px 25px rgba(217,70,239,.18);

    transition:
        transform .15s ease,
        box-shadow .15s ease;
}


.xp-buy-button:hover {
    transform:translateY(-1px);

    box-shadow:
        0 14px 32px rgba(236,72,153,.27);
}



/* NOTE */

.xp-store-note {
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;

    max-width:740px;

    margin:26px auto 0;
    padding:14px 18px;

    border:1px solid rgba(255,196,0,.18);
    border-radius:14px;

    background:rgba(255,196,0,.035);

    color:#aaa2b5;

    font-size:13px;
    line-height:1.5;

    text-align:center;
}


.xp-store-note span {
    color:#ffc400;
}



/* TABLET */

@media (max-width:1000px) {

    .xp-packages {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

}


/* MOBILE */

@media (max-width:600px) {

    .xp-store-page {
        padding-bottom:30px;
    }


    .xp-store-hero {
        margin-bottom:26px;
    }


    .xp-store-hero h1 {
        font-size:32px;
    }


    .xp-store-subtitle {
        font-size:15px;
    }


    .xp-packages {
        grid-template-columns:1fr;
        gap:15px;
    }


    .xp-package {
        min-height:330px;
    }


    .xp-package-amount strong {
        font-size:40px;
    }


    .xp-package-price strong {
        font-size:41px;
    }

}


/* =========================================================
   INSTALKEA CONTENT LANGUAGE
   ========================================================= */

.register-content-language {
    margin: 0 0 22px;
    padding: 15px 16px;

    border: 1px solid #302342;
    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(124,58,237,.09),
            rgba(236,72,153,.045)
        );
}


.register-content-language-title {
    margin-bottom: 4px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
}


.register-content-language-value {
    margin-bottom: 6px;

    background:
        linear-gradient(
            90deg,
            #a855f7,
            #ec4899,
            #ff7a00
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    font-size: 17px;
    font-weight: 900;
}


.register-content-language-note {
    color: #aaa2b5;

    font-size: 12px;
    line-height: 1.55;
}



/* =========================================================
   INSTALKEA WHATSAPP SERVICE
   ========================================================= */

.whatsapp-service-card {
    margin-top: 18px;
}

.whatsapp-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    border-radius: 17px;

    border: 1px solid rgba(37, 211, 102, .30);

    background:
        linear-gradient(
            145deg,
            rgba(37, 211, 102, .10),
            rgba(18, 140, 126, .05)
        );
}

.whatsapp-service-logo {
    display: block;

    width: 42px;
    height: 42px;

    object-fit: contain;
}

@media (max-width: 700px) {

    .whatsapp-service-card {
        margin-top: 14px;
    }

}



/* =========================================================
   INSTALKEA WHATSAPP SEARCH + RESULTS
   ========================================================= */

.whatsapp-search-panel,
.whatsapp-result-panel {
    overflow: hidden;
}

.whatsapp-search-head,
.whatsapp-result-header {
    display: flex;
    align-items: center;
    gap: 18px;
}

.whatsapp-page-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 66px;
    height: 66px;

    flex: 0 0 66px;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(37,211,102,.14),
            rgba(18,140,126,.06)
        );

    border:
        1px solid
        rgba(37,211,102,.30);
}

.whatsapp-page-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.whatsapp-search-head h1,
.whatsapp-result-header h1 {
    margin: 3px 0 0;
}

.whatsapp-search-subtitle {
    margin-top: 22px;
}

.whatsapp-xp-info {
    display: grid;
    grid-template-columns:
        minmax(150px, .55fr)
        minmax(240px, 1.45fr);

    gap: 14px;

    margin-top: 26px;
}

.whatsapp-xp-info > div {
    padding: 17px 18px;

    border:
        1px solid
        var(--line);

    border-radius: 14px;

    background:
        rgba(255,255,255,.018);
}

.whatsapp-xp-info span {
    display: block;

    margin-bottom: 5px;

    color:
        var(--muted);

    font-size: 12px;
}

.whatsapp-xp-info strong {
    color: #fff;
    font-size: 20px;
}

.whatsapp-cost {
    display: flex;
    align-items: center;

    color: #f3e8ff;

    font-weight: 700;
}

.whatsapp-search-button,
.whatsapp-update-button,
.whatsapp-buy-xp {
    width: 100%;
    margin-top: 22px;
}

.whatsapp-empty-message {
    display: flex;
    flex-direction: column;
    gap: 8px;

    margin-top: 24px;
    padding: 18px;

    border-radius: 14px;

    border:
        1px solid
        rgba(255,196,0,.25);

    background:
        rgba(255,196,0,.045);

    color: #f7f2fa;
}

.whatsapp-empty-message span {
    color: #ffc400;
    font-size: 13px;
}

.whatsapp-visible-error {
    display: block;
    margin-top: 22px;
}

.whatsapp-conversation-frame {
    display: flex;
    justify-content: center;

    margin-top: 26px;
    padding: 20px;

    overflow: hidden;

    border-radius: 18px;

    border:
        1px solid
        var(--line);

    background:
        #08060d;
}

.whatsapp-conversation-image {
    display: block;

    width: auto;
    max-width: 100%;
    height: auto;

    max-height: 1100px;

    border-radius: 12px;
}

@media (max-width: 650px) {

    .whatsapp-search-head,
    .whatsapp-result-header {
        align-items: flex-start;
    }

    .whatsapp-page-icon {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
    }

    .whatsapp-page-icon img {
        width: 42px;
        height: 42px;
    }

    .whatsapp-xp-info {
        grid-template-columns: 1fr;
    }

    .whatsapp-conversation-frame {
        padding: 10px;
    }
}



/* =========================================================
   WHATSAPP PHONE SEARCH
   ========================================================= */

.whatsapp-phone-panel,
.whatsapp-loading-panel,
.whatsapp-result-panel {
    overflow: hidden;
}

.whatsapp-search-head,
.whatsapp-loading-brand,
.whatsapp-result-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.whatsapp-page-icon {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 18px;

    border:
        1px solid rgba(37,211,102,.28);

    background:
        rgba(37,211,102,.07);
}

.whatsapp-page-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.whatsapp-search-subtitle {
    margin-top: 20px;
}

.whatsapp-xp-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;

    margin: 24px 0;
}

.whatsapp-xp-summary > div {
    padding: 14px 16px;

    border:
        1px solid var(--line);

    border-radius: 13px;

    background:
        rgba(255,255,255,.018);
}

.whatsapp-xp-summary small {
    display: block;

    margin-bottom: 4px;

    color: var(--muted);
}

.whatsapp-xp-summary strong {
    font-size: 19px;
}

.whatsapp-phone-form {
    margin-top: 24px;
}

.whatsapp-phone-form label {
    display: block;

    margin-bottom: 8px;

    font-weight: 700;
}

.whatsapp-country-row,
.whatsapp-phone-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-country-flag {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 25px;

    border:
        1px solid var(--line);

    border-radius: 12px;

    background:
        rgba(255,255,255,.025);
}

.whatsapp-dial-prefix {
    min-width: 68px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 12px;

    border:
        1px solid var(--line);

    border-radius: 12px;

    background:
        rgba(255,255,255,.025);

    color: #fff;

    font-weight: 700;
}

.whatsapp-full-button {
    width: 100%;
    margin-top: 18px;
}


/* Loading terminal */

.whatsapp-target-pill,
.whatsapp-result-phone {
    margin-top: 22px;

    padding: 11px 14px;

    border:
        1px solid var(--line);

    border-radius: 12px;

    color: var(--muted);

    background:
        rgba(255,255,255,.018);
}

.whatsapp-target-pill strong,
.whatsapp-result-phone strong {
    color: #fff;
}

.whatsapp-terminal {
    overflow: hidden;

    margin-top: 22px;

    border:
        1px solid #282333;

    border-radius: 15px;

    background: #070a08;

    box-shadow:
        inset 0 0 30px rgba(0,0,0,.45);
}

.whatsapp-terminal-top {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 14px;

    border-bottom:
        1px solid #252a25;

    color: #7d887f;

    font-size: 12px;
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3d473f;
}

.whatsapp-terminal-output {
    height: 280px;

    overflow-y: auto;

    padding: 16px;

    font-family:
        "Courier New",
        monospace;

    font-size: 13px;

    line-height: 1.65;

    color: #8cf3a6;
}

.whatsapp-terminal-line {
    margin-bottom: 5px;

    animation:
        whatsappLogIn .18s ease-out;
}

.whatsapp-terminal-line.success {
    color: #25d366;
    font-weight: 700;
}

@keyframes whatsappLogIn {

    from {
        opacity: 0;
        transform:
            translateY(3px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}

.whatsapp-progress-wrap {
    margin-top: 20px;
}

.whatsapp-progress-meta {
    display: flex;
    justify-content: space-between;

    margin-bottom: 8px;

    font-size: 13px;
}

.whatsapp-progress-meta span {
    color: var(--muted);
}

.whatsapp-progress-track {
    height: 8px;

    overflow: hidden;

    border-radius: 20px;

    background:
        rgba(255,255,255,.07);
}

.whatsapp-progress-bar {
    width: 0;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #7c3aed,
            #d946ef,
            #ec4899,
            #ff7a00
        );

    transition:
        width .7s linear;
}


/* Conversation result */

.whatsapp-language-notice {
    display:flex;
    gap:14px;
    align-items:flex-start;

    margin-top:22px;
    padding:16px 18px;

    border:1px solid rgba(124,58,237,.28);
    border-radius:14px;

    background:
        linear-gradient(
            135deg,
            rgba(124,58,237,.08),
            rgba(217,70,239,.035)
        );
}

.whatsapp-language-notice-icon {
    display:flex;
    align-items:center;
    justify-content:center;

    flex:0 0 38px;
    width:38px;
    height:38px;

    border:1px solid rgba(124,58,237,.28);
    border-radius:10px;

    background:rgba(124,58,237,.10);

    font-size:19px;
    line-height:1;
}

.whatsapp-language-notice-content {
    min-width:0;
}

.whatsapp-language-notice-badge {
    display:inline-block;

    margin-bottom:5px;

    color:#c4b5fd;

    font-size:11px;
    font-weight:700;
    letter-spacing:.05em;
    text-transform:uppercase;
}

.whatsapp-language-notice-content strong {
    display:block;

    color:var(--text);
    font-size:15px;
}

.whatsapp-language-notice-content p {
    margin:6px 0 0;

    color:var(--muted);
    font-size:13px;
    line-height:1.55;
}

.whatsapp-conversation-frame {
    display: flex;
    justify-content: center;

    margin-top: 22px;

    padding: 14px;

    border:
        1px solid var(--line);

    border-radius: 16px;

    background: #08070d;
}

.whatsapp-conversation-image {
    display: block;

    max-width: 100%;
    width: auto;
    height: auto;

    border-radius: 10px;
}

.whatsapp-empty-message {
    margin-top: 20px;

    padding: 14px;

    border:
        1px solid rgba(255,196,0,.25);

    border-radius: 12px;

    color: #ffc400;

    background:
        rgba(255,196,0,.045);
}


@media (max-width: 620px) {

    .whatsapp-xp-summary {
        grid-template-columns:
            1fr 1fr;
    }

    .whatsapp-page-icon {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

    .whatsapp-page-icon img {
        width: 40px;
        height: 40px;
    }

    .whatsapp-terminal-output {
        height: 250px;
        font-size: 12px;
    }

}



/* =========================================================
   WHATSAPP DASHBOARD HISTORY
   ========================================================= */

.whatsapp-history-panel {
    margin-top: 28px;
}

.whatsapp-history-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 22px;
}

.whatsapp-history-heading h2 {
    margin:
        3px 0 0;
}

.whatsapp-history-heading-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.whatsapp-history-empty {
    margin:
        12px 0 4px;
}

.whatsapp-history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.whatsapp-history-item {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 14px 16px;

    border:
        1px solid var(--line);

    border-radius: 14px;

    background:
        rgba(255,255,255,.018);

    color: var(--text);

    text-decoration: none;

    transition:
        border-color .18s ease,
        background .18s ease,
        transform .18s ease;
}

.whatsapp-history-item:hover {
    border-color:
        rgba(37,211,102,.35);

    background:
        rgba(37,211,102,.035);

    transform:
        translateY(-1px);
}

.whatsapp-history-icon {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    border:
        1px solid
        rgba(37,211,102,.25);

    background:
        rgba(37,211,102,.06);
}

.whatsapp-history-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.whatsapp-history-main {
    min-width: 0;
    flex: 1;
}

.whatsapp-history-phone {
    display: block;

    font-size: 16px;

    color: #fff;
}

.whatsapp-history-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;

    margin-top: 5px;

    color: var(--muted);

    font-size: 12px;
}

.whatsapp-history-meta span {
    position: relative;
}

.whatsapp-history-meta span:not(:last-child)::after {
    content: "•";

    margin-left: 12px;

    opacity: .45;
}

.whatsapp-history-action {
    display: flex;
    align-items: center;
    gap: 8px;

    color:
        #d8b4fe;

    font-size: 13px;

    font-weight: 700;
}

.whatsapp-history-action strong {
    font-size: 18px;
}


@media (max-width: 650px) {

    .whatsapp-history-action span {
        display: none;
    }

    .whatsapp-history-item {
        padding:
            12px;
    }

    .whatsapp-history-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .whatsapp-history-icon img {
        width: 31px;
        height: 31px;
    }

}



/* =========================================================
   DASHBOARD - SERVICES ACTION
   ========================================================= */

.services-heading {
    align-items: center;
}

.buy-xp-button {
    white-space: nowrap;
}


/* =========================================================
   INSTAGRAM DASHBOARD HISTORY
   ========================================================= */

.instagram-history-panel {
    margin-top: 28px;
}

.instagram-history-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 22px;
}

.instagram-history-heading h2 {
    margin: 3px 0 0;
}

.instagram-history-heading-logo {
    width: 42px;
    height: 42px;

    object-fit: contain;
}


/* =========================================================
   INSTAGRAM UPDATE BUTTON
   ========================================================= */

.instagram-update-button {
    appearance: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;

    padding: 0 14px;

    border-radius: 9px;

    border:
        1px solid
        rgba(255,255,255,.15);

    background:
        linear-gradient(
            135deg,
            #9333ea,
            #d946ef
        );

    color: #ffffff !important;

    font-size: 13px;
    font-weight: 800;

    line-height: 1;

    text-decoration: none;

    text-shadow:
        0 1px 2px
        rgba(0,0,0,.28);

    box-shadow:
        0 6px 20px
        rgba(147,51,234,.22);

    cursor: pointer;

    transition:
        transform .18s ease,
        filter .18s ease,
        box-shadow .18s ease;
}

.instagram-update-button:hover {
    color: #ffffff !important;

    transform:
        translateY(-1px);

    filter:
        brightness(1.12);

    box-shadow:
        0 9px 25px
        rgba(217,70,239,.28);
}

.instagram-update-button:focus-visible {
    outline:
        2px solid
        rgba(255,255,255,.9);

    outline-offset:
        2px;
}


/* =========================================================
   MOBILE DASHBOARD ACTIONS
   ========================================================= */

@media (max-width: 650px) {

    .services-heading {
        align-items: flex-start;
        gap: 14px;
    }

    .buy-xp-button {
        min-height: 40px;
        padding: 0 14px;
    }

    .instagram-history-heading {
        margin-bottom: 18px;
    }

    .instagram-history-heading-logo {
        width: 38px;
        height: 38px;
    }

    .history-actions {
        gap: 10px;
        flex-wrap: wrap;
    }

    .instagram-update-button {
        min-height: 38px;
        padding: 0 12px;
    }
}

@media (max-width: 480px) {

    .services-heading {
        flex-direction: column;
    }

    .buy-xp-button {
        width: 100%;
    }

    .instagram-history-heading-logo {
        width: 34px;
        height: 34px;
    }
}



/* =========================================================
   BUY MORE XP - PREMIUM CTA
   ========================================================= */

.buy-xp-button {
    border:
        1px solid rgba(255,255,255,.14);

    background:
        linear-gradient(
            135deg,
            #7c3aed 0%,
            #a855f7 48%,
            #ec4899 100%
        );

    color: #ffffff !important;

    font-weight: 900;

    text-shadow:
        0 1px 2px rgba(0,0,0,.24);

    box-shadow:
        0 10px 28px rgba(124,58,237,.28),
        0 7px 24px rgba(236,72,153,.16);

    transition:
        transform .18s ease,
        filter .18s ease,
        box-shadow .18s ease;
}

.buy-xp-button:hover {
    color: #ffffff !important;

    transform:
        translateY(-1px);

    filter:
        brightness(1.10);

    box-shadow:
        0 14px 34px rgba(124,58,237,.34),
        0 9px 28px rgba(236,72,153,.22);
}

.buy-xp-button:focus-visible {
    outline:
        2px solid rgba(255,255,255,.92);

    outline-offset:
        3px;
}


/* WhatsApp language notice refinement */

.whatsapp-language-notice {
    display:flex !important;
    align-items:flex-start;
    gap:14px;

    margin:18px 0 4px;
    padding:16px 18px;

    border:1px solid rgba(168,85,247,.28);
    border-radius:14px;

    background:
        linear-gradient(
            135deg,
            rgba(124,58,237,.10),
            rgba(217,70,239,.045)
        );
}

.whatsapp-language-notice-icon {
    display:flex !important;
    align-items:center;
    justify-content:center;

    flex:0 0 38px;
    width:38px;
    height:38px;

    border:1px solid rgba(168,85,247,.28);
    border-radius:10px;

    background:rgba(124,58,237,.12);

    font-size:19px;
    line-height:1;
}

.whatsapp-language-notice-content {
    flex:1;
    min-width:0;
}

.whatsapp-language-notice-badge {
    margin-bottom:4px;

    color:#c4b5fd;

    font-size:11px;
    font-weight:700;
    letter-spacing:.055em;
    text-transform:uppercase;
}

.whatsapp-language-notice-content strong {
    display:block;

    margin-bottom:4px;

    color:var(--text);

    font-size:15px;
    font-weight:700;
}

.whatsapp-language-notice-content p {
    margin:0;

    color:var(--muted);

    font-size:13px;
    line-height:1.5;
}

.whatsapp-language-notice-note {
    margin-top:7px;

    color:var(--text);

    font-size:13px;
    font-weight:700;
    line-height:1.45;
}

@media (max-width:620px) {

    .whatsapp-language-notice {
        gap:11px;
        padding:14px;
    }

    .whatsapp-language-notice-icon {
        flex-basis:34px;
        width:34px;
        height:34px;

        font-size:17px;
    }

    .whatsapp-language-notice-content p,
    .whatsapp-language-notice-note {
        font-size:12.5px;
    }
}


/* WhatsApp result - definitive mobile header */

@media (max-width: 620px) {

    .whatsapp-result-panel {
        overflow:hidden;
    }

    .whatsapp-result-header {
        display:flex !important;
        flex-direction:column !important;
        align-items:flex-start !important;
        gap:12px !important;
    }

    .whatsapp-result-header .whatsapp-page-icon {
        width:58px !important;
        height:58px !important;
        min-width:58px !important;
        flex:0 0 58px !important;
        margin:0 !important;
    }

    .whatsapp-result-header .whatsapp-page-icon img {
        display:block !important;
        width:42px !important;
        height:42px !important;
        object-fit:contain !important;
    }

    .whatsapp-result-header > div:last-child {
        display:block !important;
        width:100% !important;
        min-width:0 !important;
    }

    .whatsapp-result-header .eyebrow {
        margin:0 0 6px !important;
    }

    .whatsapp-result-header h1 {
        display:block !important;
        width:100% !important;

        margin:0 !important;

        font-size:clamp(32px, 9vw, 44px) !important;
        line-height:1.04 !important;

        white-space:normal !important;
        overflow-wrap:normal !important;
        word-break:normal !important;
    }

    .whatsapp-result-phone {
        margin-top:22px !important;
    }

}

/* =========================================================
   SMS SERVICE ICON
   ========================================================= */

.sms-service-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 7px;
}

.sms-service-icon .sms-service-logo {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    object-fit: contain;
    display: block;
}



/* === LOGIN COMPACT LANGUAGE SELECTOR === */

.auth-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
}

.auth-head .instalkea-auth-brand {
    flex:1 1 auto;
    min-width:0;
}

.auth-head .auth-language {
    flex:0 0 92px;
    width:92px;
    min-width:92px;
    max-width:92px;
    padding:9px 28px 9px 12px;
}

@media (max-width: 600px) {

    .auth-head {
        gap:10px;
    }

    .auth-head .instalkea-auth-brand {
        flex:1 1 auto;
        min-width:0;
    }

    .auth-head
    .instalkea-auth-brand
    .instalkea-login-logo {
        width:165px;
        max-width:100%;
        height:auto;
        object-fit:contain;
    }

    .auth-head .auth-language {
        flex:0 0 88px;
        width:88px;
        min-width:88px;
        max-width:88px;
        padding-left:10px;
        padding-right:26px;
        font-size:14px;
    }
}

/* === END LOGIN COMPACT LANGUAGE SELECTOR === */


/* =========================================================
   BUY XP - COMMERCIAL CTA
   ========================================================= */

.buy-xp-cta {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:7px;
}

.buy-xp-button {
    position:relative;
    overflow:hidden;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-height:48px;

    padding-left:28px;
    padding-right:28px;

    isolation:isolate;

    will-change:
        transform,
        box-shadow;
}

.buy-xp-button-label {
    position:relative;
    z-index:3;
}


/*
 * Classic premium shine.
 * A soft light passes across the CTA.
 */
.buy-xp-button::after {
    content:"";

    position:absolute;
    z-index:2;

    top:-45%;
    left:-60%;

    width:38%;
    height:190%;

    pointer-events:none;

    transform:
        rotate(18deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.28),
            transparent
        );

    filter:
        blur(1px);

    animation:
        instalkeaXpShine
        5.8s
        ease-in-out
        infinite;
}


/*
 * Microcopy.
 */
.buy-xp-microcopy {
    display:block;

    max-width:260px;

    color:
        rgba(226,218,239,.82);

    font-size:12px;
    font-weight:650;

    line-height:1.25;

    text-align:center;

    letter-spacing:.01em;
}


/*
 * Low balance.
 * Slow, classic commercial pulse.
 */
.buy-xp-low {
    animation:
        instalkeaXpPulse
        2.8s
        ease-in-out
        infinite;
}


/*
 * Critical balance.
 */
.buy-xp-critical {
    animation:
        instalkeaXpCritical
        2.35s
        ease-in-out
        infinite;
}


/*
 * Zero XP.
 */
.buy-xp-empty {
    animation:
        instalkeaXpEmpty
        2.15s
        ease-in-out
        infinite;
}


/*
 * Unlimited accounts should not receive
 * artificial urgency.
 */
.buy-xp-unlimited {
    animation:none;
}

.buy-xp-unlimited::after {
    animation:
        instalkeaXpShine
        7.5s
        ease-in-out
        infinite;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes instalkeaXpShine {

    0%,
    58% {
        left:-60%;
        opacity:0;
    }

    64% {
        opacity:.85;
    }

    78% {
        left:135%;
        opacity:.35;
    }

    82%,
    100% {
        left:135%;
        opacity:0;
    }
}


@keyframes instalkeaXpPulse {

    0%,
    100% {
        transform:scale(1);

        box-shadow:
            0 10px 28px rgba(124,58,237,.28),
            0 7px 24px rgba(236,72,153,.16);
    }

    50% {
        transform:scale(1.025);

        box-shadow:
            0 12px 34px rgba(124,58,237,.40),
            0 9px 29px rgba(236,72,153,.25);
    }
}


@keyframes instalkeaXpCritical {

    0%,
    100% {
        transform:scale(1);

        box-shadow:
            0 10px 28px rgba(124,58,237,.32),
            0 7px 24px rgba(236,72,153,.20);
    }

    50% {
        transform:scale(1.035);

        box-shadow:
            0 14px 38px rgba(124,58,237,.48),
            0 10px 32px rgba(236,72,153,.34);
    }
}


@keyframes instalkeaXpEmpty {

    0%,
    100% {
        transform:scale(1);

        box-shadow:
            0 11px 30px rgba(124,58,237,.34),
            0 8px 26px rgba(236,72,153,.23);
    }

    50% {
        transform:scale(1.045);

        box-shadow:
            0 15px 42px rgba(124,58,237,.54),
            0 11px 36px rgba(236,72,153,.40);
    }
}


/* Hover always wins over the pulse */

.buy-xp-button:hover {
    animation-play-state:paused;

    transform:
        translateY(-2px)
        scale(1.025);

    filter:
        brightness(1.12)
        saturate(1.06);
}


/* =========================================================
   MOBILE BUY XP
   ========================================================= */

@media (max-width: 650px) {

    .buy-xp-cta {
        align-items:center;
    }

    .buy-xp-microcopy {
        font-size:11px;
    }
}


@media (max-width: 480px) {

    .buy-xp-cta {
        width:100%;
    }

    .buy-xp-button {
        width:100%;
    }

    .buy-xp-microcopy {
        max-width:100%;
    }
}


/*
 * Respect reduced-motion accessibility.
 */
@media (prefers-reduced-motion: reduce) {

    .buy-xp-button,
    .buy-xp-button::after {
        animation:none !important;
    }
}

/* =========================================================
   END BUY XP COMMERCIAL CTA
   ========================================================= */


/* =========================================================
   BUY XP CTA - LAYOUT FIX
   ========================================================= */

.services-heading > .buy-xp-cta {
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:5px !important;

    flex:0 0 auto;
}

.services-heading > .buy-xp-cta .buy-xp-button {
    width:auto;
    min-width:190px;
}

.services-heading > .buy-xp-cta .buy-xp-microcopy {
    display:block;

    width:100%;
    max-width:270px;

    margin:0;

    text-align:center !important;

    font-size:12px;
    line-height:1.3;

    white-space:nowrap;
}


/* Mobile */

@media (max-width: 650px) {

    .services-heading > .buy-xp-cta {
        width:100%;
        align-items:center !important;
    }

    .services-heading > .buy-xp-cta .buy-xp-button {
        width:100%;
        min-width:0;
    }

    .services-heading > .buy-xp-cta .buy-xp-microcopy {
        width:100%;
        max-width:none;

        text-align:center !important;

        white-space:normal;

        font-size:12px;

        margin-top:1px;
    }
}

/* =========================================================
   END BUY XP CTA - LAYOUT FIX
   ========================================================= */

/* =========================================================
   DASHBOARD XP CTA POSITION
   ========================================================= */

.dashboard-xp-cta-section {
    display:flex;
    justify-content:flex-end;

    margin:
        28px 0
        18px;
}

.dashboard-xp-cta-section .buy-xp-cta {
    width:auto;
    min-width:250px;
}

.dashboard-xp-cta-section .buy-xp-button {
    width:100%;
}

.services-heading {
    margin-top:18px;
}


/* Mobile */

@media (max-width: 650px) {

    .dashboard-xp-cta-section {
        width:100%;
        justify-content:center;

        margin:
            24px 0
            30px;
    }

    .dashboard-xp-cta-section .buy-xp-cta {
        width:100%;
    }

    .dashboard-xp-cta-section .buy-xp-button {
        width:100%;
    }

    .services-heading {
        margin-top:0;
    }
}

/* =========================================================
   END DASHBOARD XP CTA POSITION
   ========================================================= */

/* =========================================================
   DASHBOARD XP CTA - MOBILE REFINEMENT
   ========================================================= */

@media (max-width: 650px) {

    .dashboard-xp-cta-section {
        margin:
            18px 0
            22px;
    }

    .dashboard-xp-cta-section .buy-xp-cta {
        width:100%;
        align-items:center !important;
    }

    .dashboard-xp-cta-section .buy-xp-button {
        width:88% !important;
        max-width:560px;
        margin:0 auto;
    }

    .dashboard-xp-cta-section .buy-xp-microcopy {
        margin-top:3px;
    }

    .services-heading {
        margin-top:4px;
    }
}

/* =========================================================
   END DASHBOARD XP CTA - MOBILE REFINEMENT
   ========================================================= */

/* =========================================================
   DASHBOARD XP CTA - DESKTOP BALANCE
   ========================================================= */

@media (min-width: 651px) {

    .dashboard-xp-cta-section {
        display:flex;
        justify-content:center;
        width:100%;

        margin:
            26px 0
            24px;
    }

    .dashboard-xp-cta-section .buy-xp-cta {
        width:300px;
        min-width:300px;

        align-items:center !important;
    }

    .dashboard-xp-cta-section .buy-xp-button {
        width:100%;
        min-width:0;
    }

    .dashboard-xp-cta-section .buy-xp-microcopy {
        width:100%;
        max-width:none;

        text-align:center !important;
        white-space:nowrap;
    }

    .services-heading {
        margin-top:0;
    }
}

/* =========================================================
   END DASHBOARD XP CTA - DESKTOP BALANCE
   ========================================================= */

/* =========================================================
   IN-SERVICE XP RECHARGE CTA
   ========================================================= */

.xp-recharge-button {
    position:relative;
    overflow:hidden;

    background:
        linear-gradient(
            135deg,
            #7c3aed 0%,
            #a855f7 48%,
            #ec4899 100%
        ) !important;

    border:
        1px solid rgba(255,255,255,.15) !important;

    color:#fff !important;

    font-weight:900;

    text-decoration:none;

    text-shadow:
        0 1px 2px rgba(0,0,0,.24);

    box-shadow:
        0 10px 30px rgba(124,58,237,.30),
        0 7px 24px rgba(236,72,153,.18);

    transition:
        transform .18s ease,
        filter .18s ease,
        box-shadow .18s ease;
}

.xp-recharge-button:hover {
    transform:translateY(-2px);
    filter:brightness(1.12);

    box-shadow:
        0 14px 36px rgba(124,58,237,.38),
        0 9px 30px rgba(236,72,153,.25);
}

.xp-recharge-button::after {
    content:"";

    position:absolute;
    top:-50%;
    left:-65%;

    width:38%;
    height:200%;

    pointer-events:none;

    transform:rotate(18deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.28),
            transparent
        );

    animation:
        instalkeaRechargeShine
        5.8s
        ease-in-out
        infinite;
}

.xp-recharge-microcopy {
    margin-top:7px;

    color:
        rgba(226,218,239,.82);

    font-size:12px;
    font-weight:650;

    line-height:1.35;

    text-align:center;
}

@keyframes instalkeaRechargeShine {

    0%,
    58% {
        left:-65%;
        opacity:0;
    }

    64% {
        opacity:.85;
    }

    78% {
        left:135%;
        opacity:.35;
    }

    82%,
    100% {
        left:135%;
        opacity:0;
    }
}

@media (prefers-reduced-motion: reduce) {

    .xp-recharge-button::after {
        animation:none !important;
    }
}

/* =========================================================
   END IN-SERVICE XP RECHARGE CTA
   ========================================================= */


/* =========================================================
   XP STORE - 100 XP COMMERCIAL FOCUS
   ========================================================= */

.xp-package.popular {
    position:relative;

    box-shadow:
        0 18px 50px rgba(236,72,153,.11),
        0 0 0 1px rgba(236,72,153,.08);

    animation:
        instalkeaPopularCardGlow
        3.2s
        ease-in-out
        infinite;
}


/* 100 XP CTA */

.xp-package.popular .xp-buy-button {
    position:relative;
    overflow:hidden;

    font-weight:900;

    box-shadow:
        0 10px 30px rgba(124,58,237,.30),
        0 8px 26px rgba(236,72,153,.22);

    animation:
        instalkeaPopularButtonPulse
        2.8s
        ease-in-out
        infinite;
}


/* Classic commercial shine */

.xp-package.popular .xp-buy-button::after {
    content:"";

    position:absolute;

    top:-55%;
    left:-65%;

    width:36%;
    height:210%;

    pointer-events:none;

    transform:rotate(18deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.30),
            transparent
        );

    animation:
        instalkeaPopularShine
        5.4s
        ease-in-out
        infinite;
}


.xp-package-commercial-note {
    margin-top:12px;

    color:
        rgba(226,218,239,.78);

    font-size:12px;
    font-weight:650;

    line-height:1.4;

    text-align:center;
}


.xp-package.popular
.xp-package-commercial-note {
    color:
        rgba(244,220,239,.90);
}


@keyframes instalkeaPopularCardGlow {

    0%,
    100% {
        box-shadow:
            0 18px 50px rgba(236,72,153,.10),
            0 0 0 1px rgba(236,72,153,.08);
    }

    50% {
        box-shadow:
            0 20px 58px rgba(236,72,153,.20),
            0 0 0 1px rgba(236,72,153,.18);
    }
}


@keyframes instalkeaPopularButtonPulse {

    0%,
    100% {
        transform:scale(1);

        box-shadow:
            0 10px 30px rgba(124,58,237,.30),
            0 8px 26px rgba(236,72,153,.22);
    }

    50% {
        transform:scale(1.025);

        box-shadow:
            0 14px 38px rgba(124,58,237,.42),
            0 10px 32px rgba(236,72,153,.34);
    }
}


@keyframes instalkeaPopularShine {

    0%,
    58% {
        left:-65%;
        opacity:0;
    }

    64% {
        opacity:.90;
    }

    78% {
        left:135%;
        opacity:.35;
    }

    83%,
    100% {
        left:135%;
        opacity:0;
    }
}


.xp-package.popular
.xp-buy-button:hover {
    animation-play-state:paused;

    transform:
        translateY(-2px)
        scale(1.025);

    filter:
        brightness(1.12)
        saturate(1.06);
}


@media (prefers-reduced-motion: reduce) {

    .xp-package.popular,
    .xp-package.popular .xp-buy-button,
    .xp-package.popular .xp-buy-button::after {
        animation:none !important;
    }
}

/* =========================================================
   END XP STORE - 100 XP COMMERCIAL FOCUS
   ========================================================= */

/* =========================================================
   XP STORE - PAYMENT / CTA SPACING
   ========================================================= */

.xp-package-payment {
    margin-bottom:18px;
}

.xp-package .xp-buy-button {
    margin-top:0;
}

.xp-package-commercial-note {
    margin-top:14px;
}


/* Extra breathing room for featured packages */

.xp-package.popular .xp-package-payment,
.xp-package.best-value .xp-package-payment {
    margin-bottom:22px;
}


@media (max-width: 650px) {

    .xp-package-payment {
        margin-bottom:22px;
    }

    .xp-package.popular .xp-package-payment,
    .xp-package.best-value .xp-package-payment {
        margin-bottom:26px;
    }

    .xp-package-commercial-note {
        margin-top:16px;
        padding:0 10px;
    }
}

/* =========================================================
   END XP STORE - PAYMENT / CTA SPACING
   ========================================================= */

/* =========================================================
   MOBILE HORIZONTAL OVERFLOW PROTECTION
   ========================================================= */

html,
body {
    width:100%;
    max-width:100%;
    overflow-x:hidden;
}

body {
    position:relative;
}

.topbar {
    width:100%;
    max-width:100%;
}

.page,
.admin-wrap {
    max-width:100%;
}

img,
svg,
video,
canvas {
    max-width:100%;
}

/*
 * Prevent flex/grid children from forcing
 * the whole viewport wider on mobile.
 */
.topbar > *,
.page > *,
.admin-wrap > * {
    min-width:0;
}

@media (max-width: 760px) {

    .topbar {
        overflow:hidden;
    }

    .page,
    .admin-wrap {
        overflow-x:visible;
    }
}

/* =========================================================
   END MOBILE HORIZONTAL OVERFLOW PROTECTION
   ========================================================= */

/* =========================================================
   MOBILE HEADER - FINAL COMPACT LAYOUT
   ========================================================= */

@media (max-width: 600px) {

    .topbar {
        width:100%;
        max-width:100%;

        min-height:68px;

        padding-left:10px !important;
        padding-right:10px !important;

        gap:8px !important;

        display:flex;
        align-items:center;
        justify-content:space-between;

        overflow:hidden;
    }


    /* Brand */

    .instalkea-header-brand {
        flex:0 0 46px !important;

        width:46px;
        min-width:46px;
        max-width:46px;

        overflow:visible;
    }

    .instalkea-header-brand .instalkea-logo-full {
        display:none !important;
    }

    .instalkea-header-brand .instalkea-logo-icon {
        display:block !important;

        width:44px !important;
        height:44px !important;

        min-width:44px !important;
        max-width:44px !important;

        object-fit:contain;
    }


    /* Right side */

    .top-actions {
        flex:1 1 auto;

        min-width:0;

        margin-left:auto;

        display:flex;
        align-items:center;
        justify-content:flex-end;

        flex-wrap:nowrap !important;

        gap:8px !important;
    }


    /* XP */

    .header-xp {
        flex:0 0 auto;

        display:inline-flex;
        align-items:center;

        gap:3px !important;

        font-size:14px !important;

        white-space:nowrap;
    }

    .header-xp-icon {
        font-size:17px !important;
        line-height:1;
    }

    .header-xp strong {
        font-size:14px !important;
        white-space:nowrap;
    }


    /* Language */

    .language {
        flex:0 0 68px !important;

        width:68px;
        min-width:68px;
        max-width:68px;
    }

    .language select {
        width:68px !important;
        min-width:68px !important;
        max-width:68px !important;

        height:42px;

        padding:
            0
            22px
            0
            10px !important;

        font-size:14px !important;

        border-radius:10px;

        white-space:nowrap;
    }


    /* Logout */

    .link-button {
        flex:0 0 auto;

        padding:0 !important;

        font-size:13px !important;

        white-space:nowrap;
    }
}


@media (max-width: 390px) {

    .topbar {
        padding-left:8px !important;
        padding-right:8px !important;

        gap:5px !important;
    }

    .instalkea-header-brand {
        flex-basis:42px !important;

        width:42px;
        min-width:42px;
        max-width:42px;
    }

    .instalkea-header-brand .instalkea-logo-icon {
        width:40px !important;
        height:40px !important;

        min-width:40px !important;
        max-width:40px !important;
    }

    .top-actions {
        gap:6px !important;
    }

    .header-xp,
    .header-xp strong {
        font-size:13px !important;
    }

    .header-xp-icon {
        font-size:15px !important;
    }

    .language {
        flex-basis:62px !important;

        width:62px;
        min-width:62px;
        max-width:62px;
    }

    .language select {
        width:62px !important;
        min-width:62px !important;
        max-width:62px !important;

        padding-left:8px !important;
        padding-right:19px !important;

        font-size:13px !important;
    }

    .link-button {
        font-size:12px !important;
    }
}

/* =========================================================
   END MOBILE HEADER - FINAL COMPACT LAYOUT
   ========================================================= */
