* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1560px;
  min-width: 1240px;
  margin: 25px auto;
  color: #333;
}

.container *{
  box-sizing: border-box;
}

header {
  text-align: center;
  margin-bottom: 25px;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 5px;
}

header  p{
  font-size: 1rem;
  opacity: 0.9;
  max-width: 95%;
  margin: 0 auto;
}

.main{
  display: flex;
  width: 100%;
  gap: 20px;
  margin-bottom: 25px;
}

.calculator-section, .reference-section{
  flex: 1;
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.section-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #3498db;
  display: flex;
  align-items: center;
  gap: 10px;
}

.input-group {
  margin-bottom: 25px;
}

label {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 500;
  color: #2c3e50;
}

input {
  width: 100%;
  padding: 14px;
  border: 2px solid #e0e7ee;
  border-radius: 10px;
  font-size: 1.1rem;
  transition: all 0.3s;
}

input:focus {
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.input-hint {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-top: 6px;
  padding-left: 5px;
}

.button-group {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

button {
  flex: 1;
  padding: 16px;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.calculate-btn {
  background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
  color: white;
}

.copy-btn {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: white;
}

.clear-btn {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

button:active {
  transform: translateY(0);
}

.result-box {
  background: linear-gradient(135deg, #f6e58d 0%, #ffbe76 100%);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  margin-top: 20px;
}

.result-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2c3e50;
}

.result-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #e74c3c;
}

.result-detail {
  font-size: 1.2rem;
  margin-top: 10px;
  color: #2c3e50;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #2c3e50;
}

tr:hover {
  background-color: #f8f9fa;
}

.week-cell {
  font-weight: 600;
  color: #3498db;
}

.table-container {
  max-height: 680px;
  overflow-y: auto;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 5px;
}

.info-section {
  margin-bottom: 25px;
  background: linear-gradient(135deg, #dfe6e9 0%, #b2bec3 100%);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.info-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.info-content {
  line-height: 1.8;
  font-size: 1.05rem;
}

.info-content h3 {
  margin: 20px 0 12px;
  color: #3498db;
  font-size: 1.2rem;
}

.info-content p {
  margin-top: 5px;
  color: #2c3e50;
}

.notice {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(44, 62, 80, 0.95);
  color: white;
  padding: 18px 35px;
  border-radius: 50px;
  font-size: 1.1rem;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  transition: bottom 0.5s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notice.show {
  bottom: 40px;
}

footer {
  text-align: center;
  color: #7f8c8d;
  font-size: 1rem;
}
