:root{
  --badge-bg: #0f7699;     /* farba krúžku */
  --badge-fg: #fff;        /* farba čísla */
  --h2-bg:   #eef7ff;      /* jemné pozadie za prvým H2 */
}


/* štýl pre PRVÝ h2 v obsahu */
.blog-content h2:first-of-type{
  position: relative;
  background: var(--h2-bg);
  border-radius: 10px;
  padding: 14px 16px 14px 56px; /* miesto pre krúžok vľavo */
  margin: 18px 0;
}

/* „1“ v krúžku */
.blog-content h2:first-of-type::before{
  content: "1";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--badge-bg);
  color: var(--badge-fg);
  font-weight: 700;
  line-height: 1;
}


/* spoločný štýl pre číslované nadpisy mimo obsahu */
.blog-step {
  position: relative;
  background: var(--h2-bg);
  border-radius: 10px;
  padding: 14px 16px 14px 56px;
  margin: 30px 0 20px;
}

/* „2“ v krúžku */
.blog-step::before {
  content: "2";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--badge-bg);
  color: var(--badge-fg);
  font-weight: 700;
  line-height: 1;
}

/* spoločný štýl pre číslované nadpisy mimo obsahu */
.blog-step3 {
  position: relative;
  background: var(--h2-bg);
  border-radius: 10px;
  padding: 14px 16px 14px 56px;
  margin: 30px 0 20px;
}

/* „2“ v krúžku */
.blog-step3::before {
  content: "3";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--badge-bg);
  color: var(--badge-fg);
  font-weight: 700;
  line-height: 1;
}





.cta-box-1 {
  background: #f5f5f5;              /* šedé pozadie */
  border-left: 6px solid #00a04f;   /* zelený ľavý okraj */
  padding: 5px 15px 5px 10px;
  margin: 20px 0;
  align-items: center;
  font-size: 16px;
  border-radius: 4px; /* jemne zaoblené rohy */
  width: 100%;
  text-align:left;
  box-sizing: border-box;
}
.cta-box-1 h3
{
margin-bottom:0;
}


.cta-personal-test{
    background: #fff;
    border: 1px solid #00a04f; /* zelený pruh na ľavej hrane */
    border-left: 6px solid #00a04f; /* zelený pruh na ľavej hrane */
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    padding: 22px 26px;
    margin: 18px 0 26px;
  }
  .cta-wrap{  margin: 0 auto; }
  .cta-title{
    font-size: 24px; line-height: 1.25; margin: 0 0 10px;
    font-weight: 800; color: #111;
  }
  .cta-sub{
    font-size: 16px; line-height: 1.6; color: #222; margin: 0 0 14px;
  }
.cta-benefits {
  list-style: none;
  padding: 0 0 5px 5px !important;
  margin: 0;
}

.cta-benefits li {
  position: relative;
  padding-left: 18px; /* menšie odsadenie, len pre text */
  margin: 8px 0;
  line-height: 1.3;
}

.cta-benefits li:before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: #00a04f; /* rovnaká zelená ako tlačidlo */
  transform: translateY(1px); /* zarovnanie na riadok */
}
.cta-btn {
  display: inline-block;
  background: linear-gradient(180deg, #009046 0%, #006d33 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 8px;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 6px 16px rgba(0,160,79,.25);
  min-width: 200px;
  text-align: center;
  margin-bottom: 15px;
  font-size: 16px;
  cursor: pointer;
}

.cta-btn:hover {
  background: linear-gradient(180deg, #007a3b 0%, #005f2d 100%);
}
  .cta-btn:active{ transform: translateY(0); box-shadow: 0 3px 10px rgba(0,160,79,.25); }


  

fieldset {
    border: none;
    margin-bottom: 15px;
    padding: 8px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Otázky - nadpis */
legend {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
    border-radius: 10px;
    background: #00a04f;
    padding:10px;
    //box-shadow: 0 2px 5px #00a04f;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    color:#ffffff;
    
    
}


/* Štýl pre odpovede */
label {
    display: block;
    font-size: 14px;
    padding: 8px;
    background: #f8f8f8;
    margin: 0 0;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

label:hover {
    background: #e0e0e0;
}


  .loading-bar-container {
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e6e6e6;
    overflow: hidden;
  }

  .loading-bar {
  top: 0;
    width: 0;
    height: 100%;
    background-color: #00a04f;
    animation: load 0.1s ease-in-out forwards;
  }

  @keyframes load {
    0% { width: 0; }
    100% { width: 100%; }
  }

  .loading-text {
    margin-top: 60px;
    font-size: 1.1rem;
    color: #00a04f;
  }



.cta_test {

  display: flex;
  flex-direction: column;
  align-items: flex-start; /* alebo center podľa potreby */
}
.cta_test h2 {
  color: #00a04f !important;
  font-size: 24px;
  padding:0;
  margin:0;
  line-height:auto;
  margin:0 auto;
}
.cta_test h3 {
  color: #00a04f !important;
  font-size: 1.2rem;
  padding:0;
  margin:0;
  line-height:auto;
  margin:0 auto;
}
input[type="email"] {
  width: 100%;
  max-width: 400px;
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  box-sizing: border-box;
  margin-top: 10px;
  font-weight: 500;
  color: #333;
  transition: border 0.3s, background 0.3s;
      margin-bottom: 8px;
}

input[type="email"]:focus {
  border-color: #009640;
  background-color: #fff;
  outline: none;
}
.cta-button {
  background: linear-gradient(180deg, #009046 0%, #006d33 100%);
  color: white;
  padding: 14px 32px;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s, box-shadow 0.3s;
  width: 100%;
  max-width: 400px;
  display: inline-block;
  text-align: center;
}

.cta-button:hover {
  background: linear-gradient(180deg, #007a3b 0%, #005f2d 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-button:active {
  background-color: #006628;
}

/* Disabled fieldset */
.disabled fieldset {
    background: #f2f2f2;
    box-shadow: none;
    border: 1px solid #ccc;
}

/* Disabled legend */
.disabled legend {
    background: #b3b3b3;
    color: #444444;
    box-shadow: none;
}

/* Disabled label (odpovede) */
.disabled label {
    background: #e6e6e6;
    color: #444444;
    cursor: not-allowed;
}

.disabled label:hover {
    background: #d9d9d9;
}

#email.highlight {
  border: 2px solid red;
  box-shadow: 0 0 5px red;
}


.main_container_inbox {
    width: 100%;
    min-height: 600px;
    display: block;
    margin: 0;
    box-sizing: border-box;
    text-align: center; 
  
}
  @media (max-width: 1200px){
.main_container_inbox {
padding: 0 10px 0 10px;
  }
  }



.tag-intro {
    margin-bottom: 30px;

}
.tag-box-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}



.smale{font-size:14px;}
.test-card {
  background-color: #f0f4f8; /* bledomodré pozadie */
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 16px;
  font-family: 'Segoe UI', sans-serif;
}

.test-title {
  font-weight: 600;
  font-size: 1.2em;
  margin-bottom: 6px;
  color: #1a1a1a;
}

.test-status {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 12px;
}

.test-button {
  display: inline-block;
  background-color: #07942c;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95em;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
}

.test-button:hover {
  background-color: #057d25;
}
.test-button.disabled-button {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
  pointer-events: none;
}
button.test-button 
{
  border: 0;
  cursor: pointer;
}




.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95vw;
    height: 95vh;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.3s ease-in-out;
}

.popup .popup-header {
    position: sticky;
    top: 0;
    background: #f1f1f1;
    padding: 10px 20px;
    border-bottom: 1px solid #ccc;
    z-index: 1001;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup .popup-content {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
    text-align:left;
}

.popup .close-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}






  @media (max-width: 640px){
    .cta-title{ font-size: 20px; }
    .cta-sub{ font-size: 15px; }
  }
@media (max-width: 1200px) {
.cta-box-1 {
  margin:5px;
  box-sizing: border-box;
  width: auto;}
}
@media (max-width: 600px) {
.cta-box-1 {
  font-size: 14px;
}
}
#finnish {
    display: none;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.main_container_t {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 80vh;
  padding: 60px 20px;
  max-width:800px;
}

.thankyou {
 width:100%;
}


.thankyou h2 {
  color: #00a04f;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.thankyou p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 30px;
 }

/* CTA modern box */
.cta-modern {
  background: rgb(238,247,255);
  border-radius: 16px;
  padding: 30px 25px;
  border: 1px solid #dff5e0;
  box-shadow: 0 2px 12px rgba(0,160,79,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-modern h2 {
  color: #444;
  margin-bottom: 10px;
}
.cta-modern p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 25px;
}

.cta-main {
  background: #00a04f;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 30px;
  font-size: 17px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.15s ease;
}
.cta-main:hover {
  background: #008d46;
  transform: scale(1.03);
}

/* Platba blok */
.payment {
  animation: fadeIn 0.5s ease;
  width:100%;
 background: rgb(238,247,255);
  border: 1px solid #dff5e0;
  box-shadow: 0 2px 12px rgba(0,160,79,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  
  border-radius: 16px;
  padding: 30px 25px;
 
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.payment h2 {
  font-size: 1.6rem;
  color: #444;
  margin-bottom: 5px;
}
.payment h3 {
  font-size: 1.2rem;
  color: #444;
  margin: 10px 0 15px;
}
.payment p {
  font-size: 1.1rem;
}

.payment .order-price {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 25px;
}
.payment-form {
  text-align: center;
  margin-bottom: 15px;
}
.payment-label {
  color: #00a04f;
  font-weight: 600;
  margin-bottom: 10px;
}


small {
  display: block;
  color: #777;
  margin-top: 10px;
  font-size: 0.9rem;
}
.hidden { display: none; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
