/* 기본 설정 */
body {
  font-family: 'Nanum Gothic', sans-serif;
  background: linear-gradient(to right, #a8edea, #fed6e3);
  margin: 0;
  padding: 0;
  color: #333;
}

.container {
  max-width: 800px;
  margin: 50px auto;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 제목 */
h1, h2 {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
}

/* 버튼 */
button, .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #4dabf7;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
}
button:hover, .btn:hover {
  background-color: #339af0;
}

/* 로그인/회원가입/찾기 링크 */
.login-message, .logout-message {
  text-align: right;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.logout-message button {
  margin-left: 10px;
}

/* 입력창 */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
}

/* 로또 번호 박스 */
.lotto-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.ball {
  width: 65px;
  height: 65px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
  color: #fff;
  background: #999;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.bonus {
  background: #ff7f50 !important;
}

/* 저장된 번호 */
#savedNumbers {
  margin-top: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
}
.saved-entry {
  padding: 10px;
  margin-bottom: 10px;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-size: 0.95rem;
}

/* 하단 정보 */
.footer-info {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
  color: #555;
}

/* 반응형 */
@media (max-width: 600px) {
  .container {
    margin: 20px;
    padding: 20px;
  }
  .ball {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}
