/* === DETECTOR – enlarged, clean, TUKE style === */

/* Celé pozadie */
.detector-section {
  background: #f7f8fa;
  min-height: 90vh;
  padding: 100px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
}

/* === HLAVIČKA === */
.detector-section h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #27364B;
  margin-bottom: 0.8rem;
  text-align: center;
}

.detector-section p {
  font-size: 1.2rem;
  color: #555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* === HLAVNÝ PANEL === */
.detector-panel {
  background: #1b2231;
  border-radius: 22px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  padding: 60px;
  max-width: 800px;
  width: 100%;
  color: #fff;
  transform: scale(1.05); /* jemné zväčšenie */
}

/* === FORM === */
.detector-panel .form-label {
  font-weight: 600;
  color: #FF9100;
  font-size: 1.1rem;
}

.detector-panel select,
.detector-panel textarea {
  background: #27364B;
  color: #fff;
  border: 1px solid #3b4b61;
  border-radius: 12px;
  padding: 14px;
  width: 100%;
  font-size: 1.05rem;
  transition: border-color 0.3s;
}

/* Zvýrazni placeholder (bielou) */
.detector-panel textarea::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

/* Focus efekt */
.detector-panel select:focus,
.detector-panel textarea:focus {
  border-color: #FF9100;
  outline: none;
}

.detector-panel textarea {
  resize: vertical;
  min-height: 180px;
}

/* === BUTTON === */
.detector-panel button {
  background: #FF9100;
  border: none;
  color: #fff;
  padding: 14px 20px;
  border-radius: 35px;
  font-weight: 700;
  font-size: 1.15rem;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 30px;
}

.detector-panel button:hover {
  background: #e58a00;
  transform: translateY(-3px);
}

/* === VÝSLEDKY === */
.alert {
  margin-top: 30px;
  border-radius: 12px;
  font-size: 1.05rem;
  padding: 18px;
}

.alert-success {
  background-color: #1c2a1c;
  border: 1px solid #00c853;
  color: #a7f0b2;
}

.alert-danger {
  background-color: #2a1c1c;
  border: 1px solid #ff5252;
  color: #ffc4c4;
}


/* === Výstup z AI (v TUKE štýle) === */
.detector-output {
  background-color: #27364B;
  border: 2px solid #FF9100;
  border-radius: 14px;
  padding: 25px 30px;
  margin-top: 35px;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.detector-output h4 {
  color: #FFB400;
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 12px;
  text-align: center;
}

.detector-output pre {
  background: none;
  border: none;
  white-space: pre-wrap;
  word-wrap: break-word;
  color: #dcdcdc;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Farebné bodky (nahradzujú emoji) */
.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
  position: relative;
  top: 1px;
}

.dot.green { background-color: #00c853; }
.dot.orange { background-color: #ffb300; }
.dot.red { background-color: #ff3d00; }




/* === RESPONSIVITA === */
@media (max-width: 768px) {
  .detector-panel {
    padding: 40px 25px;
    transform: scale(1);
  }

  .detector-section h1 {
    font-size: 2.1rem;
  }

  .detector-section p {
    font-size: 1rem;
  }
}
