body {
  font-family: 'Pretendard', 'Noto Sans KR', 'Noto Sans JP', 'Noto Sans Arabic', sans-serif;
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top right, #eef6ff 0%, #f7f9fc 48%, #f9fafc 100%);
  color: #1a1a1a;
}

.site-header {
  background: #ffffff;
  color: #1a1a1a;
  padding: 14px 24px;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.site-header a {
  color: #1a1a1a;
  text-decoration: none;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.brand-link {
  font-size: 21px;
  font-weight: 750;
  color: #0d4d8b;
  letter-spacing: -0.01em;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-link {
  color: #375a7e;
  font-size: 13px;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-link {
  padding: 8px 13px;
  border-radius: 999px;
  color: #506378;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-link:hover {
  background: #edf4fb;
  color: #0b4f93;
}

.nav-link-primary {
  background: #ffffff;
  color: #0b4f93;
  border: 1px solid #d7e5f3;
}

.nav-link-primary:hover {
  color: #0b4f93;
  background: #f5f9fd;
  box-shadow: 0 8px 20px rgba(13, 87, 153, 0.12);
}

.dropbox {
  position: relative;
}

.dropbox summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 13px;
  border-radius: 999px;
  color: #506378;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #d7e5f3;
  background: #f9fcff;
}

.dropbox summary::-webkit-details-marker {
  display: none;
}

.dropbox[open] summary {
  color: #0b4f93;
  border-color: #b9d4ee;
  background: #edf5fd;
}

.dropbox-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #dce7f2;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(19, 57, 95, 0.16);
  padding: 8px;
  z-index: 20;
}

.dropbox-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  color: #33495f;
  font-size: 13px;
}

.dropbox-menu a:hover,
.dropbox-menu a.active {
  background: #eaf3fb;
  color: #0b4f93;
}

.external-links {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #edf1f6;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.external-links a {
  font-size: 12px;
  color: #4f6a84;
  background: #f5f9fd;
  border: 1px solid #e1ebf5;
  padding: 5px 10px;
  border-radius: 999px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(18, 38, 63, 0.07);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid #edf1f5;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

button, input[type='submit'], .button {
  background: #0066cc;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
  vertical-align: middle;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
}

button:hover, input[type='submit']:hover, .button:hover {
  background: #0052a3;
  box-shadow: 0 2px 8px rgba(0,102,204,0.3);
}

.card p {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0;
  font-size: 14px;
}

.card p > a.button,
.card p > form {
  margin: 0;
}

.card-actions {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}

.card-actions .button {
  flex: 1 1 140px;
  min-width: 0;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
  padding: 10px 12px;
}

.hospital-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}

.hospital-card-actions .button {
  flex: 1 1 140px;
  min-width: 0;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
  padding: 10px 12px;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  margin-bottom: 16px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.alert {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #d1fae5;
}

.alert-danger {
  background: #fef2f2;
  color: #7f1d1d;
  border: 1px solid #fee2e2;
}

footer {
  text-align: center;
  padding: 32px 24px;
  color: #6a7a8a;
  font-size: 13px;
  border-top: 1px solid #e8edf2;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th, .table td {
  padding: 14px;
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
}

.table th {
  background: #fafafa;
  font-weight: 600;
  color: #1a1a1a;
}

.action-links a {
  margin-right: 12px;
  color: #0066cc;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.action-links a:hover {
  text-decoration: underline;
}

.language-switcher {
  display: inline-block;
  margin-left: 20px;
  font-size: 13px;
}

.language-switcher a {
  color: #666;
  margin-right: 8px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.language-switcher a:hover {
  color: #0066cc;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 12px 0;
  font-weight: 600;
  color: #1a1a1a;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

.specialty-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
}

.specialty-tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: #0052a3;
  font-size: 12px;
  font-weight: 600;
}

.region-card {
  background: linear-gradient(135deg, #f7fbff, #eef5ff);
  border: 1px solid #dcecff;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
}

.recommend-box {
  border: 1px solid #e5f0ff;
  border-radius: 14px;
  padding: 16px;
  background: #fcfeff;
}

.country-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.country-guide-item {
  display: block;
  border: 1px solid #e3ecf5;
  background: #ffffff;
  border-radius: 12px;
  padding: 14px;
}

.country-guide-item h3 {
  margin-bottom: 8px;
  color: #0c4f90;
}

.country-guide-item p {
  color: #5f6f80;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 780px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  button, input[type='submit'], .button {
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 13px;
  }

  .card-actions,
  .hospital-card-actions {
    gap: 6px;
    margin-top: 14px;
    padding-top: 12px;
  }

  .card-actions .button,
  .hospital-card-actions .button {
    flex-basis: 120px;
    padding: 8px 10px;
    line-height: 1.2;
  }

  .main-nav {
    gap: 6px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
  }

  .dropbox-menu {
    position: static;
    margin-top: 6px;
    box-shadow: none;
  }

  .container {
    padding: 24px 16px;
  }
}
