/* 页面样式入口：引用公共样式 */
@import url('/static/common/css/style.css');

/* 日期时间输入样式 */
.datetime-input-group {
  margin: 20px 0;
}
.input-row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}
.input-label {
  font-weight: bold;
  min-width: 90px;
  font-size: 1.05rem;
  color: #333;
}
.datetime-input {
  flex: 1;
  min-width: 200px;
  padding: 12px 14px;
  font-size: 16px;
  border: 1.5px solid #aac7fd;
  border-radius: 7px;
  background: #f8fbff;
  font-family: 'Consolas', 'Menlo', monospace;
  transition: border 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.datetime-input:focus {
  outline: none;
  border-color: #4285f4;
  box-shadow: 0 0 0 2px #d3e7ff;
  background: #f5faff;
}
.quick-btn {
  background: #34a853;
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: 5px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(52,168,83,0.15);
  transition: background 0.18s, box-shadow 0.2s;
  white-space: nowrap;
}
.quick-btn:hover {
  background: #2d8f47;
  box-shadow: 0 4px 10px rgba(52,168,83,0.2);
}
.button-group {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.format-hint {
  margin-top: 8px;
  font-size: 0.92rem;
  color: #666;
  font-style: italic;
}

/* 结果显示样式 */
.result-container {
  margin-top: 32px;
  padding: 24px;
  background: linear-gradient(135deg, #f8fbff 0%, #f0f7ff 100%);
  border-radius: 9px;
  border: 2px solid #d3e7ff;
}
.result-title {
  color: #4285f4;
  font-size: 1.3rem;
  margin: 0 0 18px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #d3e7ff;
}
.result-content {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
  padding: 16px;
  background: #fff;
  border-radius: 7px;
  border-left: 4px solid #4285f4;
}
.time-unit {
  display: inline-block;
  margin: 0 8px;
  padding: 4px 12px;
  background: #e3f1fa;
  border-radius: 5px;
  font-weight: bold;
  color: #2679b3;
}
.detail-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border-radius: 7px;
  border: 1px solid #e0e7f0;
}
.detail-label {
  font-weight: 600;
  color: #666;
  font-size: 0.98rem;
}
.detail-value {
  font-weight: bold;
  color: #4285f4;
  font-size: 1.1rem;
  font-family: 'Consolas', 'Menlo', monospace;
}
