.card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--rl);
      padding:16px;

      transition:
        background-color .65s cubic-bezier(.22, .61, .36, 1),
        border-color .65s cubic-bezier(.22, .61, .36, 1),
        box-shadow .65s cubic-bezier(.22, .61, .36, 1);
    }


    .card-sm {
      padding: 12px 14px
    }

    .sm {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      display: inline-block;
      margin-right: 5px
    }

    .sg {
      background: var(--green);
      box-shadow: 0 0 5px var(--green)
    }

    .so {
      background: var(--orange);
      box-shadow: 0 0 5px var(--orange)
    }

    .sr {
      background: var(--red);
      box-shadow: 0 0 5px var(--red)
    }

    .sbr{
        display:flex;
        align-items:center;
        gap:8px;
        margin-bottom:10px;
        flex-wrap:wrap;
    }

    .sbr input{
        flex:1;
        min-width:220px;
        max-width:320px;
    }

    .nd {
      text-align: center;
      padding: 36px;
      color: var(--text3)
    }

    .bc {
      display: flex;
      align-items: flex-end;
      gap: 7px;
      height: 110px;
      margin-top: 6px
    }

    .bcol {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3px
    }

    .brect {
      width: 100%;
      border-radius: 3px 3px 0 0;
      background: var(--accent);
      opacity: .8;
      min-height: 3px
    }

    .blbl {
      font-size: 9px;
      color: var(--text3)
    }

    .ls {
      background: var(--bg3);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 10px;
      margin-bottom: 7px;
      display: grid;
      grid-template-columns: 1fr 110px 36px;
      gap: 7px;
      align-items: center
    }

    .tl-item {
      display: flex;
      gap: 10px;
      padding: 7px 0;
      border-bottom: 1px solid var(--border)
    }

    .tl-dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--accent);
      margin-top: 5px;
      flex-shrink: 0
    }

    .tl-est {
      font-weight: 600;
      font-size: 12px
    }

    .tl-fch {
      font-size: 10px;
      color: var(--text3)
    }

    .tl-not {
      font-size: 11px;
      color: var(--text2);
      margin-top: 2px
    }

    /* Search suggestions */
    .search-suggestions {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--bg2);
      border: 1px solid var(--accent);
      border-radius: 0 0 var(--r) var(--r);
      z-index: 300;
      max-height: 200px;
      overflow-y: auto
    }

    .search-sug-item {
      padding: 8px 12px;
      cursor: pointer;
      font-size: 12px;
      border-bottom: 1px solid var(--border);
      display: flex;
      justify-content: space-between;
      align-items: center
    }

    .search-sug-item:hover {
      background: var(--surface2);
      color: var(--accent)
    }

    .search-wrap {
      position: relative
    }


     .btn {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 7px 14px;
      border-radius: var(--r);
      border: 1.5px solid var(--accent2);
      cursor: pointer;
      font-family: var(--fb);
      font-size: 12px;
      font-weight: 600;
      text-decoration: none;
      background: transparent;
      color: #ffffff;
      letter-spacing: .3px;

      transition:
        background-color .45s cubic-bezier(.22, .61, .36, 1),
        border-color .45s cubic-bezier(.22, .61, .36, 1),
        color .45s cubic-bezier(.22, .61, .36, 1),
        box-shadow .45s cubic-bezier(.22, .61, .36, 1),
        transform .20s ease;
    }

    .btn:hover {
      background: var(--accent2);
      color: #000000;
      border-color: var(--accent2);

      transform: translateY(-1px);
    }

    .btn:active {
      transform: scale(.97);
    }

  #theme-toggle{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    height:46px;

    min-width:120px;

    padding:0 18px;

    border-radius:999px;

    background:rgba(255,255,255,.05);

    border:none;

    cursor:pointer;

    user-select:none;

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    box-shadow:

        inset 0 0 0 1px rgba(255,255,255,.05),

        0 6px 18px rgba(0,0,0,.18);

    transition:

        all .25s ease;

}

   #theme-toggle:hover{

    background:rgba(255,255,255,.08);

    box-shadow:

        inset 0 0 0 1px rgba(117,208,250,.25),

        0 10px 26px rgba(0,0,0,.28);

}

    .theme-track {

      width: 44px;

      height: 14px;

      border-radius: 999px;

      background: var(--surface);

      position: relative;

      border: 1px solid var(--border);

    }

    #theme-knob {

      position: absolute;

      top: -2px;

      left: -2px;

      width: 18px;

      height: 18px;

      border-radius: 50%;

      background: var(--accent);

      box-shadow:
        0 0 16px rgba(30, 144, 255, .65);

      transition:
        transform .45s cubic-bezier(.34, 1.56, .64, 1),
        background-color .35s ease,
        box-shadow .35s ease;

    }

    body:not(.light-mode) #theme-knob {

      transform: translateX(24px);

    }

    .theme-sun,
    .theme-moon {

      font-size: 15px;

      transition:
        transform .35s ease,
        opacity .35s ease,
        text-shadow .35s ease;

    }

    body.light-mode .theme-sun {

      transform: scale(1.15);

      text-shadow:
        0 0 10px rgba(255, 213, 79, .75);

    }

    body.light-mode .theme-moon {

      opacity: .55;

    }

    body:not(.light-mode) .theme-moon {

      transform: scale(1.15);

      text-shadow:
        0 0 10px rgba(117, 208, 250, .75);

    }

    body:not(.light-mode) .theme-sun {

      opacity: .55;

    }

    #theme-icon {
      display: inline-block;
      transition:
        transform .45s cubic-bezier(.22, .61, .36, 1);
    }

    #theme-icon.spin {
      transform: rotate(180deg);
    }
    

    #theme-toggle:active {

      transform: scale(.95);

    }

    .bp {
      background: var(--accent);
      color: #fff;
      border-color: var(--accent)
    }

    .bp:hover {
      background: var(--accent2);
      color: #000;
      border-color: var(--accent2)
    }

    .bs {
      background: rgba(0, 230, 118, .1);
      color: var(--green);
      border: 1.5px solid rgba(0, 230, 118, .4)
    }

    .bs:hover {
      background: #75d0fa;
      color: #000;
      border-color: #75d0fa
    }

    .bd {
      background: rgba(255, 23, 68, .08);
      color: var(--red);
      border: 1.5px solid rgba(255, 23, 68, .3)
    }

    .bd:hover {
      background: rgba(255, 23, 68, .2);
      color: #fff
    }

    .bg {
      background: transparent;
      color: #ffffff;
      border: 1.5px solid var(--accent2)
    }

    .bg:hover {
      background: var(--accent2);
      color: #000000
    }

    .bw {
      background: rgba(37, 211, 102, .12);
      color: #25d366;
      border: 1.5px solid rgba(37, 211, 102, .35)
    }

    .bw:hover {
      background: #75d0fa;
      color: #000;
      border-color: #75d0fa
    }

    .bsm {
      padding: 4px 9px;
      font-size: 11px
    }

    .bg-btn{
        display:flex;
        gap:6px;
        flex-wrap:wrap;
    }

    .sh{
        display:flex;
        align-items:center;
        justify-content:space-between;
        margin-bottom:10px;
    }

    .sh h2 {
      font-family: 'League Spartan', sans-serif;
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--text)
    }

    .al {
      border-radius: var(--r);
      padding: 10px 14px;
      font-size: 12px;
      margin-bottom: 10px
    }

    .al-r {
      background: rgba(255, 23, 68, .08);
      border: 1px solid rgba(255, 23, 68, .2);
      color: var(--red)
    }

    .al-o {
      background: rgba(255, 145, 0, .08);
      border: 1px solid rgba(255, 145, 0, .2);
      color: var(--orange)
    }

    .al-g {
      background: rgba(0, 230, 118, .08);
      border: 1px solid rgba(0, 230, 118, .2);
      color: var(--green)
    }

    .al-b {
      background: rgba(0, 212, 255, .08);
      border: 1px solid rgba(0, 212, 255, .2);
      color: var(--accent)
    }

    
    
    /* Cotizador embedded styles */
    .cot-wrap {
      background: #0b1528;
      border-radius: var(--rl);
      padding: 24px;
      min-height: 400px
    }

    ::-webkit-scrollbar {
      width: 5px;
      height: 5px
    }

    ::-webkit-scrollbar-track {
      background: var(--bg)
    }

    ::-webkit-scrollbar-thumb {
      background: var(--border);
      border-radius: 3px
    }

   