/* ===== 공통 배경 ===== */
body {
  background: url("../images/메인화면.png") center center / cover no-repeat;
  background-color: #0d0d0d;
  color: #fff;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

/* ===== 상단 로고 (배경 위에 고정) ===== */
.logo-fixed {
  position: absolute;
  left: 52.2%;         /* 중앙 정렬 */
  transform: translateX(-50%);
  z-index: 100;      /* 항상 위에 위치 → 클릭 가능 */
  margin-top : 3%
}
.logo-link {
  display: inline-block;
}
.logo {
  height: 100px;
  width: auto;
  cursor: pointer;   /* 손가락 모양 표시 */
}


/* ===== 회원가입 박스 ===== */
.signup-container {
  position: absolute;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}

.signup-box {
  background: rgba(0, 0, 0, 0.65);
  padding: 50px;
  border-radius: 16px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  margin-top: 180px; /* 로고랑 겹치지 않게 */
}

.signup-box h1 {
  margin-bottom: 30px;
  font-size: 2rem;
  font-weight: 600;
}

/* ===== 입력 ===== */
.signup-form label {
  display: block;
  text-align: left;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.signup-form input,
.signup-form select {
  width: 100%;
  padding: 14px;
  margin-bottom: 18px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.05rem;
  outline: none;
  transition: background 0.3s ease;
}

.signup-form select option {
  background-color: #222;
  color: #fff;
}

/* ===== 이름 + 역할 나란히 배치 ===== */
.row {
  display: flex;
  gap: 15px;
}
.col {
  flex: 1;
}

/* ===== 버튼 ===== */
.signup-btn {
  width: 100%;
  padding: 14px;
  background: #ff6b35;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}
.signup-btn:hover {
  background: #fa7f52;
}

/* ===== 메시지 ===== */
#msg {
  margin-top: 15px;
  font-size: 0.95rem;
}
