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

#controls {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

#map {
    height: 100vh;
    width: 100%;
    /* width: auto; */
    /* height: 1200px; */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    background: transparent;
}

select {
    padding: 5px;
    font-size: 14px;
}

.user-info {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 5px;
}

.user-info .home-link {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.user-info .home-link:hover {
    color: #764ba2;
}

.user-info .separator {
    color: #ccc;
    margin: 0 5px;
}

.user-info a {
    color: #007bff;
    text-decoration: none;
}

.user-info a:hover {
    text-decoration: underline;
}

.logout-btn {
    margin-left: 10px;
    padding: 5px 10px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.logout-btn:hover {
    background: #c82333;
}

.selector-group {
    margin: 5px 0;
    padding: 5px;
}

.selector-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 3px;
    font-size: 12px;
}

.hall-selector,
.orchestra-selector {
    width: 100%;
    padding: 3px;
    font-size: 12px;
}

.tree-divider {
    margin: 5px 0;
    border: 0;
    border-top: 1px solid #ccc;
}

.selector-group {
    margin: 5px 0;
    padding: 5px;
}

.selector-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 3px;
    font-size: 12px;
}

.hall-selector {
    width: 100%;
    padding: 3px;
    font-size: 12px;
}

.tree-divider {
    margin: 5px 0;
    border: 0;
    border-top: 1px solid #ccc;
}

/* Custom Select Styles */
.custom-select {
    position: relative;
    width: 100%;
    font-size: 12px;
}

.custom-select-trigger {
    padding: 4px 8px;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
    user-select: none;
    border-radius: 3px;
}

.custom-select-trigger:hover {
    border-color: #999;
}

.custom-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
}

.custom-select-dropdown.active {
    display: block;
}

.custom-select-option {
    padding: 6px 8px;
    cursor: pointer;
    user-select: none;
}

.custom-select-option:hover {
    background: #e3f2fd;
}

.custom-select-option.selected {
    background: #bbdefb;
    font-weight: bold;
}

.custom-select-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.custom-select-disabled .custom-select-trigger {
  cursor: not-allowed;
  background: #f5f5f5;
}

.custom-select-disabled .custom-select-trigger:hover {
  border-color: #ccc;
}
/* Tooltip styling is handled by browser's native title attribute */

/* Musician Markers */
.musician-marker {
  background: transparent;
  border: none;
}

.musician-icon {
  background: #2196F3;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  border: 2px solid white;
}

.musician-popup h4 {
  margin: 0 0 8px 0;
  font-size: 14px;
}

.musician-popup p {
  margin: 4px 0;
  font-size: 12px;
}

.musician-popup.anonymous {
  background: #f5f5f5;
}

/* Seat Markers */
.seat-marker {
  background: transparent;
  border: none;
}

.seat-icon {
  font-size: 20px;
  text-align: center;
  line-height: 30px;
}

.seat-popup h4 {
  margin: 0;
  font-size: 14px;
}

/* Custom select disabled state */
.custom-select-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.custom-select-disabled .custom-select-trigger {
  cursor: not-allowed;
  background: #f5f5f5;
}

.custom-select-disabled .custom-select-trigger:hover {
  border-color: #ccc;
}

/* Context Menu Icon Styling */
.context-menu-icon {
  display: inline-block;
  width: 20px;
  margin-right: 8px;
  text-align: center;
}

/* Create Popup Styles */
.row-create-popup .leaflet-popup-content-wrapper {
  border-left: 4px solid #28a745;
}

.row-create-popup h4 {
  color: #28a745;
  margin: 0 0 12px 0;
}