body {
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  background: linear-gradient(160deg, #eef3ff, #dae5ff);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

/* -------------------------------------------
   Navigation Bar Styles (same as style.css)
   ------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.nav-container {
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.nav-logo a {
  font-size: 1.25rem;
  font-weight: 700;
  color: #234c9b;
  text-decoration: none;
}

.nav-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  display: none;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.nav-links li {
  margin-left: 20px;
}
.nav-links a,
.nav-links button.logout {
  text-decoration: none;
  color: #234c9b;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  transition: background-color 0.3s, color 0.3s;
}
.nav-links a:hover,
.nav-links button.logout:hover {
  background: #e5e7eb;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 60px;
    right: -240px;
    width: 240px;
    height: calc(100% - 60px);
    background: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
  }
  .nav-links.open {
    right: 0;
  }
  .nav-links li {
    margin: 10px 0;
  }
}

button, .cta-buttons button {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
button:hover, .cta-buttons button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

#avgBox {
  font-size: 18px;
  color: #1c3e80;
  margin: 10px 0 20px 0;
}

.card {
  background: #fff;
  padding: 40px 50px;
  border-radius: 18px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
  width: 360px;
  text-align: center;
  animation: fadeIn 0.5s ease;
}

h2 {
  color: #1c3e80;
  margin-bottom: 25px;
  font-size: 22px;
}

.tabs {
  display: flex;
  justify-content: space-around;
  border-bottom: 2px solid #d4def5;
  margin-bottom: 20px;
}

.tab {
  flex: 1;
  padding: 10px 0;
  cursor: pointer;
  font-weight: 600;
  color: #6a7ab5;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}

.tab.active {
  color: #1c3e80;
  border-color: #4a72e0;
}

.input-group {
  margin-bottom: 16px;
  text-align: left;
}

.input-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfd8ef;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.input-group input:focus {
  border-color: #4a72e0;
  box-shadow: 0 0 5px rgba(74, 114, 224, 0.3);
}

button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border: none;
  border-radius: 8px;
  background: #4a72e0;
  color: white;
  font-size: 15px;
  cursor: pointer;
  transition: 0.25s ease;
  font-weight: 600;
}

button:hover {
  background: #2c51b0;
  transform: translateY(-2px);
}

#msg {
  margin-top: 15px;
  min-height: 20px;
  font-size: 13px;
  color: #d23c3c;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hidden {
  display: none;
}