:root {
  --content-width: 844px; /* 변수 정의 */
}
.user-form-wrap {
  width: var(--content-width);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.user-form-box {
  min-width: 300px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.user-form-top {
  background-color: #1da1f2;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.user-form-top p {
  margin: 0;
  font-size: 18px;
}

form {
  padding: 20px;
}

form .user_form_div {
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap : 10px;
}

button.check_duplicate {
  padding: 8px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  background-color: #ccc;
  color: #666;
}

button.on {
  background-color: #1da1f2;
  color: #fff;
}

label {
  width: 200px;
  display: block;
  margin-bottom: 5px;
  color: #333;
  font-weight: bold;
}

input[type="text"],
input[type="password"],
input[type="email"]{
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}


button.submit:disabled {
  background-color: #ccc; /* 비활성화 상태일 때 배경색 변경 */
  color: #666; /* 비활성화 상태일 때 텍스트 색 변경 */
  cursor: not-allowed; /* 비활성화 상태일 때 커서를 변경 */
}


.submit {
  background-color: #1da1f2;
  color: #fff;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
}

.submit:hover {
  background-color: #1990e5;
}

.user_bottom {
  text-align: center;
  margin-top: 15px;
}

.user_bottom a {
  color: #1da1f2;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

.user_bottom a:hover {
  text-decoration: underline;
}
