/* Registration Modal Styles */
.registration-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.registration-modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.registration-modal {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 16px;
  max-width: 450px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  position: relative;
}

.registration-modal-overlay.active .registration-modal {
  transform: translateY(0);
}

.registration-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: #f0f0f0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.registration-modal-close:hover {
  background: #e0e0e0;
  color: #333;
}

.registration-modal-header {
  padding: 32px 32px 0;
  text-align: center;
}

.registration-modal-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(255, 183, 0, 0.3);
}

.registration-modal-logo svg {
  width: 40px;
  height: 40px;
  fill: #fff;
}

.registration-modal-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin: 0 0 8px;
}

.registration-modal-subtitle {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.registration-modal-body {
  padding: 24px 32px;
}

.registration-form-group {
  margin-bottom: 20px;
}

.registration-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.registration-form-label .required {
  color: #e53935;
  font-size: 11px;
  margin-left: 4px;
}

.registration-form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.registration-form-input:focus {
  outline: none;
  border-color: #ffd700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.registration-form-input.error {
  border-color: #e53935;
}

.registration-form-error {
  display: none;
  font-size: 12px;
  color: #e53935;
  margin-top: 6px;
}

.registration-form-error.show {
  display: block;
}

.registration-form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.registration-form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #ffd700;
  cursor: pointer;
}

.registration-form-checkbox label {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  cursor: pointer;
}

.registration-form-checkbox a {
  color: #1976d2;
  text-decoration: underline;
}

.registration-submit-btn {
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(255, 183, 0, 0.3);
}

.registration-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 183, 0, 0.4);
}

.registration-submit-btn:active {
  transform: translateY(0);
}

.registration-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.registration-modal-footer {
  padding: 0 32px 32px;
  text-align: center;
}

.registration-login-link {
  font-size: 14px;
  color: #666;
}

.registration-login-link a {
  color: #1976d2;
  text-decoration: none;
  font-weight: 600;
}

.registration-login-link a:hover {
  text-decoration: underline;
}

/* Success State */
.registration-success {
  display: none;
  text-align: center;
  padding: 40px 32px;
}

.registration-success.show {
  display: block;
}

.registration-success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #4caf50 0%, #43a047 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(76, 175, 80, 0.3);
}

.registration-success-icon svg {
  width: 40px;
  height: 40px;
  fill: #fff;
}

.registration-success-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin: 0 0 12px;
}

.registration-success-message {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 24px;
}

.registration-success-btn {
  display: inline-block;
  padding: 14px 40px;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.registration-success-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 183, 0, 0.4);
}

/* Responsive */
@media (max-width: 480px) {
  .registration-modal {
    width: 95%;
    border-radius: 12px;
  }
  
  .registration-modal-header,
  .registration-modal-body,
  .registration-modal-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .registration-modal-title {
    font-size: 20px;
  }
}

