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

/* 当前页面样式 */
.content {
    font-size: 1.13rem;
    line-height: 1.85;
}
/* 输入组样式 */
.input-group {
  margin: 20px 0;
}
.input-label {
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: #333;
}
.input-with-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.input-with-btn .beauty-btn {
  margin-bottom: 0;
}
.beauty-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;
  height: 44px;
  line-height: 1.5;
}
.beauty-input:focus {
  outline: none;
  border-color: #4285f4;
  box-shadow: 0 0 0 2px #d3e7ff;
  background: #f5faff;
}
.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;
  height: 44px;
  line-height: 1.5;
}
.datetime-input:focus {
  outline: none;
  border-color: #4285f4;
  box-shadow: 0 0 0 2px #d3e7ff;
  background: #f5faff;
}
.radio-group {
  margin-top: 12px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.98rem;
  cursor: pointer;
  color: #555;
}
.format-hint {
  margin-top: 8px;
  font-size: 0.92rem;
  color: #666;
  font-style: italic;
}
.radio-group input[type="radio"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
}

/* 结果显示样式 */
.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-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.result-item {
  padding: 14px 16px;
  background: #fff;
  border-radius: 7px;
  border: 1px solid #e0e7f0;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.result-item:hover {
  border-color: #4285f4;
  box-shadow: 0 2px 8px rgba(66,133,244,0.1);
}
.result-label {
  font-weight: 600;
  color: #666;
  font-size: 0.92rem;
  margin-bottom: 8px;
}
.result-value {
  font-weight: bold;
  color: #4285f4;
  font-size: 1.05rem;
  font-family: 'Consolas', 'Menlo', monospace;
  word-break: break-all;
  line-height: 1.6;
}
.timestamp-value {
  color: #ea4335;
  font-size: 1.15rem;
}
.copy-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e0e7f0;
}

.quick-btn {
  background: #34a853;
  color: #fff;
  border: none;
  padding: 12px 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;
  height: 44px;
  line-height: 1;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.quick-btn:hover {
  background: #2d8f47;
  box-shadow: 0 4px 10px rgba(52,168,83,0.2);
}