@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,wght@0,400;0,700;1,400&display=swap');

body {
  margin: 0;
  font-family: 'Google Sans', sans-serif;
  background: #f4f7f9;
}

.container {
  display: flex;
}

.sidebar {
  width: 240px;
  background: linear-gradient(to bottom right, #89d8d3, #03c8a8);
  color: white;
  padding: 20px;
}

.logo {
  margin-bottom: 20px;
}

.sidebar ul {
  list-style: none;
  padding-left: 0;
}

.sidebar li {
  margin: 15px 0;
}

.sidebar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.sidebar a:hover,
.sidebar a.active {
  text-decoration: underline;
}

.main-content {
  flex-grow: 1;
  padding: 30px;
}

#calendar {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  font-family: 'Google Sans', sans-serif;
  font-size: 14px;
}

/* Modal stil */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 400px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  z-index: 1001;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* ---- Google Takvim'e daha yakın, ferah görünüm ---- */

#calendar {
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  font-family: 'Google Sans', sans-serif;
  font-size: 14px;
}

/* Başlık çubuğu */
.fc .fc-toolbar.fc-header-toolbar {
  margin-bottom: 14px;
}
.fc .fc-toolbar-title {
  font-size: 18px;
  font-weight: 700;
}
.fc .fc-button {
  border-radius: 8px;
  border: none;
  padding: 6px 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.fc .fc-button-primary {
  background: #1976d2;
}
.fc .fc-button-primary:disabled {
  background: #90caf9;
}

/* Aylık görünümde hücreler daha ferah */
.fc .fc-daygrid-day-frame {
  padding: 6px;
}

/* Event kartları */
.fc .fc-event {
  border: none;
  border-radius: 8px;
  padding: 2px 6px;
}
.fc .fc-daygrid-event {
  margin: 2px 0;
}
.fc .fc-timegrid-event {
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

/* Event içeriği */
.st-event-title {
  line-height: 1.2;
}
.st-event-sub {
  font-size: 10px;
  opacity: 0.9;
}

/* Hover efekti */
.fc .fc-event:hover {
  filter: brightness(0.95);
}

/* Saat çizgileri daha yumuşak */
.fc .fc-timegrid-slot {
  border-bottom-color: #eef2f7;
}

/* "Daha fazla" bağlantısı */
.fc .fc-daygrid-more-link {
  font-weight: 600;
}
