:root {

  --clr-green:  #16a34a;

  --clr-red:    #dc2626;

  --clr-blue:   #2457D6;

  --clr-purple: #663db3;

  --clr-border: #e5e7eb;

  --clr-muted:  #6b7280;

  --clr-accent: #663db3;

}

.container {

  max-width: 1350px;

}

@media (max-width: 1500px) {

  .container {

    max-width: 1320px;

  }

}

@media (max-width: 1199.98px) {

  

 

  .container {

    max-width: 960px;

  }

}

body { background: #fff; color: #111827; font-size: 14px; }

.tgmenu__navbar-wrap > ul li a{

  font-size: 16px;

}

/* ── HEADER ── */

.brand-title { font-size: 1.75rem; font-weight: 700; line-height: 1.2; }

.brand-sub   { font-size: 0.8rem; color: #212121; }



/* ── STAT CARDS ── */

.stat-card   { border: 1px solid var(--clr-border); border-radius: 8px; padding: 16px 18px; background: #fff; position: relative; }

.sc-label    { font-size: 0.75rem; color: var(--clr-muted); font-weight: 500; margin-bottom: 6px; }

.sc-value    { font-size: 1.45rem; font-weight: 700; margin-bottom: 3px; }

.sc-sub      { font-size: 0.72rem; color: var(--clr-muted); }

.sc-icon     { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; }

.sc-green {background: #16a34a14;}

.sc-red{    background: #ffedec;}

.sc-blue{    background: #eaf8ff;}

.sc-green .sc-value { color: var(--clr-green); }

.sc-green .sc-icon  { background: #dcfce7; color: var(--clr-green); }

.sc-red   .sc-value { color: var(--clr-red); }

.sc-red   .sc-icon  { background: #fee2e2; color: var(--clr-red); }

.sc-blue  .sc-value { color: var(--clr-blue); }

.sc-blue  .sc-icon  { background: #e0f2fe; color: #0284c7; }

.sc-purple .sc-icon { background: #ede9fe; color: var(--clr-purple); }

.sc-purple{background: #eee0ff;}

.sc-purple .sc-value{color: #6329c7}



.budget-btn:hover{

  background: #212121 !important;

}

.form-control::placeholder {

  font-size: 0.92rem;

}

/* ── TABS ── */

.tab-nav { border: 1px solid var(--clr-border); border-radius: 8px; overflow: hidden; }

.tab-nav .nav-link {

  border: none; border-right: 1px solid var(--clr-border);

  border-radius: 0; padding: 10px 6px;

  font-size: 0.88rem; font-weight: 500; color: var(--clr-muted);

  background: none; white-space: nowrap;

}

.tab-nav .nav-link:last-child { border-right: none; }

.tab-nav .nav-link:hover  { color: var(--clr-accent); }

.tab-nav .nav-link.active { color: #663db3; font-weight: 600; background: #fbf4f4; }



/* ── TAB PANELS ── */

.tab-panel        { display: none; }

.tab-panel.active { display: block; }



/* ── CARDS ── */

.bt-card       { border: 1px solid var(--clr-border); border-radius: 8px; background: #fff; }

.bt-card-title {font-size: 1rem;font-weight: 700;}

.bt-card-sub   {font-size: 0.82rem;color: #663db3;}



/* ── TAGS ── */

.tag { font-size: 0.72rem; font-weight: 500; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--clr-border); cursor: pointer; color: var(--clr-blue); background: #fff; user-select: none; transition: all .12s; }

.tag:hover, .tag.on { background: #eef2ff; border-color: #a5b4fc; }



/* ── QUICK ACTIONS ── */

.qa-btn { display: flex; align-items: center; gap: 12px; padding: 11px 18px; border-top: 1px solid var(--clr-border); background: #fff; font-size: 0.82rem; color: #111827;  font-weight: 400; border-left: none; border-right: none; border-bottom: none; width: 100%; text-align: left; transition: background .12s; cursor: pointer; }

.qa-btn:hover { background: #f9fafb; }

.qa-icon { width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.78rem; flex-shrink: 0; }



/* ── TRANSACTION ROWS ── */

.txn-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f3f4f6; }

.txn-row:last-child { border-bottom: none; }

.txn-ico  { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; }

.txn-name { font-size: 0.83rem; font-weight: 600; }

.txn-meta { font-size: 0.7rem; color: var(--clr-muted); }

.txn-amt  { font-size: 0.88rem; font-weight: 700; }

.txn-amt.inc { color: var(--clr-green); }

.txn-amt.exp { color: var(--clr-red); }

.btn-del  { background: none; border: none; color: #d1d5db; cursor: pointer; font-size: 0.78rem; padding: 3px 5px; transition: color .12s; }

.btn-del:hover { color: var(--clr-red); }



/* ── BUDGET BARS ── */

.bgt-head { display: flex; justify-content: space-between; font-size: 0.78rem; font-weight: 600; margin-bottom: 5px; }

.bgt-sub  { font-size: 0.7rem; color: var(--clr-muted); margin-top: 3px; }



/* ── GOAL ROWS ── */

.goal-name  { font-size: 0.85rem; font-weight: 700; }

.goal-badge { font-size: 0.68rem; font-weight: 600; padding: 2px 9px; border-radius: 99px; }

.goal-amts  { display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--clr-muted); }



/* ── ACCOUNT ROWS ── */

.acc-ico  { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }

.acc-name { font-size: 0.84rem; font-weight: 700; }

.acc-type { font-size: 0.7rem; color: var(--clr-muted); }

.acc-bal  { font-size: 1rem; font-weight: 700; color: var(--clr-blue); }



/* ── ANALYTICS CHART ── */

.chart-wrap { height: 160px; display: flex; align-items: flex-end; gap: 8px; padding: 0 2px; }

.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }

.bar-grp { width: 100%; display: flex; flex-direction: column; gap: 2px; align-items: center; justify-content: flex-end; flex: 1; }

.bar { width: 60%; border-radius: 4px 4px 0 0; min-height: 3px; }

.bar.i { background: var(--clr-green); }

.bar.e { background: var(--clr-red); opacity: .7; }

.bar-lbl    { font-size: 0.62rem; color: var(--clr-muted); font-weight: 600; }

.legend-dot { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }



/* ── EMPTY STATE ── */

.empty   { text-align: center; padding: 28px 0; color: var(--clr-muted); font-size: 0.82rem; }

.empty i { font-size: 1.6rem; margin-bottom: 8px; opacity: .22; display: block; }



/* ── TOAST ── */

#toast { position: fixed; bottom: 22px; right: 22px; background: #1e293b; color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 0.8rem; font-weight: 500; display: none; z-index: 9999; }



/* ── FOOTER ── */

footer { margin-top: 60px; border-top: 1px solid var(--clr-border); }

.footer-logo-box { width: 28px; height: 28px; border-radius: 6px; background: var(--clr-blue); display: flex; align-items: center; justify-content: center; }

.footer-brand-name { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }

.footer-brand-name span { color: var(--clr-blue); }

.footer-col-head { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }

.footer-col a { display: block; font-size: 0.78rem; color: var(--clr-muted); text-decoration: none; margin-bottom: 7px; }

.footer-col a:hover { color: #111827; }

.card-visa { background: #1a1f71; color: #fff; border-radius: 4px; padding: 2px 8px; font-size: 0.68rem; font-weight: 700; font-style: italic; }

.footer-copy { font-size: 0.73rem; color: var(--clr-muted); }

.footer-links a { font-size: 0.73rem; color: var(--clr-muted); text-decoration: none; }

.footer-links a:hover { color: #111827; }



/* ── MODAL TWEAKS ── */

.modal-sub   { font-size: 0.75rem; color: var(--clr-blue); font-weight: 500; }

.modal-title { font-size: 1rem !important; font-weight: 700 !important; }

.modal-header { border-bottom: none; padding-bottom: 0; }

.modal-footer { border-top: none; }

.btn-bt-primary  { background: var(--clr-accent); color: #fff; border: none; font-size: 0.82rem; font-weight: 600; padding: 8px 20px; border-radius: 6px;  transition: background .15s; }

.btn-bt-primary:hover { background: #2828b8; color: #fff; }

.btn-bt-cancel   { background: none; border: 1px solid var(--clr-border); border-radius: 6px; padding: 8px 18px; font-size: 0.82rem; font-weight: 500; color: #111827;  transition: background .12s; }

.btn-bt-cancel:hover { background: #f9fafb; }



/* ── BOOTSTRAP FORM OVERRIDES ── */

.form-control, .form-select { font-size: 0.92rem !important;  border-color: var(--clr-border); border-radius: 6px;    padding: 10px 10px; }

.form-control:focus, .form-select:focus { border-color: var(--clr-accent); box-shadow: 0 0 0 2px rgba(59,59,219,.08); }

.form-label {font-size: 0.9rem;font-weight: 500;margin-bottom: 4px;}

.form-check-label { font-size: 0.8rem; }

.form-check-input:checked { background-color: var(--clr-accent); border-color: var(--clr-accent); }



/* ── FILTER SEARCH INPUT GROUP ── */

.input-group-text { background: #fff; border-color: var(--clr-border); }

.input-group:focus-within .input-group-text,

.input-group:focus-within .form-control { border-color: var(--clr-accent); }

.input-group .form-control:focus { box-shadow: none; }



/* ── ADD TRANSACTION BUTTON ── */

.btn-add-txn { background: #663db3; color: #fff; border: none; border-radius: 10px; padding: 10px; font-size: 0.85rem; font-weight: 600; width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; transition: background .15s;  cursor: pointer; }

.btn-add-txn:hover { background: #212121; color: #fff }

.btn-add-txn.sm { padding: 7px 14px; font-size: 0.78rem; width: auto; }



.wrap{

  padding: 60px 15px;

}

input ::placeholder {

  font-size: 14px !important;  /* change as needed */

}

@media (max-width: 991px){

.sc-value{

  font-size: 20px;

}

}

@media (max-width: 767px){

.brand-sub{

  padding-bottom: 20px;

}

}



@media (max-width: 435px){

.tab-nav{

  overflow-x: scroll;

}

}



/* login page */

.login-wrapper {

    display: flex;

    height: 100vh;

}

.left-panel {

    width: 48%;

    padding: 36px 56px;

    display: flex;

    flex-direction: column;

}

.right-panel {

    width: 52%;

    position: relative;

}

.right-panel img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.right-panel .overlay {

    position: absolute;

    inset: 0;

    background: rgb(213 91 241 / 20%);

}



#my-widget-popup{

      top: auto !important;

    bottom: 20px !important;

}

#widget-content{

    bottom: 0px !important;

    top: auto !important;

}

