/* Container */
.tzc-container {
  max-width: 980px;
  margin: 2rem auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  padding: 2rem 2.5rem;
  color: #222;
}

/* Grid rows */
.tzc-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: center;
  margin: 1.25rem 0;
}

/* Labels */
.tzc-row label {
  font-weight: 600;
  font-size: 1rem;
  color: #374151;
}

/* Date/time input and buttons container */
.tzc-datetime-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Date/time input */
.tzc-dt {
  padding: 10px 14px;
  font-size: 1rem;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  transition: border-color 0.3s ease;
  width: 220px;
  background: #fafafa;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.tzc-dt:focus {
  outline: none;
  border-color: #3b82f6;
  background: #fff;
  box-shadow: 0 0 6px rgba(59,130,246,0.5);
}

/* Buttons */
.tzc-buttons button {
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  background: #3b82f6;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(59,130,246,0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

.tzc-buttons button:hover {
  background: #2563eb;
  box-shadow: 0 5px 12px rgba(37,99,235,0.6);
}

.tzc-buttons button:active {
  background: #1d4ed8;
  box-shadow: 0 2px 6px rgba(29,78,216,0.7);
}

/* Search input */
.tzc-search {
  padding: 10px 14px;
  font-size: 1rem;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  transition: border-color 0.3s ease;
  background: #fafafa;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.tzc-search:focus {
  outline: none;
  border-color: #3b82f6;
  background: #fff;
  box-shadow: 0 0 6px rgba(59,130,246,0.5);
}

/* Suggestion buttons (if still used) */
.tzc-suggest {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tzc-suggest .tzc-add {
  background: #e0e7ff;
  border: 1px solid #c7d2fe;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  color: #3730a3;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  user-select: none;
}

.tzc-suggest .tzc-add:hover {
  background: #c7d2fe;
  border-color: #a5b4fc;
}

/* Time zones list */
.tzc-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

/* Each time zone card */
.tzc-item {
  background: #f9fafb;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
  position: relative;
}

.tzc-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Header with zone name and remove button */
.tzc-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.tzc-item-head strong {
  font-size: 1.15rem;
  color: #1e293b;
  user-select: text;
}

/* Remove button */
.tzc-remove {
  border: none;
  background: #fee2e2;
  color: #b91c1c;
  border-radius: 50%;
  cursor: pointer;
  width: 30px;
  height: 30px;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  user-select: none;
}

.tzc-remove:hover {
  background: #fca5a5;
}

/* Time display */
.tzc-item-time {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  user-select: text;
}

/* Subtext with offset */
.tzc-item-sub {
  color: #6b7280;
  font-size: 0.9rem;
  margin-top: 4px;
  user-select: text;
}

/* Share URL box */
.tzc-share {
  margin-top: 2.5rem;
}

.tzc-share input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  font-size: 1rem;
  background: #fafafa;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
  transition: border-color 0.3s ease;
  user-select: all;
}

.tzc-share input:focus {
  outline: none;
  border-color: #3b82f6;
  background: #fff;
  box-shadow: 0 0 8px rgba(59,130,246,0.6);
}

/* Responsive */
@media (max-width: 640px) {
  .tzc-row {
    grid-template-columns: 1fr;
  }
  .tzc-dt {
    width: 100%;
  }
  .tzc-search {
    max-width: 100%;
  }
  .tzc-list {
    grid-template-columns: 1fr;
  }
}