.form-control {
  display: block;
  width: 100%;
  height: 45px;
  padding: 0.75rem;
  font-size: 16px;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #dadada;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
  position: relative;
}

.form-control:focus {
  border-color: #333133;
  outline: none;
  box-shadow: 0 0 0 1px rgba(51, 49, 51, 0.2);
}

.form-control::placeholder {
  color: #999;
  opacity: 1;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.5rem;
  border: 1px solid #dadada;
}

.animate_placeholder {
  position: absolute;
  top: 50%;
  left: 12px;
  font-size: 14px;
  color: #999;
  white-space: nowrap;
  transform: translateY(-50%);
  transform-origin: left top;
  transition: all 0.2s ease;
  pointer-events: none;
  z-index: 1;
}

.animate_placeholder.active {
  top: 0;
  font-size: 12px;
  color: #333133;
  transform: translateY(-50%) scale(0.85);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  padding: 0.75rem 1.5rem;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.alert {
  display: flex;
  border-radius: 4px;
  font-size: 14px;
  align-items: center;
  padding: 12px;
  margin: 1rem 0;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.text-notice {
  color: #d02e2e;
  font-size: 12px;
  margin-top: 4px;
}

.form-group {
  margin-bottom: 1rem;
  position: relative;
}

/* 社群登入按鈕樣式 */
.socilaBtnBorder {
  border: 1px solid #dadada;
  border-radius: 4px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background-color: #fff;
}

.socilaBtnBorder:hover {
  border-color: #333133;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
