.tzc-container {
  max-width: 1400px;
  margin: 20px auto;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.tzc-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  border-radius: 8px 8px 0 0;
  text-align: center;
}

.tzc-header h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 600;
}

.tzc-header p {
  margin: 0;
  opacity: 0.9;
}

.tzc-main {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 500px;
}

.tzc-sidebar {
  background: #f8f9fa;
  padding: 20px;
  border-right: 1px solid #e0e0e0;
}

.tzc-search {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.tzc-search:focus {
  outline: none;
  border-color: #667eea;
}

.tzc-suggestions {
  position: absolute;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  margin-top: 4px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 10;
  width: 256px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tzc-suggestion {
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.tzc-suggestion:hover {
  background: #f0f0f0;
}

.tzc-timezone-list {
  margin-top: 15px;
}

.tzc-timezone-item {
  background: white;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e0e0e0;
  transition: border-color 0.3s;
}

.tzc-timezone-item:hover {
  border-color: #667eea;
}

.tzc-tz-info strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.tzc-tz-time {
  font-size: 18px;
  font-weight: 600;
  color: #667eea;
}

.tzc-btn-remove {
  background: #ff6b6b;
  color: white;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: background 0.2s;
}

.tzc-btn-remove:hover {
  background: #ff5252;
}

.tzc-grid-container {
  padding: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tzc-grid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 10px;
}

.tzc-date-display {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  min-width: 200px;
  text-align: center;
}

.tzc-btn-nav {
  background: #667eea;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s;
}

.tzc-btn-nav:hover {
  background: #5568d3;
}

.tzc-grid-wrapper {
  overflow-x: auto;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: white;
}

.tzc-grid {
  display: grid;
  grid-template-columns: 140px repeat(24, 1fr);
  gap: 0;
}

.tzc-grid-header-row {
  display: contents;
}

.tzc-hour-header {
  background: #667eea;
  color: white;
  padding: 10px 4px;
  text-align: center;
  font-weight: 600;
  font-size: 12px;
  min-width: 30px;
}

.tzc-grid-row {
  display: contents;
}

.tzc-row-label {
  background: #f8f9fa;
  padding: 12px;
  font-weight: 600;
  font-size: 13px;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.tzc-hour-block {
  border: 1px solid #e0e0e0;
  min-width: 30px;
  height: 40px;
  transition: background 0.2s;
}

.tzc-hour-block:hover {
  opacity: 0.8;
}

.tzc-night {
  background: #1a1a2e;
}

.tzc-morning {
  background: #ffd89b;
}

.tzc-afternoon {
  background: #ffc987;
}

.tzc-evening {
  background: #9d4edd;
}

@media (max-width: 768px) {
  .tzc-main {
    grid-template-columns: 1fr;
  }

  .tzc-sidebar {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }

  .tzc-grid {
    grid-template-columns: 100px repeat(24, 1fr);
  }

  .tzc-hour-block {
    min-width: 25px;
    height: 35px;
  }
}
