/**
 * Styly pro frontend shortcode
 */

/* Tabulka přihlášek */
.table-responsive {
  overflow-x: auto;
  margin-top: 20px;
}
.registrations-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.registrations-table th,
.registrations-table td {
  padding: 8px;
  text-align: left;
  border: 1px solid #ddd;
}
.registrations-table th {
  background-color: #f5f5f5;
  font-weight: bold;
}
.registrations-table tr:nth-child(even) {
  background-color: #f9f9f9;
}
.registrations-table tr:hover {
  background-color: #f1f1f1;
}

/* Tlačítko pro export */
.export-button {
  display: inline-block;
  padding: 8px 15px;
  background-color: #0073aa;
  color: white !important;
  text-decoration: none;
  border-radius: 3px;
  margin: 15px 0;
  border: none;
  cursor: pointer;
  font-size: 14px;
  line-height: normal;
}
.export-button:hover {
  background-color: #005177;
  color: white !important;
  text-decoration: none !important;
}

/* Detaily eventu */
.event-details {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 3px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.event-details h2 {
  margin-top: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.event-details p {
  margin: 5px 0;
}
.event-details strong {
  min-width: 100px;
  display: inline-block;
}

/* Event přihlášky sekce */
.event-registrations h2 {
  margin-top: 20px;
  margin-bottom: 15px;
}

/* Responzivita pro mobilní zařízení */
@media screen and (max-width: 768px) {
  .registrations-table th,
  .registrations-table td {
    padding: 5px;
    font-size: 14px;
  }

  .export-button {
    display: block;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .table-responsive {
    overflow-x: scroll;
  }
}
