/* public/css/styles.css */
body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 18px;
  color: #222;
  background: #f9f9f9;
}

nav {
  margin-bottom: 18px;
}

a { color: #1a73e8; text-decoration: none; }
a:hover { text-decoration: underline; }

table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  box-shadow: 0 0 0 1px #e6e6e6;
}

thead th {
  background: #f0f0f0;
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

td, th {
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
}

form label { display: block; margin: 8px 0; }
input[type="text"], input[type="email"], input[type="number"], select {
  padding: 6px;
  width: 300px;
  max-width: 100%;
  box-sizing: border-box;
}

button {
  padding: 8px 14px;
  background: #1a73e8;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
button:hover { opacity: 0.95; }

main { background: #fff; padding: 18px; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }

/* --- Nastavení událostí v kalendáři --- */

/* 1. Hlavní kontejner události - povolíme růst do výšky a zalamování */
.fc-daygrid-event {
    display: block !important;
    white-space: pre-wrap !important; /* Klíčové pro zobrazení \n z PHP */
    height: auto !important;
    margin: 1px 2px !important;
    padding: 2px 4px !important;
    border-radius: 4px !important;
}

/* 2. Samotný text události */
.fc-event-title {
    display: block !important;
    font-size: 0.97em !important;
    line-height: 1.3 !important;
    color: inherit;
}

/* 3. Skrytí automatického času (máme vlastní v title) */
.fc-event-time {
    display: none !important;
}

/* 4. Vizuální oddělení - trocha stínu, aby události vystoupily */
.fc-daygrid-event:hover {
    filter: brightness(0.9);
    cursor: pointer;
}
.fc-daygrid-event-dot {
    display: none !important;
}
body { background: lightblue !important; }