/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open,
.modal-overlay[style*="flex"] {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 0;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay[style*="flex"] .modal-content {
  transform: scale(1);
}

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

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

.modal-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
  margin-top: 0;
}

/* .modal-content p {
  color: #666;
  margin-bottom: 24px;
  font-size: 1rem;
} */

/* Demo Request Modal Specific Styles */
.demo-request-modal .modal-content {
  max-width: 486px;
  padding: 0;
}

.demo-request-content {
  padding: 40px;
}

.demo-request-logo {
  display: block;
  margin: 0 auto 20px;
  height: 40px;
  width: auto;
}

.demo-request-divider {
  height: 1px;
  background: #e0e0e0;
  margin-bottom: 24px;
}

.demo-request-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
  text-align: center;
}

.demo-request-text {
  color: #666;
  margin-bottom: 24px;
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.5;
}

.enterprise-contact-content .input-wrapper {
  background: rgba(44, 108, 160, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(44, 108, 160, 0.15);
  padding: 4px;
}

.enterprise-contact-content .input-wrapper input {
  border: none;
  background: transparent;
  padding-left: 48px;
}

.enterprise-contact-content .input-wrapper input:focus {
  box-shadow: none;
}

.enterprise-contact-content .input-icon {
  left: 16px;
  width: 22px;
  height: 22px;
  opacity: 0.7;
}

.enterprise-contact-content .form-actions .btn {
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

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

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 20px;
  pointer-events: none;
  z-index: 1;
}

.form-group input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #2c6ca0;
  box-shadow: 0 0 0 3px rgba(44, 108, 160, 0.1);
}

.form-group input::placeholder {
  color: #999;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.form-actions .btn {
  width: 100%;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.form-actions .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-actions .btn-primary {
  background-color: #2c6ca0;
  color: white;
}

.form-actions .btn-primary:hover:not(:disabled) {
  background-color: #1e4d73;
}

.demo-submit-btn {
  position: relative;
}

.btn-loading {
  display: none;
}

/* Auth Options */
.auth-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.auth-options .btn {
  width: 100%;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.auth-options .btn-primary {
  background-color: #2c6ca0;
  color: white;
}

.auth-options .btn-primary:hover {
  background-color: #1e4d73;
}

.auth-options .btn-secondary {
  background-color: transparent;
  border: 2px solid #2c6ca0;
  color: #2c6ca0;
}

.auth-options .btn-secondary:hover {
  background-color: #f0f7ff;
}

/* Responsive */
@media (max-width: 768px) {
  .modal-content {
    padding: 24px;
    width: 95%;
  }

  .modal-content h2 {
    font-size: 1.5rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }
}

