:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: #213547;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.header {
  text-align: center;
  margin-bottom: 2rem;
}

.filters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #f5f5f5;
  border-radius: 8px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

select, input {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.studios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.studio-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.studio-card:hover {
  transform: translateY(-2px);
}

.studio-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: #000000;
}

.studio-location {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.studio-description {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.studio-details {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
}

.studio-tag {
  background: #e5e7eb;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.studio-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.studio-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background-color: #342E37;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: background-color 0.2s;
  flex: 1;
  min-width: 0;
}

.studio-link:hover {
  background-color: #474348;
}

.calendar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #731DD8;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s;
  flex: 1;
  min-width: 0;
}

.calendar-button:hover {
  background-color: #9955e8;
}

.no-results {
  text-align: center;
  padding: 2rem;
  color: #666;
  grid-column: 1 / -1;
}

.calendar-dialog {
  padding: 0;
  max-width: 90vw;
  width: 800px;
  height: 80vh;
  background: white;
  border: none;
  border-radius: 8px;
}

.calendar-dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.dialog-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}

.dialog-title {
  margin: 0;
  font-size: 1.25rem;
}

.close-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  color: #666;
  transition: color 0.2s;
}

.close-button:hover {
  color: #333;
}

.calendar-container {
  flex: 1;
  overflow: auto;
  padding: 1rem;
}