/* ===== 기본 세팅 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: '맑은 고딕', '돋움', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.4;
}

/* ===== 메뉴바 ===== */
.main-nav {
  background-color: #007bff;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-nav .logo h2 {
  margin: 0;
  font-size: 22px;
}

.main-nav .logo h2 a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.main-nav .menu-links a {
  color: #fff;
  text-decoration: none;
  margin-left: 18px;
  font-size: 15px;
}

.main-nav .menu-links a:hover {
  text-decoration: underline;
}

/* ===== 회원가입 박스 ===== */
.signup {
  max-width: 600px;
  margin: 100px auto;
  padding: 30px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* ===== 제목 ===== */
.signup h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #007bff;
}

/* ===== 폼 구조 ===== */
.form-row {
  margin-bottom: 18px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
}

input[type="text"],
input[type="password"],
input[type="email"],
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input:focus,
select:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 5px rgba(0,123,255,0.4);
}

/* ===== input + button 같은 줄 ===== */
.input-with-btn {
  display: flex;
  align-items: center;
  gap: 8px;
}

.input-with-btn input {
  flex: 1;
}

.input-with-btn button {
  white-space: nowrap;
  height: 38px;
  padding: 0 12px;
}

/* ===== 버튼 ===== */
button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #0056b3;
}

#submitBtn {
  width: 100%;
  background-color: #007bff;
  padding: 12px;
  font-size: 16px;
  margin-top: 10px;
}

#submitBtn:hover {
  background-color: #0056b3;
}

/* ===== 메시지 출력 ===== */
.msg {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.msg.ok {
  color: #28a745;
}

.msg.err {
  color: #dc3545;
}

/* ===== 안내 텍스트 ===== */
.guide-text {
  font-size: 13px;
  color: #666;
  margin: -10px 0 10px 0;
}

/* ===== 이메일 타이머 ===== */
#timer {
  margin-left: 8px;
  font-weight: bold;
  color: #dc3545;
}
