/* Instuly Pulse app: the new look. Loaded after the page's own styles, so it overrides them. */
:root{
  --ink:#12263F;--ink-soft:#4F6073;--paper:#F5F7FB;--paper-2:#EEF3FF;--line:#E3E8F0;
  --brand:#1F55E0;--brand-deep:#1844B8;
  --surveys:#1F55E0;--surveys-dim:rgba(31,85,224,.08);--surveys-line:rgba(31,85,224,.25);
  --cash:#0B7A53;--cash-dim:rgba(11,122,83,.10);--cash-line:rgba(11,122,83,.25);
  --font-d:'Plus Jakarta Sans',system-ui,sans-serif;--font-m:'Plus Jakarta Sans',system-ui,sans-serif;
}
html,body{font-family:'Plus Jakarta Sans',system-ui,sans-serif}
body{background:#F5F7FB;color:var(--ink);-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,h5,h6{font-family:var(--font-d);letter-spacing:-.015em;font-weight:700}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #7FA2FF;outline-offset:2px}
.text-muted-sm{color:#566579;font-size:.85rem}

/* header */
.navbar{background:#fff!important;backdrop-filter:none;border-bottom:1px solid #DDE4EE;padding:12px 0;position:sticky;top:0;z-index:1030}
.navbar .brand-mark{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:1.3rem;letter-spacing:-.02em;color:var(--ink)}
.navbar .brand-mark::before{content:"";flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:#1F55E0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3Cpath d='M8.5 12.2l2.4 2.3 4.6-4.8'/%3E%3C/svg%3E") center/20px 20px no-repeat}
#wallet-btn{background:#E3F5EC;border:0;color:#0B7A53;font-weight:800}
#wallet-btn:hover,#wallet-btn:focus-visible{background:#0B7A53;color:#fff}
#wallet-btn::before{content:"Balance ";font-weight:600}
#notif-bell-dot,#notif-bell-dot-mobile{background:#D1304F!important}

/* buttons */
.btn{border-radius:999px;font-weight:700;transition:background .15s,border-color .15s,transform .15s}
.btn:not(.btn-sm){padding-top:.6rem;padding-bottom:.6rem}
.btn-primary{--bs-btn-bg:#1F55E0;--bs-btn-border-color:#1F55E0;--bs-btn-hover-bg:#1844B8;--bs-btn-hover-border-color:#1844B8;--bs-btn-active-bg:#1844B8;background:#1F55E0;border-color:#1F55E0;color:#fff}
.btn-primary:hover{background:#1844B8;border-color:#1844B8}
.btn-success{--bs-btn-bg:#0B7A53;--bs-btn-border-color:#0B7A53;--bs-btn-hover-bg:#096645;--bs-btn-hover-border-color:#096645;background:#0B7A53;border-color:#0B7A53}
.btn-outline-secondary{--bs-btn-color:#12263F;--bs-btn-border-color:#BFCCE6;--bs-btn-hover-bg:#EEF3FF;--bs-btn-hover-border-color:#BFCCE6;--bs-btn-hover-color:#12263F;--bs-btn-active-bg:#EEF3FF;--bs-btn-active-color:#12263F;color:#12263F;border:1.5px solid #BFCCE6}
.btn-outline-secondary:hover{background:#EEF3FF;color:#12263F}
.btn-outline-danger{--bs-btn-color:#B4233E;--bs-btn-border-color:#E8B3BD;--bs-btn-hover-bg:#B4233E;--bs-btn-hover-border-color:#B4233E}

/* cards and rows */
.card{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:none}
.history-row{border-top:1px solid var(--line)}
.offer-card,.offer-card[class*="oc-"]{background:#fff;border:1px solid var(--line)!important;border-radius:18px!important;box-shadow:none}
.offer-card::before{height:4px}
.offer-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px -14px rgba(18,38,63,.25)}
.deal-card{border-radius:18px}
.payout-tag{font-family:var(--font-d);font-weight:800;font-size:1.25rem;color:var(--cash)}
.module-badge{font-family:var(--font-d);font-size:.68rem;letter-spacing:.03em;font-weight:700;padding:4px 10px!important;border-radius:999px!important}
.badge{font-weight:700;border-radius:999px}

/* tabs and pills */
.nav-pills{background:#fff;border:1px solid var(--line);border-radius:999px;padding:5px;box-shadow:none}
.nav-pills .nav-link{color:#566579;font-weight:700;font-size:.88rem;border-radius:999px;padding:8px 18px}
.nav-pills .nav-link.active{background:#1F55E0;color:#fff}
.nav-pills-category .nav-link{color:#566579;font-weight:700;font-size:.84rem;border-radius:999px;padding:8px 16px}

/* forms and popups */
.form-control,.form-select{border:1.5px solid #BFCCE6;border-radius:12px;min-height:44px;color:var(--ink)}
.form-control:focus,.form-select:focus{border-color:#1F55E0;box-shadow:0 0 0 .2rem rgba(31,85,224,.18)}
.form-control::placeholder{color:#6B7A8C}
.modal-content{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 30px 70px rgba(18,38,63,.22)}
.modal-header,.modal-footer{border-color:var(--line)!important}
.offcanvas{border-left:1px solid var(--line)}
.daily-poll-option{font-family:var(--font-d)}
.alert{border-radius:14px}

/* phones: keep the logo and the buttons on one line */
@media(max-width:575.98px){
  .navbar>.container{flex-wrap:nowrap;gap:8px}
  .navbar .brand-mark{font-size:1.1rem;gap:8px;white-space:nowrap;margin-right:0}
  .navbar .brand-mark::before{flex-basis:32px;width:32px;height:32px}
  #guest-nav-actions{flex:0 0 auto;gap:6px!important}
  #guest-nav-actions .btn{padding:.4rem .75rem;font-size:.8rem}
}

/* ---- logged-in screen: summary cards, left menu, page width ---- */
@media(min-width:1400px){.container{max-width:1280px}}
@media(min-width:1700px){.container{max-width:1280px}}

.pulse-hello{font-size:1.9rem;font-weight:800;letter-spacing:-.025em;margin:0;color:var(--ink)}
.pulse-hello-sub{margin:6px 0 0;color:#4F6073;font-size:1.02rem}
.pulse-stat{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;height:100%}
.pulse-stat-label{font-size:.82rem;font-weight:600;color:#4F6073}
.pulse-stat-value{margin-top:6px;font-size:2rem;font-weight:800;letter-spacing:-.02em;color:var(--cash)}
.pulse-stat-msg{margin-top:6px;font-size:1rem;font-weight:700;color:var(--ink)}
.pulse-bar{margin-top:14px;height:10px;background:#E6ECF5;border-radius:999px;overflow:hidden}
.pulse-bar-fill{height:10px;width:0;background:#1F55E0;border-radius:999px;transition:width .4s ease}
.pulse-bar-scale{display:flex;justify-content:space-between;margin-top:8px;font-size:.78rem;font-weight:600;color:#4F6073}

.pulse-side{background:#fff;border:1px solid var(--line);border-radius:20px;padding:14px!important}
#category-tabs .nav-link{color:var(--ink);font-weight:600;font-size:.92rem;padding:10px 12px!important;border-radius:12px!important}
#category-tabs .nav-link:hover{background:#EEF3FF}
#category-tabs .nav-link.active,.nav-pills-category.d-lg-none .nav-link.active{background:#1F55E0!important;color:#fff!important}
.sidebar-sticky-desktop a.p-2:hover{background:#EEF3FF}
#daily-poll-card{background:#fff!important;border:1px solid var(--line)!important;border-left:1px solid var(--line)!important}

/* ---- tasks and surveys as rows ---- */
#earn-tasks h4{font-size:1.35rem;font-weight:800;letter-spacing:-.02em}
#offers-list>[class*="col-"],#survey-sources>[class*="col-"]{flex:0 0 100%;max-width:100%;width:100%}
#offers-list .offer-card,#survey-sources .offer-card{flex-direction:row;align-items:center;gap:18px;padding:16px 20px 16px 24px!important}
#offers-list .offer-card::before,#survey-sources .offer-card::before{top:0;bottom:0;left:0;right:auto;width:4px;height:auto}
#offers-list .offer-card:hover,#survey-sources .offer-card:hover{transform:none;border-color:#BFCCE6!important;box-shadow:0 10px 26px -18px rgba(18,38,63,.35)}
#offers-list .offer-card>div:first-of-type,#survey-sources .offer-card>div:first-of-type{flex:1 1 auto;min-width:0}
#offers-list .offer-card>div:last-of-type,#survey-sources .offer-card>div:last-of-type{flex:0 0 auto;margin-top:0!important;gap:18px}
#offers-list .offer-card>img{width:96px!important;height:72px!important;margin:0!important;flex:0 0 96px;border-radius:12px!important}
#offers-list .offer-card h6,#survey-sources .offer-card h6{font-size:1rem;font-weight:700}
#offers-list .offer-card p,#survey-sources .offer-card p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#offers-list .offer-card .payout-tag,#survey-sources .offer-card .payout-tag{font-size:1.1rem;white-space:nowrap}
@media(max-width:575.98px){
  #offers-list .offer-card,#survey-sources .offer-card{flex-wrap:wrap;align-items:stretch;gap:12px}
  #offers-list .offer-card>div:first-of-type,#survey-sources .offer-card>div:first-of-type{flex:1 1 100%}
  #offers-list .offer-card>div:last-of-type,#survey-sources .offer-card>div:last-of-type{flex:1 1 100%;justify-content:space-between}
}

/* ---- promotion banner and tags ---- */
#promo-banner{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}
.promo-banner-row{display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:14px;background:#FFF4CC;border:1px solid #F1DC8B;color:#5C4500;font-weight:700;font-size:.95rem}
.promo-banner-row i{color:#C98A00;font-size:1.1rem}
.promo-tag{display:inline-flex;align-items:center;white-space:nowrap;font-size:.74rem;font-weight:800;padding:4px 10px;border-radius:999px;background:#E3F5EC;color:#0B7A53;border:1px solid #BFE5D2;margin-left:8px}
