/* PDL Contact Form Modal */

.pdl-contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pdl-contact-modal.active {
  display: flex;
  opacity: 1;
}

.pdl-contact-form-container {
  background: white;
  border-radius: 16px;
  padding: 40px;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: slideIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.pdl-contact-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  background: #f5f5f5;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 20px;
  color: #666;
}

.pdl-contact-close:hover {
  background: #e74c3c;
  color: white;
  transform: rotate(90deg);
}

.pdl-contact-header {
  text-align: center;
  margin-bottom: 30px;
}

.pdl-contact-header h2 {
  font-family: 'Inter', sans-serif, Arial;
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 10px 0;
}

.pdl-contact-header p {
  font-family: 'Inter', sans-serif, Arial;
  font-size: 14px;
  color: #7f8c8d;
  margin: 0;
}

.pdl-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.pdl-form-group label {
  font-family: 'Inter', sans-serif, Arial;
  font-size: 13px;
  font-weight: 600;
  color: #2c3e50;
}

.pdl-form-group input {
  font-family: 'Inter', sans-serif, Arial;
  font-size: 14px;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
  outline: none;
}

.pdl-form-group input:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.pdl-form-group input.error {
  border-color: #e74c3c;
}

.pdl-form-error {
  font-family: 'Inter', sans-serif, Arial;
  font-size: 12px;
  color: #e74c3c;
  margin-top: -12px;
  display: none;
}

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

.pdl-submit-btn {
  font-family: 'Inter', sans-serif, Arial;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.pdl-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

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

.pdl-submit-btn:disabled {
  background: #95a5a6;
  cursor: not-allowed;
  transform: none;
}

.pdl-submit-btn.loading {
  position: relative;
  color: transparent;
}

.pdl-submit-btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.pdl-success-message {
  display: none;
  text-align: center;
  padding: 20px;
}

.pdl-success-message.show {
  display: block;
}

.pdl-success-icon {
  width: 60px;
  height: 60px;
  background: #2ecc71;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: white;
  animation: scaleIn 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.pdl-success-message h3 {
  font-family: 'Inter', sans-serif, Arial;
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 10px 0;
}

.pdl-success-message p {
  font-family: 'Inter', sans-serif, Arial;
  font-size: 14px;
  color: #7f8c8d;
  margin: 0;
}
