* ————————————————————————————
   Webfont N27
   ————————————————————————————*/
@font-face {
  font-family: 'N27';
  src: url('font/n27-thin-webfont.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'N27';
  src: url('font/n27-extralight-webfont.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'N27';
  src: url('font/n27-light-webfont.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'N27';
  src: url('font/n27-regular-webfont.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'N27';
  src: url('font/n27-medium-webfont.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'N27';
  src: url('font/n27-bold-webfont.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Italic variants */
@font-face { font-family: 'N27'; src: url('font/n27-thinitalic-webfont.woff2') format('woff2'); font-weight: 100; font-style: italic; font-display: swap; }
@font-face { font-family: 'N27'; src: url('font/n27-extralightitalic-webfont.woff2') format('woff2'); font-weight: 200; font-style: italic; font-display: swap; }
@font-face { font-family: 'N27'; src: url('font/n27-lightitalic-webfont.woff2') format('woff2'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'N27'; src: url('font/n27-regularitalic-webfont.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'N27'; src: url('font/n27-mediumitalic-webfont.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'N27'; src: url('font/n27-bolditalic-webfont.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }



/* === Synth Library UI Style === */
body {
  background-color: #ffffff;
  color: #000000;
  font-family: 'N27', sans-serif;
  margin: 0;
  padding: 0;
}

a  {color: black;
	text-decoration: undeline;
	}
a:hover  {color: #FF8800;
	text-decoration: undeline;
	}



nav {
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: #ff6600;
}

main {
  padding: 2rem;
}

#calendar {
  background-color: white;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-family: 'N27', sans-serif;
  max-width: 900px;
  margin: 2em auto;
}

.fc-daygrid-day {
  border: 1px solid #eee;
  vertical-align: top;
}

.fc-day-sat, .fc-day-sun {
  background-color: #f9f9f9;
}

.fc-toolbar-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: black;
}

.fc-button {
  background: none;
  border: 1px solid #ff6600;
  color: #ff6600;
  font-family: 'N27', sans-serif;
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.2s;
}

.fc-button:hover {
  background: #ff6600;
  color: white;
}

.fc-event {
  border: none;
  font-size: 0.85rem;
  border-radius: 4px;
  padding: 2px 4px;
  white-space: pre-line;
}

.fc-event.my-reservation {
  background-color: #ff6600 !important;
  color: white !important;
}

.fc-event.free-slot {
  background-color: #dddddd !important;
  color: black !important;
}

.fc-event .fc-event-main {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  white-space: pre-line !important;
}

.fc-event .fc-event-main > div {
  margin: 0.2em 0;
  white-space: pre-line !important;
}


/* === News section styles === */
.news-item {
  margin-bottom: 2em;
}

.news-item h2 {
  font-size: 1.2em;
  margin-bottom: 0.2em;
  color: #000;
}

.news-item .date {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 0.5em;
}

.news-item .content {
  font-size: 1em;
  line-height: 1.5;
  white-space: pre-line;
}


.ajax-message {
  max-width: 900px;
  margin: 0 auto 1rem auto;
  padding: 10px 15px;
  border-radius: 6px;
  text-align: center;
  font-weight: bold;
  font-family: 'N27', sans-serif;
}
.ajax-message.success {
  background-color: #e0ffe0;
  color: #006600;
}
.ajax-message.error {
  background-color: #ffe0e0;
  color: #990000;
}


body {
  font-family: 'N27', sans-serif;
  background: #fff;
  color: #000;
  margin: 0;
  padding: 0;
}
nav {
  background: #fff;
  border-bottom: 1px solid #ccc;
  padding: 1rem 2rem;
  display: flex;
  font-size: 20px;
  justify-content: space-between;
}
nav a {
  color: #ff6600;
  margin-left: 1rem;
  text-decoration: none;
  font-weight: bold;
}
main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
}

.modal {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 2em;
  border: 2px solid #ccc;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  z-index: 1000;
}
.hidden { display: none; }

#modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border: 10px solid #ccc;
  border-radius: 10px;  /* přidá zakulacení rohů */
  padding: 12px 12px 0px 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  z-index: 9999;
  display: none;
}
.post {
  margin-bottom: 2rem;
}

.post-meta {
  font-size: 0.85em;
  color: #777;
  margin-top: 0.3em;
}

.reply {
  margin-left: 2rem;
  background-color: #f9f9f9;
  padding: 0.5em 1em;
  border-left: 2px solid #ccc;
  margin-top: 0.5em;
}

.reply-meta {
  font-size: 0.75em;
  color: #999;
  margin-top: 0.2em;
}

.reply-form {
  margin-left: 2rem;
  margin-top: 0.5em;
}
.card {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1em;
  margin-bottom: 1.5em;
  max-width: 700px;
  background: #fff;
}
.card--nested {
  margin-top: 1em;
  margin-left: 2em;
  padding-left: 1em;
  border-left: 2px solid #ccc;
}
.btn-toggle {
  margin-top: 1em;
  cursor: pointer;
}
.form-wide {
  width: 100%;
  max-width: 600px;
}
.collapsed { display: none; }
.user-email { font-size: 20px;
}

.btn-flat {
  background-color: #ccc;
  color: #000;
  border: none;
  padding: 3px 4px;
  font-size: 12px;
  font-weight: bold;	
  cursor: pointer;
  margin-top: 2px;
  border-radius: 4px;       /* volitelně zaoblené rohy */
  transition: background-color 0.2s, color 0.2s;
}

.btn-flat:hover {
  background-color: #ff6600;
  color: #fff;
}