* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 40px 16px;
}

.container {
  width: 100%;
  max-width: 600px;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  text-align: center;
  color: #94a3b8;
  margin: 8px 0 32px;
  font-size: 0.95rem;
}

.input-section {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

@media (max-width: 540px) {
  .input-section {
    grid-template-columns: 1fr;
  }
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.input-group select,
.input-group input {
  padding: 10px 12px;
  border: 1px solid #334155;
  border-radius: 8px;
  background: #1e293b;
  color: #e2e8f0;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.input-group select:focus,
.input-group input:focus {
  border-color: #60a5fa;
}

.targets-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.targets-header h2 {
  font-size: 1.1rem;
  font-weight: 600;
}

.btn-add {
  padding: 6px 14px;
  border: 1px dashed #475569;
  border-radius: 6px;
  background: transparent;
  color: #60a5fa;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn-add:hover {
  background: #1e293b;
  border-color: #60a5fa;
}

.target-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.target-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 14px 16px;
  transition: border-color 0.2s;
}

.target-card:hover {
  border-color: #475569;
}

.target-card select {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #334155;
  border-radius: 6px;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.9rem;
  outline: none;
}

.target-card select:focus {
  border-color: #60a5fa;
}

.converted-time {
  font-size: 1.3rem;
  font-weight: 700;
  color: #60a5fa;
  min-width: 80px;
  text-align: right;
  white-space: nowrap;
}

.converted-date {
  font-size: 0.75rem;
  color: #94a3b8;
  text-align: right;
}

.converted-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 130px;
}

.offset-label {
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 2px;
}

.btn-remove {
  padding: 4px 8px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #64748b;
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.2s;
}

.btn-remove:hover {
  color: #f87171;
}

.btn-now {
  display: block;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-now:hover {
  opacity: 0.9;
}

.day-diff {
  font-size: 0.7rem;
  color: #fbbf24;
  font-weight: 600;
}
