.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.button:hover {
  background-color: #005177;
}

.certifikat {
  border: 1px solid #ccc;
  padding: 20px;
  margin-top: 20px;
  text-align: center;
}

.certifikat h2 {
  margin: 0;
}

.certifikat p {
  margin: 10px 0;
}

.adalo-button,
.adalo-secondary-button {
  transition: 0.3s;
}

.adalo-button:hover,
.adalo-secondary-button:hover {
  text-decoration: none;
  cursor: pointer;
}

.adalo-submit-quiz-button {
  margin-top: 25px;
}

.adalo-answer label {
  display: block;
  width: 100%;
}

.adalo-answer:hover {
  background-color: #4545451f;
  cursor: pointer;
}
.adalo-answer label:hover {
  cursor: pointer;
}

/* Stylování otázek a odpovědí ve zkoušce */
.adalo-quiz-question {
  margin-bottom: 2rem;
}
.adalo-question-text {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.adalo-renewal-info {
  padding: 10px 15px;
  background-color: #f8f4e5;
  border: 1px solid #f2e2b8;
  border-left: 4px solid #ffce55;
  color: #856404;
  margin: 10px 0;
  border-radius: 4px;
  font-weight: 500;
}

/* Odsazení tlačítka pro zahájení zkoušky na stránce zkoušky od <hr />, která je pod ním */
.adalo-quiz-instance {
  padding-bottom: 25px;
}

/* ---- START - STYLES FOR USER ATTEMPTS TABLE IN "studijni index" generated with a shortcode [adalo_user_attempts] ---- */
.adalo-user-attempts-container {
  margin: 20px 0;
  width: 100%;
}
.adalo-course-attempts-section {
  margin-bottom: 40px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 5px;
}
.adalo-course-attempts-section h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 24px;
}
.adalo-course-attempts-section h2 a {
  color: inherit;
  text-decoration: none;
}
.adalo-course-attempts-section h2 a:hover {
  text-decoration: underline;
}
.adalo-attempts-table-wrapper {
  overflow-x: auto;
}
.adalo-attempts-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.adalo-attempts-table th,
.adalo-attempts-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}
.adalo-attempts-table th {
  background: #f5f5f5;
  font-weight: 600;
}
.adalo-attempts-table tr:last-child td {
  border-bottom: none;
}
.adalo-attempts-table .adalo-success {
  color: green;
  font-weight: bold;
}
.adalo-attempts-table .adalo-fail {
  color: red;
}
.adalo-certificate-button {
  display: inline-block;
  padding: 8px 16px;
  background: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  font-size: 14px;
}
.adalo-certificate-button:hover {
  background: #005177;
  color: #fff;
}
@media (max-width: 768px) {
  .adalo-attempts-table {
    font-size: 14px;
  }
  .adalo-attempts-table th,
  .adalo-attempts-table td {
    padding: 8px;
  }
}
/* ---- END - STYLES FOR USER ATTEMPTS TABLE IN "studijni index" generated with a shortcode [adalo_user_attempts] ---- */
