.despro-callback-button {
  display: inline-block;
  padding: 10px 20px;
  background: #0077b6;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.despro-callback-button:hover {
  background: #023e8a;
}

.despro-callback-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.despro-callback-modal-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.despro-callback-modal-content {
  background: white;
  border-radius: 12px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: desproSlideIn 0.3s ease-out;
}

.despro-callback-modal-content h2 {
    font-size: 2rem;
}

@media (max-width: 960px) {
    .despro-callback-modal-content h2 {
        font-size: 1.5rem;
    }
}

@keyframes desproSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.despro-callback-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
}

.despro-callback-modal-close:hover {
  color: #000;
}

.despro-callback-form {
  margin-top: 20px;
}

.despro-callback-form .form-item {
  margin-bottom: 20px;
}

.despro-callback-form input:not([type="checkbox"]) {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
}

.despro-callback-form .form-type-checkbox {
  margin-bottom: 20px;
}

.despro-callback-form .form-type-checkbox label {
  display: inline;
  font-weight: normal;
}

.despro-callback-form .form-type-checkbox input {
  width: auto;
  margin-right: 8px;
}

.despro-callback-form .description {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
  margin-left: 25px;
}

.despro-callback-form .button--primary {
  width: 100%;
  padding: 12px;
  background: #0077b6;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

.despro-callback-success {
  text-align: center;
  padding: 20px;
}

@media (max-width: 768px) {
  .despro-callback-modal-content {
    padding: 20px;
    width: 95%;
  }
}

/* Социальные ссылки под формой */
.despro-callback-social-links {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 14px;
}

.social-links-label {
  color: #666;
}

.social-link {
  display: inline-block;
  margin: 0 8px;
  padding: 5px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.social-link-max {
  background: #6c5ce7;
  color: white;
}

.social-link-max:hover {
  background: #5b4bc4;
  color: white;
  transform: translateY(-2px);
}

.social-link-telegram {
  background: #0088cc;
  color: white;
}

.social-link-telegram:hover {
  background: #006699;
  color: white;
  transform: translateY(-2px);
}

/* Адаптивность для мобильных */
@media (max-width: 480px) {
  .despro-callback-social-links {
    font-size: 12px;
  }
  
  .social-link {
    margin: 5px 4px;
    padding: 4px 10px;
  }
}