/* ============================================
   BUSINESS SIGNUP MODAL - 2025 Design
   ============================================ */

/* Modal Overlay */
.business-signup-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 20px;
}

.business-signup-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Content */
.business-signup-modal-content {
  background: linear-gradient(135deg, #1a0033 0%, #2d0052 50%, #1a0033 100%);
  border: 2px solid rgba(0, 191, 255, 0.5);
  border-radius: 24px;
  padding: 40px;
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 191, 255, 0.4),
              0 0 100px rgba(138, 43, 226, 0.3);
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: auto;
}

.business-signup-modal-overlay.active .business-signup-modal-content {
  transform: scale(1) translateY(0);
}

/* Close Button */
.business-signup-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  transition: all 0.2s ease;
  padding: 0;
}

.business-signup-modal-close:hover {
  background: rgba(0, 191, 255, 0.2);
  border-color: #00BFFF;
  color: #00BFFF;
  transform: rotate(90deg);
}

/* Header */
.business-signup-modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.business-signup-modal-logo {
  max-width: 140px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 15px rgba(0, 191, 255, 0.7));
  animation: businessGlow 2s ease-in-out infinite;
}

@keyframes businessGlow {
  0%, 100% {
    filter: drop-shadow(0 0 15px rgba(0, 191, 255, 0.7));
  }
  50% {
    filter: drop-shadow(0 0 25px rgba(0, 191, 255, 1));
  }
}

.business-signup-modal-header h2 {
  color: #FFFFFF;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px 0;
  text-shadow: 0 0 20px rgba(0, 191, 255, 0.6);
}

.business-signup-modal-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  margin: 0;
}

/* Success Message */
.business-signup-success {
  background: rgba(76, 175, 80, 0.15);
  border: 2px solid rgba(76, 175, 80, 0.5);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  text-align: center;
  animation: slideDown 0.3s ease;
}

.business-signup-success i {
  font-size: 48px;
  color: #4CAF50;
  margin-bottom: 16px;
}

.business-signup-success h3 {
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.business-signup-success p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Error Message */
.business-signup-error {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 68, 68, 0.15);
  border: 1px solid rgba(255, 68, 68, 0.5);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 24px;
  color: #ff6b6b;
  font-size: 14px;
  animation: slideDown 0.3s ease;
}

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

.business-signup-error i {
  font-size: 18px;
  flex-shrink: 0;
}

/* Form */
.business-signup-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.business-signup-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.business-signup-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .business-signup-form-row {
    grid-template-columns: 1fr;
  }
}

.business-signup-form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
}

.business-signup-form-group label i {
  font-size: 14px;
  color: #00BFFF;
}

.business-signup-form-group label .required {
  color: #00BFFF;
}

.business-signup-form-group input,
.business-signup-form-group select,
.business-signup-form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(0, 191, 255, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.business-signup-form-group textarea {
  min-height: 80px;
  resize: vertical;
}

.business-signup-form-group input:focus,
.business-signup-form-group select:focus,
.business-signup-form-group textarea:focus {
  outline: none;
  border-color: #00BFFF;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
}

.business-signup-form-group input::placeholder,
.business-signup-form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.business-signup-form-group select {
  cursor: pointer;
}

.business-signup-form-group select option {
  background: #1a0033;
  color: #FFFFFF;
}

.business-signup-helper-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: -4px;
}

/* Section Title */
.business-signup-section-title {
  font-size: 18px;
  color: #00BFFF;
  margin: 20px 0 15px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(0, 191, 255, 0.3);
  font-weight: 600;
}

/* Submit Button */
.business-signup-submit-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #00BFFF 0%, #4682B4 50%, #00CED1 100%);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 191, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

.business-signup-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 191, 255, 0.6);
}

.business-signup-submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.business-signup-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.business-signup-loader {
  display: inline-block;
}

.business-signup-loader i {
  font-size: 18px;
}

/* Divider */
.business-signup-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 24px 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.business-signup-divider::before,
.business-signup-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.business-signup-divider span {
  padding: 0 16px;
}

/* Sign In Link */
.business-signup-signin-link {
  text-align: center;
}

.business-signup-signin-link p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin: 0;
}

.business-signup-signin-link a {
  color: #00BFFF;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.business-signup-signin-link a:hover {
  color: #4682B4;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 480px) {
  .business-signup-modal-content {
    padding: 32px 24px;
    border-radius: 20px;
  }

  .business-signup-modal-header h2 {
    font-size: 24px;
  }

  .business-signup-modal-logo {
    max-width: 80px;
  }

  .business-signup-form-group input,
  .business-signup-form-group select,
  .business-signup-form-group textarea {
    padding: 12px 14px;
    font-size: 14px;
  }

  .business-signup-submit-btn {
    padding: 14px;
    font-size: 15px;
  }
}

/* Smooth Scrollbar for Modal Content */
.business-signup-modal-content::-webkit-scrollbar {
  width: 8px;
}

.business-signup-modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.business-signup-modal-content::-webkit-scrollbar-thumb {
  background: rgba(0, 191, 255, 0.5);
  border-radius: 4px;
}

.business-signup-modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 191, 255, 0.7);
}

/* Focus Styles for Accessibility */
.business-signup-modal-content *:focus-visible {
  outline: 2px solid #00BFFF;
  outline-offset: 2px;
}
