@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;700&display=swap');

body {
  font-family: 'Heebo', sans-serif;
  margin: 0;
  padding: 0;
}

.rtl {
  direction: rtl;
}

.tree-item {
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.tree-item:hover {
  background-color: #f0f0f0;
}

.tree-item.selected {
  background-color: #dbeafe;
  font-weight: 500;
}

.tree-children {
  margin-right: 20px;
  border-right: 1px dashed #ccc;
  padding-right: 10px;
}

.context-menu {
  position: absolute;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-radius: 4px;
  z-index: 1000;
}

.context-menu ul {
  list-style: none;
  margin: 0;
  padding: 5px 0;
}

.context-menu li button {
  display: block;
  width: 100%;
  text-align: right;
  padding: 8px 15px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 14px;
}

.context-menu li button:hover {
  background-color: #f5f5f5;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: white;
  border-radius: 8px;
  padding: 20px;
  width: 400px;
  max-width: 90%;
}

.profile-section {
  margin-bottom: 20px;
}

.profile-section h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 16px;
}

.training-item, .drill-item {
  background: #f9f9f9;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 10px;
}

.training-item:hover, .drill-item:hover {
  background: #f0f0f0;
}

.fc-toolbar-title {
  font-size: 1.2rem !important;
}

.fc-button {
  padding: 6px 12px !important;
  font-size: 0.9rem !important;
}

/* Custom event colors */
.shift-event {
  background-color: #3b82f6 !important; /* Blue */
  border-color: #3b82f6 !important;
}

.training-event {
  background-color: #10b981 !important; /* Green */
  border-color: #10b981 !important;
}

.drill-event {
  background-color: #f59e0b !important; /* Amber */
  border-color: #f59e0b !important;
}

.vacation-event {
  background-color: #8b5cf6 !important; /* Violet */
  border-color: #8b5cf6 !important;
}

.other-event {
  background-color: #6b7280 !important; /* Gray */
  border-color: #6b7280 !important;
}