.cta_test {

  display: flex;
  flex-direction: column;
  align-items: flex-start; /* alebo center podľa potreby */
}
.cta_test h2 {
  color: #00a04f !important;
  font-size: 2rem;
  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;
}
  .module-list {
    padding-left: 20px;
    list-style: decimal;
  }

  .module-list li {
    margin: 15px;
    
  }

  .module-list li::marker {
    font-weight: bold;
    color: #2e7d32; /* zelená farba */
    font-size: 18px;
  }

  .start-btn {
  background-color: #009640;
  color: white;
  font-size: 18px;
  padding: 12px 30px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  margin-bottom:20px;
}

.start-btn:hover {
  background-color: #007d36;
}
.cta-block {
background-color: #f0f4f8;
padding: 20px 20px 10px 20px;
border-radius: 8px 8px 0 0;
margin-top: 20px;
}
.img_foo
{
max-width:400px;
width:100%;
margin:10px 0 10px 0;
}
.cta-block-bootom {
background-color: #f0f4f8;
padding: 0 20px 20px 20px;
border-radius: 0 0 8px 8px;
margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.cta-block-bootom input[type="email"] {
  padding: 12px 6px;
  font-size: 18px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border 0.3s;
  margin-bottom:10px;
}

.cta-block-bootom input,
.cta-block-bootom button,
.cta-block-bootom a {
  width: 100%;
  box-sizing: border-box;
  max-width:350px;
  text-decoration: none;
  text-align: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: 90vw;
    height: 90vh;
    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%);
    }
}
fieldset {
    border: none;
    margin-bottom: 15px;
    padding: 10px;
    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: #fff;
    padding:10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    
    
}

/* Š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;
}

/* Štýl pre rádio tlačidlá */
input[type="radio"] {
    margin-right: 10px;
    accent-color: #007bff;
}
.start-btn {
  background-color: #009640;
  color: white;
  font-size: 18px;
  padding: 12px 30px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}


.start-btn:hover {
  background-color: #007d36;
}

.main_container_inbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    text-align: center;
    padding: 20px 20px 60px 20px;
    box-sizing: border-box;
}

.tag-intro {
    margin-bottom: 30px;

}

.tag-box-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}