* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1600px;
  min-width: 1240px;
  margin: 25px auto;
  color: #333;
  display: flex;
  flex-direction: column;
}

.container * {
  box-sizing: border-box;
}

/* 头部样式 */
header {
  position: relative;
  margin-bottom: 20px;
  text-align: center;
}

header h1 {
  font-size: 32px;
  margin-bottom: 5px;
}

header p {
  font-size: 16px;
  line-height: 1.6;
}

.tool-container {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  margin-bottom: 25px;
}

.container textarea {
  width: 100%;
  height: 200px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  resize: vertical;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.container textarea:focus {
  outline: none;
  border-color: #3498db;
}

.container .buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.container button {
  padding: 14px 50px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.container button:hover {
  background-color: #2980b9;
}

.container button:disabled {
  background-color: #95a5a6;
  cursor: not-allowed;
}

.container .clear-btn {
  background-color: #e74c3c;
}

.container .clear-btn:hover {
  background-color: #c0392b;
}

.container .example-btn {
  background-color: #2ecc71;
}

.container .example-btn:hover {
  background-color: #27ae60;
}

.result-area h3{
  font-size: 22px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #f8f9fa;
  font-weight: 600;
}

tr:hover {
  background-color: #f5f5f5;
}

.status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
}

.valid {
  background-color: #2ecc71;
  color: white;
}

.expiring {
  background-color: #f39c12;
  color: white;
}

.expired {
  background-color: #e74c3c;
  color: white;
}

.error {
  background-color: #95a5a6;
  color: white;
}

.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2c3e50;
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s;
}

.notice.show {
  opacity: 1;
}

.info-section {
  margin-bottom: 25px;
  padding: 20px;
  background-color: #fff;
  border-radius: 12px;
}

.info-section h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #2c3e50;
}

.info-item p{
  margin-top: 15px;
  color: #777;
}

.info-item p span{
  display: inline-block;
  font-weight: 700;
  margin-right: 5px;
  color: #2980b9;
  min-width: 100px;
}

footer {
  text-align: center;
  color: #7f8c8d;
  font-size: 14px;
}

.footer-text {
  margin-bottom: 10px;
}
