body {
  font-family: 'Segoe UI', sans-serif;
  background: #f3f6fa;
  margin: 0;
  padding-top: 80px;
}

.container {
  max-width: 600px;
  margin: auto;
  padding: 20px;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}

.input-area label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.input-area input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  border: 2px solid #ccc;
  box-sizing: border-box;
}

.input-area input.error {
  border-color: red;
}

.input-area button {
  margin-top: 14px;
  width: 100%;
  background: #0066cc;
  color: white;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.input-area button:hover {
  background: #004ea1;
}

.result-area table {
  width: 100%;
  border-collapse: collapse;
}

.result-area th, .result-area td {
  padding: 12px;
  text-align: right;
  border-bottom: 1px solid #eee;
}

.result-area th {
  text-align: left;
  background: #f9f9f9;
}

.info-box ul {
  padding-left: 20px;
}

.footer {
  text-align: center;
  font-size: 14px;
  color: #777;
  margin-top: 40px;
}

/* 광고 영역 구분용 (디자인만) */
.ad-space {
  height: 60px;
  background: #eaeaea;
  margin: 16px 0;
  border-radius: 8px;
}

/* 🏠 다른 도구 더 보기 버튼 */
.home-button {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  margin: auto;
  width: fit-content;
  padding: 14px 24px;
  background-color: #0066cc;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.3em;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
  z-index: 999;
}
.home-button:hover {
  background-color: #004999;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}
.home-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  transform: skewX(-30deg);
  animation: shine 3s infinite;
}
@keyframes shine {
  0%   { left: -75%; }
  50%  { left: 125%; }
  100% { left: -75%; }
}
@media (max-width: 600px) {
  .home-button {
    font-size: 1.1em;
    padding: 10px 16px;
    top: 10px;
  }
}
