/* Register Modal Styles - using same as deposit modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 16px; /* Reduced from 20px */
}

.modal-content {
  background: #0a0e27;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  max-width: 400px; /* Reduced from 500px */
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px; /* Reduced from 24px */
}

.modal-title {
  font-size: 20px; /* Reduced from 24px */
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.modal-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #ffffff;
}

/* Checkbox field styling */
.checkbox-field {
  margin-top: 8px;
  margin-bottom: 8px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  cursor: pointer;
  accent-color: #2563eb;
  flex-shrink: 0;
}

.checkbox-text {
  flex: 1;
  user-select: none;
}

.terms-link {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.terms-link:hover {
  color: #93c5fd;
  text-decoration: underline;
}

/* Sign in link at bottom of registration form */
.register-signin-link {
  margin-top: 12px; /* Reduced from 16px */
  text-align: center;
  font-size: 12px; /* Reduced from 14px */
  color: #94a3b8;
}

.signin-link {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.signin-link:hover {
  color: #93c5fd;
  text-decoration: underline;
}

/* Minimized register modal styles */
#registerModal .modal-content {
  padding: 16px; /* Reduced from 20px */
}

#registerModal .field {
  margin-bottom: 14px; /* Reduced from 20px */
}

#registerModal .field label {
  font-size: 12px; /* Reduced from 14px */
  margin-bottom: 6px; /* Reduced from 8px */
}

#registerModal .input-with-icon input {
  padding: 10px 14px 10px 40px; /* Reduced padding */
  font-size: 13px; /* Reduced from 14px */
  border-radius: 10px; /* Reduced from 12px */
}

#registerModal .input-icon {
  left: 10px; /* Reduced from 12px */
  font-size: 16px; /* Reduced from 18px */
}

#registerModal .password-toggle {
  right: 10px; /* Reduced from 12px */
  font-size: 16px; /* Reduced from 18px */
}

#registerModal .checkbox-label {
  font-size: 12px; /* Reduced from 14px */
  gap: 8px; /* Reduced from 12px */
}

#registerModal .checkbox-label input[type="checkbox"] {
  width: 16px; /* Reduced from 18px */
  height: 16px; /* Reduced from 18px */
  min-width: 16px;
}

#registerModal .btn-primary {
  padding: 12px 20px; /* Reduced from 14px 24px */
  font-size: 14px; /* Reduced from 16px */
  margin-top: 8px;
}

#registerModal .modal-close {
  font-size: 28px; /* Reduced from 32px */
  width: 28px; /* Reduced from 32px */
  height: 28px; /* Reduced from 32px */
}
