
.container {
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 28px 20px 60px !important;
}

/* ===== Header ===== */
.headers {
  background: linear-gradient(219deg, #FB0E76 0%, #910694 100%) !important;
  border-radius: 20px !important;
  padding: 44px 40px !important;
  text-align: center !important;
  margin-bottom: 28px !important;
  box-shadow: 0 8px 32px rgba(180, 23, 158, 0.25) !important;
}

.headers-title {
  color: #ffffff !important;
  font-size: clamp(30px, 5vw, 46px) !important;
  font-weight: 700 !important;
  margin: 0 0 12px !important;
  line-height: 1.15 !important;
  letter-spacing: -0.5px !important;
}

.headers-subtitle {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  max-width: 800px !important;
  margin: 0 auto !important;
}

/* ===== Card base ===== */
.card {
  background: #ffffff !important;
  border: 1px solid #f0d7eb !important;
  border-radius: 20px !important;
  padding: 30px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07) !important;
  margin-bottom: 28px !important;
}

/* ===== Current time panel ===== */
.current-time-panel {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 18px !important;
}

.current-time-block {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 4px !important;
  text-align: center !important;
  background: #fbf6fb !important;
  border: 1px solid #f0d7eb !important;
  border-radius: 14px !important;
  padding: 18px 14px !important;
}

.current-time-label {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  color: #910694 !important;
}

.current-time-zone {
  font-size: 13px !important;
  color: #64748b !important;
}

.current-time-value {
  font-size: clamp(18px, 2.4vw, 24px) !important;
  font-weight: 700 !important;
  color: #172554 !important;
  margin-top: 4px !important;
}

.current-time-tzid {
  font-size: 11px !important;
  color: #94a3b8 !important;
  margin-top: 2px !important;
}

.swap-icon {
  flex: 0 0 auto !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  color: #910694 !important;
  background: rgba(145, 6, 148, 0.08) !important;
  border: 1px solid rgba(145, 6, 148, 0.15) !important;
}

/* ===== Divider ===== */
.divider {
  height: 1px !important;
  background: #f0d7eb !important;
  margin: 26px 0 !important;
}

/* ===== Converter grid ===== */
.converter-grid {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: stretch !important;
  gap: 18px !important;
}

.panel {
  display: flex !important;
  flex-direction: column !important;
}

.panel-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #172554 !important;
  margin: 0 0 18px !important;
}

.conversion-icon {
  align-self: center !important;
  flex: 0 0 auto !important;
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  color: #910694 !important;
  background: rgba(145, 6, 148, 0.08) !important;
  border: 1px solid rgba(145, 6, 148, 0.15) !important;
}

/* ===== Fields / inputs ===== */
.field {
  margin-bottom: 18px !important;
}

.field label,
.quick-label {
  display: block !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  margin-bottom: 8px !important;
}

input[type="date"],
input[type="time"] {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  font-size: 16px !important;
  color: #172554 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  font-family: inherit !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

input[type="date"]:focus,
input[type="time"]:focus {
  border-color: #910694 !important;
  box-shadow: 0 0 0 3px rgba(145, 6, 148, 0.10) !important;
  outline: none !important;
}

/* ===== Quick picks ===== */
.quick-picks {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.quick-pick {
  background: #f1f5f9 !important;
  border: 1px solid #dbe3ed !important;
  border-radius: 7px !important;
  padding: 8px 14px !important;
  cursor: pointer !important;
  color: #334155 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  transition: background 0.2s, color 0.2s, border-color 0.2s !important;
}

.quick-pick:hover,
.quick-pick:focus {
  background: linear-gradient(219deg, #FB0E76 0%, #910694 100%) !important;
  color: #ffffff !important;
  border-color: #910694 !important;
  outline: none !important;
}

.quick-pick.active {
  background: linear-gradient(219deg, #FB0E76 0%, #910694 100%) !important;
  color: #ffffff !important;
  border-color: #910694 !important;
}

/* ===== Timezone id text ===== */
.tz-id {
  font-size: 12px !important;
  color: #94a3b8 !important;
  margin: auto 0 0 !important;
  padding-top: 14px !important;
}

/* ===== Result box ===== */
.result-box {
  background: linear-gradient(219deg, rgba(251, 14, 118, 0.19) 0%, rgba(145, 6, 148, 0) 100%) !important;
  border: 1px solid rgba(251, 14, 118, 0.15) !important;
  border-radius: 14px !important;
  padding: 28px 20px !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 1 !important;
  justify-content: center !important;
}

.result-time {
  font-size: clamp(30px, 5vw, 44px) !important;
  font-weight: 700 !important;
  color: #910694 !important;
  line-height: 1.1 !important;
}

.result-date {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  letter-spacing: 0.5px !important;
}

/* ===== Copy button ===== */
.copy-btn {
  align-self: center !important;
  margin-top: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #f1f5f9 !important;
  border: 1px solid #dbe3ed !important;
  border-radius: 7px !important;
  padding: 7px 14px !important;
  cursor: pointer !important;
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  transition: background 0.2s, color 0.2s, border-color 0.2s !important;
}

.copy-btn:hover,
.copy-btn:focus {
  background: linear-gradient(219deg, #FB0E76 0%, #910694 100%) !important;
  color: #ffffff !important;
  border-color: #910694 !important;
  outline: none !important;
}

.copy-btn.copied {
  background: #16a34a !important;
  color: #ffffff !important;
  border-color: #16a34a !important;
}

/* ===== Chart card ===== */
.chart-card {
  padding: 26px !important;
}

.chart-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-bottom: 18px !important;
}

.chart-title {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #172554 !important;
  margin: 0 !important;
}

.legend {
  display: flex !important;
  gap: 16px !important;
  font-size: 13px !important;
  color: #475569 !important;
}

.legend-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.legend-dot {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  display: inline-block !important;
}

.legend-dot.day {
  background: #f59e0b !important;
}

.legend-dot.night {
  background: #3b82f6 !important;
}

.chart-scroll {
  max-height: 560px !important;
  overflow-y: auto !important;
  border: 1px solid #dbe3ed !important;
  border-radius: 12px !important;
}

.chart-table {
  width: 100% !important;
  border-collapse: collapse !important;
  background: #ffffff !important;
}

.chart-table thead {
  position: sticky !important;
  top: 0 !important;
  z-index: 1 !important;
}

.chart-table th {
  background: #ffffff !important;
  border-bottom: 1px solid #dbe3ed !important;
  padding: 14px 12px !important;
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #172554 !important;
}

.th-sub {
  display: block !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  letter-spacing: 0.5px !important;
  margin-top: 2px !important;
}

.chart-table td {
  border-bottom: 1px solid #edf1f5 !important;
  padding: 13px 12px !important;
  text-align: center !important;
  font-size: 15px !important;
  color: #334155 !important;
  font-weight: 500 !important;
}

.chart-table tbody tr:hover {
  background: #fdf4fb !important;
}

.chart-table tbody tr:last-child td {
  border-bottom: none !important;
}

.cell-time {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  justify-content: center !important;
}

.day-icon {
  color: #f59e0b !important;
}

.night-icon {
  color: #3b82f6 !important;
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .converter-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .conversion-icon {
    justify-self: center !important;
    transform: rotate(90deg) !important;
  }
}

@media (max-width: 600px) {
  .container {
           padding: 0px !important;
  }

  .headers {
    padding: 32px 22px !important;
  }

  .card {
    padding: 20px !important;
  }

  .current-time-panel {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .swap-icon {
    transform: rotate(90deg) !important;
  }

  .current-time-block {
    width: 100% !important;
  }

  .chart-card {
    padding: 16px !important;
  }

  .chart-header {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .chart-scroll {
    max-height: 440px !important;
  }

  .chart-table th,
  .chart-table td {
    padding: 10px 8px !important;
    font-size: 13px !important;
  }

  .th-sub {
    font-size: 9px !important;
  }

  .legend {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
}