/* Signup Page Styles */
.id-status {
  margin-top: 5px;
  font-size: 14px;
  font-weight: bold;
}

.id-status.available {
  color: #28a745;
}

.id-status.unavailable {
  color: #dc3545;
}

.message {
  margin-top: 10px;
  padding: 10px;
  border-radius: 4px;
  font-size: 14px;
}

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

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

.id-check-btn:disabled,
.create-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.field-error {
  margin-top: 5px;
  color: #dc3545;
  font-size: 12px;
  font-weight: bold;
}

/* Success Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.success-modal {
  background: white;
  border-radius: 12px;
  padding: 0;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-content {
  padding: 40px 30px;
  text-align: center;
}

.success-icon {
  width: 60px;
  height: 60px;
  background-color: #28a745;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: bold;
  margin: 0 auto 20px;
}

.success-icon.error {
  background-color: #dc3545;
}

.modal-content h3 {
  color: #333;
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 10px 0;
}

.modal-content p {
  color: #666;
  font-size: 16px;
  margin: 0 0 30px 0;
}

.home-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.home-btn:hover {
  background-color: #0056b3;
}

/* Amount Input Styles - 기존 .amount 클래스와 동일한 스타일 */
.amount-input {
  background: transparent !important;
  border: none !important;
  color: white !important;
  font-size: 24px !important;
  font-weight: inherit !important;
  line-height: 1.5 !important;
  padding: 12px 16px !important;
  margin: 0 !important;
  width: 100% !important;
  text-align: right !important;
  outline: none !important;
  cursor: text !important;
  -webkit-appearance: none !important;
  -moz-appearance: textfield !important;
  appearance: none !important;
  box-sizing: border-box !important;
  height: 48px !important;
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
}

.amount-input::-webkit-outer-spin-button,
.amount-input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.amount-input:focus {
  outline: none !important;
  border: none !important;
}

.amount-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

