/* HEADER WRAPPER */
.lt-header {
    background: #151a20;
    height: 64px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    color: white;
    font-family: 'Roboto', sans-serif;
}

.lt-header-inner {
    height: 64px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.lt-logo img {
    height: 21px;
    width: 96px;
}

/* TOP NAVIGATION */
.lt-nav .lt-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 64px;
    align-items: center;
}

/* KĻŪDAS FOKUSS: Nodrošina, ka pele neaizbēg no .lt-item (hover zonas) */
.lt-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.lt-link {
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: .2s;
    display: block;
}

.lt-link:hover {
    opacity: .7;
}

/* DROPDOWN - Mēs izņemam :hover no CSS, lai to kontrolētu JS */

/* DROPDOWN - Mēs izņemam :hover no CSS, lai to kontrolētu JS */
.lt-dropdown {
    position: absolute;
    /* Nulificējam atstarpes starp nolaižamo elementu un hover zonu.
       Top: 64px ir header augstums. Lai pārklātos, sākums jāsamazina.*/
    top: 64px !important;
    left: 0;

    /* Vizuālais labojums: samazinām augšējo malu, lai tas izskatītos labi */
    margin-top: 0;
    padding-top: 12px; /* Atstājam padding satura atdalīšanai */

    background: #1f252c;
    padding-bottom: 12px;
    min-width: 240px;
    border-radius: 6px;
    list-style: none;
    margin-bottom: 0;

    /* Paslēpj pēc noklusējuma ar vizuālajām pārejām */
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.1s ease-in-out, visibility 0.1s ease-in-out;
}

/* KLASES, KO AKTIVIZĒ JAVASCRIPT */
.lt-dropdown-open {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.lt-dropdown li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 18px;
    display: block;
    font-size: 14px;
}

/* LANGUAGE SWITCHER - Atstājam CSS kontroli, jo tas nav problemātisks */
.lt-lang {
    position: relative;
    cursor: pointer;
}

.lt-lang-current {
    border: 1px solid #fff3;
    padding: 4px 12px;
    border-radius: 6px;
}

.lt-lang-dropdown {
    display: none;
    background: #1f252c;
    position: absolute;
    top: 36px;
    left: 0;
    list-style: none;
    padding: 6px 0;
    min-width: 80px;
    border-radius: 6px;
}

.lt-lang-dropdown li a {
    display: block;
    padding: 6px 12px;
    color: #fff;
    text-decoration: none;
}

.lt-lang:hover .lt-lang-dropdown {
    display: block;
}

/* MOBILE - Atstājam nemainīgu */
.lt-burger {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.lt-burger span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 3px;
}

@media(max-width: 960px){
    .lt-nav, .lt-lang {
        display: none;
    }
    .lt-burger {
        display: flex;
    }

    .lt-mobile-menu {
        background: #151a20;
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        height: calc(100vh - 64px);
        display: none;
        flex-direction: column;
        padding: 20px;
        gap: 18px;
    }

    .lt-mobile-menu a {
        color: white;
        font-size: 18px;
        padding: 6px 0;
        display: block;
    }
}

.lt-mobile-open .lt-mobile-menu {
    display: flex;
}


.lt-header-inner {
    position: relative; /* vajag absolūtajai centrēšanai */
}

.lt-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    height: 64px;
    display: flex;
    align-items: center;
    font-size: 21px;
    font-weight: 650;
    color: #fff;
    white-space: nowrap;
    cursor: pointer;
    pointer-events: none; /* lai netraucē klikšķus logo u.c. */
}

@media(max-width: 960px){
  .lt-title { display: none; }
}


    .hidden {
        display: none !important;
    }

    /* ====== PERFECT FORM LAYOUT ====== */

    .form-row-3 {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 18px;
        align-items: start;
    }

    .form-row-3 > .form-col:nth-child(3) {
        padding-left: 40px;
    }

    .form-col--report {
        grid-column: 3;
        grid-row: 1 / span 2;
        align-self: start;
    }

    .pii-confirm--compact {
        grid-column: 1 / span 2;
        grid-row: 2;
        margin-top: -34px;
        align-self: start;
    }

    .pii-confirm--compact .pii-confirm__label {
        align-items: flex-start;
        line-height: 1.35;
    }

    @media (max-width: 960px) {
        .form-row-3 {
            grid-template-columns: 1fr !important;
        }

        .form-row-3 > .form-col:nth-child(3) {
            padding-left: 0;
        }

        .form-col--report,
        .pii-confirm--compact {
            grid-column: auto;
            grid-row: auto;
            margin-top: 0;
        }
    }

    .form-col {
        display: flex;
        flex-direction: column;
    }

    .form-col label {
        margin-bottom: 6px;
        font-size: 15px;
    }

    input[type="file"] {
        width: 100%;
        box-sizing: border-box;
    }

    .report-type-options {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        align-items: flex-start !important;
        margin-top: 0;
        width: 100%;
    }

    .report-type-option {
        display: flex;
        align-items: flex-start;
        gap: 6px;
        width: 100%;
    }

    /* REPORT WRAPPER — centrēts un identiskas platuma robežas kā .card */
    .report-wrapper{
      max-width: 1000px;
      width: 100%;
      margin: 0 auto 80px auto;   /* noņem margin-top */
      padding: 0;
      box-sizing: border-box;
    }

    .report-wrapper { scroll-margin-top: 64px; } /* 64px header + neliela rezerve */

    .report-iframe{
      width: 100%;
      height: 90vh;
      border: none;
      margin-top: 0;              /* bija 20px */
      display: block;
    }

    .report-buttons {
        display: flex;
        justify-content: center;
        gap: 20px;
        width: 100%;
        margin: 0 auto 20px auto;
    }

    .report-buttons button {
        flex: 1;
        max-width: 300px;
    }

    #showFormBtn
    {max-width: 90px;}

    #goTopBtn
    {max-width: 90px;}

    #savePdfBtn
    {max-width: 120px;}

    #saveHtmlBtn
    {max-width: 120px;}

    #fullViewBtn {
      border: 3px solid #0052cc;
      border-radius: 6px;
   }


    :root { --lt-header-h: 64px; }

    body {
        font-family: "Segoe UI", Arial, sans-serif;
        background:#1d242d;
        color:#e5e5e5;
        margin: 0 auto;
    }

   body { padding-top: var(--lt-header-h); }

    .card {
        max-width: 1000px;
        background: #1d242d;
        border: 0px solid #546881;
        padding-top: 20px;
        border-radius: 10px;
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
    }

    input, textarea, select {
        background: #111519;
        border: 1px solid #546881;
        color: white;
        padding: 0px;
        border-radius: 6px;
        margin-top: 6px;
    }

    textarea{
        background: #111519;
        border: 1px solid #546881;
        color: white;
        padding: 10px;
        width: 98%;
        border-radius: 6px;
        margin-top: 6px;
        resize: vertical;
    }

    button {
        padding: 10px;
        border-radius: 6px;
        border: none;
        cursor: pointer;
        font-size: 15px;
        width: 300px!important;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    #runBtn {
        background:#0066ff;
        color:white;
    }

    #runBtn:hover { background:#0052cc; }

    #exitBtn {
        background:#777;
        color:white;
    }

    .row-flex {
        display:flex;
        gap:20px;
    }

    .input-block { flex:1; }
    #out { margin-top:20px; }

    .actions {
        display: flex;
        gap: 10px;
        margin-bottom: 20px;
    }

    .actions button {
        width: auto;
        flex-grow: 0;
    }

    /* MODAL STYLES */

    .modal-overlay {
        display: none;
        position: fixed;
        z-index: 3000;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(255, 255, 255, 0.55);
        backdrop-filter: blur(3px);
        justify-content: center;
        align-items: flex-start;
        padding-top: 40px;
        overflow: hidden;
    }

    .modal-content {
        width: 85%;
        max-width: 900px;
        max-height: 88vh;
        background: #ffffff;
        color: #222;
        border-radius: 12px;
        border: 1px solid #d0d0d0;
        box-shadow: 0 8px 25px rgba(0,0,0,0.25);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .modal-header {
        background: #f4f4f4;
        border-bottom: 1px solid #ddd;
        padding: 12px 20px;
        display: flex;
        justify-content: flex-end;
    }

    .close-btn {
        font-size: 26px;
        cursor: pointer;
        color: #777;
    }
    .close-btn:hover {
        color: #333;
    }

    .modal-body {
        padding: 22px 26px;
        overflow-y: auto;
        font-size: 15px;
        line-height: 1.55;
    }

    .modal-body h2,
    .modal-body h3,
    .modal-body h4 {
        color: #333;
    }

    .modal-body code {
        background: #f1f1f1;
        padding: 2px 4px;
        border-radius: 4px;
    }

    .code-block-modal {
        background: #f6f6f6;
        border: 1px solid #ddd;
        padding: 12px;
        border-radius: 6px;
        margin: 10px 0 18px;
    }

    .modal-footer {
        background: #f4f4f4;
        border-top: 1px solid #ddd;
        padding: 12px 20px;
        display: flex;
        justify-content: center;
    }

    .modal-footer button {
        background: #0078ff;
        color: white;
        border: none;
        padding: 10px 25px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 15px;
    }
    .modal-footer button:hover {
        background: #005fcc;
    }

    .button-row {
        display: flex;
        gap: 10px;
        justify-content: center;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    #infoHelpBtn {
        background: #777;
        color: white;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .loading {
        font-size: 18px;
        font-weight: 600;
        color: #0066ff;
        text-align: center;
        padding: 30px;
    }

    .loading2 {
        color: #0066ff;
        text-align: center;
    }
    .loading2 .spin {
        display: inline-block;
        margin-right: 10px;
        font-size: 1.1em;
        animation: spin 1.5s linear infinite;
    }

    .loading .spin {
        display: inline-block;
        margin-right: 10px;
        font-size: 1.2em;
        animation: spin 1.5s linear infinite;
    }

    input[type="radio"] {
        width: auto;
        background: transparent;
        border: none;
        padding: 0;
        margin-top: 0;
    }

    .report-type-options {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .report-type-option {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        cursor: pointer;
        margin-top: 0;
        width: 100%;
    }

    .report-type-option span {
        font-size: 14px;
        white-space: normal;
        line-height: 1.4;
    }

    /* Header poga "Back to editor" */
    .lt-header-btn {
        margin-left: 0px;
        padding: 6px 6px;
        border-radius: 999px;
        border: 1px solid #546881;
        background:#111519;
        color:#e5e5e5;
        font-size:13px;
        cursor:pointer;
        white-space: nowrap;
    }
    .lt-header-btn{
      width: auto !important;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin: 0 !important;
    }
    .lt-header-btn:hover {
        background:#1f2933;
    }
    .lt-nav .lt-menu{
      gap: 10px;   /* bija 32px */
    }


    .seo-copy{
      max-width: 1000px;
      margin: 18px auto 0 auto;
      padding: 18px 18px 8px 18px;
      background: #1d242d;
      border: 0px solid #546881;
      border-radius: 10px;
      box-sizing: border-box;
    }
    .seo-copy h2{
      margin: 0 0 8px 0;
      font-size: 18px;
      color: #e5e5e5;
    }
    .seo-copy h3{
      margin: 16px 0 8px 0;
      font-size: 15px;
      color: #e5e5e5;
    }
    .seo-copy p, .seo-copy li{
      font-size: 14px;
      line-height: 1.55;
      color: #cfd8e3;
    }
    .seo-copy ul{
      margin: 8px 0 0 18px;
    }
    .seo-cta{
      margin-top: 14px;
      padding-top: 12px;
      border-top: 1px solid #2b3a4a;
    }


/* Vienāds augstums visām header pogām */
:root { --lt-btn-h: 27px; }

.lt-header-btn{
  height: var(--lt-btn-h);
  padding: 0 12px;          /* vertikāli 0, lai nelēkā augstums */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
}

/* FontAwesome ikona nedrīkst “piebīdīt” pogu augstāk */
.lt-header-btn i{
  font-size: 0.9em !important;           /* tāds pats kā tekstam */
  line-height: 1;
  display: block;
}

.file-input-wrap{
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.clear-file-btn{
  height: 22px;
  width: 30px !important;
  padding: 0 6px;
  line-height: 20px;
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  transform: translateY(2px);
}

.clear-file-btn:hover{
  border-color: rgba(0,0,0,0.45);
}

.clear-file-btn.is-hidden{
  display: none;
}


.lt-header{
  top: 0;
  z-index: 10000;
}

.lt-title{
  cursor: pointer;
  pointer-events: auto;
}

    .ui-alert-backdrop{
      position:fixed; inset:0;
      background:rgba(0,0,0,.55);
      display:none;
      z-index:100000;
      padding:24px;
      overflow:auto;
    }
    .ui-alert{
      width:min(520px,100%);
      margin:72px auto 24px;
      background:#fff;
      border-radius:16px;
      box-shadow:0 20px 60px rgba(0,0,0,.35);
      overflow:hidden;
      font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    }
    .ui-alert__head{
      padding:16px 18px 10px;
      display:flex; gap:12px; align-items:flex-start;
      border-bottom:1px solid #eef2f7;
    }
    .ui-alert__icon{
      width:22px; height:22px; border-radius:7px;
      display:flex; align-items:center; justify-content:center;
      background:#f3f4f6;
      flex:0 0 auto;
      font-size:18px;
      color:#A65F1B;
    }
    .ui-alert__title{
      margin:0;
      font-size:16px;
      font-weight:700;
      color:#111827;
      line-height:1.25;
    }
    .ui-alert__body{
      padding:14px 18px 8px;
      color:#374151;
      font-size:14px;
      line-height:1.5;
      white-space:pre-wrap;
    }
    .ui-alert__actions{
      padding:12px 18px 16px;
      display:flex;
      gap:10px;
      justify-content:flex-end;
    }
    .ui-alert__btn{
      appearance:none;
      border:1px solid #e5e7eb;
      background:#fff;
      border-radius:12px;
      padding:10px 14px;
      font-weight:600;
      cursor:pointer;
      color:#111827;
    }
    .ui-alert__btn:focus{ outline:2px solid rgba(59,130,246,.35); outline-offset:2px; }
    .ui-alert__btn--primary{
      border-color:transparent;
      background:#111827;
      color:#fff;
    }
    .ui-alert__btn--danger{
      border-color:transparent;
      background:#b91c1c;
      color:#fff;
    }
    @media (max-width: 768px) {
      .ui-alert-backdrop{
        padding:16px;
      }
      .ui-alert{
        margin-top:24px;
      }
    }
    /* Lead-gate modal (HubSpot form) */
    body.lead-gate-modal-open { overflow: hidden; }

    .lead-gate-modal {
      position: fixed;
      inset: 0;
      display: none;           /* toggled by JS */
      align-items: center;
      justify-content: center;
      z-index: 99999;
      padding: 24px;
      background: rgba(0,0,0,0.55);
    }

    .lead-gate-modal__panel {
    width: min(760px, 100%);
    height: min(88vh, 820px);          /* svarīgi: height, nevis tikai max-height */
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    position: relative;

    display: flex;                     /* svarīgi: ļauj iekšā izveidot scroll zonu */
    flex-direction: column;
    overflow: hidden;                  /* saglabā apaļos stūrus abās pusēs */
    }

    .lead-gate-modal__scroll {
    flex: 1;                           /* aizpilda visu pieejamo augstumu */
    overflow: auto;                    /* scroll šeit */
    padding: 18px 18px 22px;
    -webkit-overflow-scrolling: touch; /* iOS smooth, nekaitē arī desktop */
    }


    .lead-gate-modal__header {
      display: flex;
      align-items: flex-start;
      justify-content: flex-start;
      gap: 12px;
      margin-bottom: 10px;
      padding-right: 52px; /* keep text clear of the close button */
    }

    .lead-gate-modal__title {
      margin: 0;
      font-size: 18px;
      line-height: 1.25;
      font-weight: 700;
      color: #111827;
    }

    .lead-gate-modal__desc {
      margin: 6px 0 0;
      color: #374151;
      font-size: 14px;
      line-height: 1.45;
    }

    .lead-gate-modal__close {
      position: absolute;
      top: 6px;
      right: 6px;
      width: 36px!important;
      height: 36px;
      border: none;
      background: transparent;
      cursor: pointer;
      font-size: 24px;
      line-height: 1;
      padding: 0;
      color: #6b7280;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .lead-gate-modal__close:hover { color: #111827; }

    .lead-gate-modal__form {
      margin-top: 14px;
    }

    .lead-gate-modal__note {
      margin-top: 14px;
      font-size: 12px;
      color: #6b7280;
    }

    .lead-gate-modal__error {
      display: none;
      margin-top: 10px;
      padding: 10px 12px;
      border-radius: 10px;
      background: #fef2f2;
      color: #991b1b;
      font-size: 13px;
    }

    /* Kad HubSpot forma ir "submitted" (paliek tikai Thanks...) – samazinām paneli */
    .lead-gate-modal.is-submitted .lead-gate-modal__panel{
    height: auto;              /* noņemam fiksēto lielo augstumu */
    max-height: 340px;         /* vari pielāgot (piem. 280–420px) */
    }

    /* Scroll zonai šajā režīmā nevajag aizņemt visu ekrānu */
    .lead-gate-modal.is-submitted .lead-gate-modal__scroll{
    flex: 0 0 auto;
    overflow: hidden;          /* nav vajadzīgs scroll, jo saturs īss */
    }

    /* Pēc izvēles: var paslēpt aprakstu, lai "Thanks" izskatās tīrāk */
    .lead-gate-modal.is-submitted .lead-gate-modal__desc{
    display: none;
    }


/* ===== Pilna platuma fons (apiet body max-width) ===== */
.lt-footer-bg {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;

    background: #1d242d;           /* fonu toni vari nomainīt pēc saviem datiem */
}

/* ===== Galvenais footer konteiners ===== */
.lt-footer-container {
    border-top: 1px solid #151a20;
    color: #ffffff;
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;               /* 1rem, kā uz ltech.lv */
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;

    max-width: 1920px;
    margin: 0 auto;
    padding: 32px 65px ;
    box-sizing: border-box;

    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

/* ===== Kolonnas: ātrās saites / resursi ===== */
.lt-quick-links-col {
    font-size: 18px;
    flex: 0 0 25%;
    min-width: 200px;
}

.lt-quick-links-col h2 {
    font-size: 18px;
    font-weight: 600;
}

.lt-quick-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
}

.lt-quick-links-col li {
    margin-bottom: 6px;
}

.lt-quick-links-col a {
    color: #e5e7eb;
    font-size: 16px;
    text-decoration: none;
}

.lt-quick-links-col a:hover {
    color: #ffffff;
}

/* ===== Kontaktu kolonna ===== */
.lt-contact-links-col {
    flex: 1 1 420px;
    min-width: 380px;
    margin-left: auto;
}

/* Logo bloks */
.footer-quick-logo {
    margin-bottom: 20px;
}

.lt-logo svg {
    display: block;
    height: 22px!important;
    width: auto;
}

/* ===== Kontaktu režģis – 2 kolonnas ===== */
.lt-contacts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.lt-contact-column {
    flex: 1 1 0;
    min-width: 230px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Kontakt pogas (telefonam, e-pastam, adresei, laikam) */
.lt-contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;

    border-radius: 10px;

    background: #1d242d;
    border: 0px solid #1f2937;

    color: #e5e7eb;
    font-size: 16px;
    text-decoration: none;

    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lt-contact-btn i {
    font-size: 17px;
    color: #9ca3af;
}

.lt-contact-btn:hover {
    background: #1f2937;
    border-color: #374151;
    color: #ffffff;
}

.lt-contact-btn:hover i {
    color: #ffffff;
}

.fa-regular {
    font-weight: 900;
    font-size: 24px!important;
}
.fa-solid {
    font-weight: 900;
    font-size: 24px!important;
}
.fa-clasic {
    font-weight: 900;
    font-size: 24px!important;
}

.fa-brands {
    font-weight: 900;
    font-size: 24px!important;
}


/* Sociālo tīklu rinda */
.lt-social-row {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.lt-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 9999px;

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


    border: 0px solid #374151;

    color: #e5e7eb;
    text-decoration: none;

    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lt-social-btn i {
    font-size: 18px;
}

.lt-social-btn:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

/* ===== Apakšējā līnija (copyright) ===== */
.lt-footer-bottom {
    width: 100%;
    border-top: 1px solid #151a20;
    margin-top: 32px;
    padding-top: 16px;

    font-size: 14px;
    color: #9ca3af;
    text-align: center;
}

.lt-footer-bottom a {
    color: #d1d5db;
    text-decoration: none;
}

.lt-footer-bottom a:hover {
    color: #ffffff;
}

/* ===== Responsīvie pielāgojumi ===== */
@media (max-width: 1200px) {
    .lt-footer-container {
        padding: 32px 40px 32px;
        gap: 32px;
    }
}



@media (max-width: 900px) {
    .lt-footer-container {
        flex-direction: column;
        padding: 32px 24px 32px;
    }

    .lt-contact-links-col {
        margin-left: 0;
    }

    .lt-footer-bottom {
        text-align: left;
    }
}

.toast{
  position: fixed;
  right: 20px;
  top: 20px;
  max-width: 420px;
  padding: 12px 14px;
  border-radius: 10px;

  border: 2px solid #ffd400;      /* dzeltenais rāmītis */
  /* ja gribi “glow” efektu: */
  box-shadow: 0 10px 25px rgba(0,0,0,0.25), 0 0 0 3px rgba(255, 212, 0, 0.15);

  background: rgba(20, 20, 20, 0.92);
  color: #ffd400;
  font-size: 14px;
  line-height: 1.35;

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 99999;
}

.toast.is-hidden{
  display: none;
}

.toast.is-visible{
  display: block;
  opacity: 1;
  transform: translateY(0);
}


/* Tailwind preview helpers */
.focus-ring:focus {
  outline: none;
  box-shadow: 0 0 0 2px #0d1117, 0 0 0 4px #2f81f7;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #30363d; border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: #484f58; }

html.dark { color-scheme: dark; }

.button-row > button,
.modal-footer > button {
  width: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: inline-flex !important;
}

body {
  background: #0d1117;
  color: #e6edf3;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.card,
.content-shell {
  max-width: 52rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.card {
  background: transparent;
  border: 0;
  padding-top: 2.5rem;
  margin-top: 0;
}

.card.layout-shell {
  max-width: 72rem !important;
}

.content-shell {
  padding-left: 3rem;
  padding-right: 3rem;
}

#out {
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .content-shell {
    padding-left: 1rem;
    padding-right: 1rem;
  }

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

.seo-copy p,
.seo-copy li,
.modal-body p,
.modal-body li,
.modal-body ol,
.modal-body ul {
  color: #8b949e;
}

.seo-copy code,
.modal-body code {
  background: #21262d;
  color: #58a6ff;
  border-radius: 0.375rem;
  padding: 0.125rem 0.375rem;
}

.modal-body pre {
  margin: 0;
  white-space: pre-wrap;
  color: #e6edf3;
  font-family: Consolas, "Courier New", monospace;
}

.loading {
  color: #58a6ff;
}


.button-row > button,
.modal-footer > button {
  width: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.button-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.button-row > button:not(.hidden) {
  width: 18rem !important;
  min-width: 18rem;
  min-height: 2.625rem;
  height: 2.625rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1.2;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.button-row > button:not(.hidden),
.modal-footer > button:not(.hidden) {
  display: inline-flex !important;
}

#runBtn .spin {
  display: inline-block;
  margin-right: 10px;
  animation: spin 1.5s linear infinite;
}

#runBtn #timerel {
  margin-left: 10px;
  font-variant-numeric: tabular-nums;
  opacity: 0.95;
}

.button-row > button.hidden,
.modal-footer > button.hidden {
  display: none !important;
}
