/* Кнопка обратного звонка как отдельный элемент */
.callback-modal-btn {
  background: #232A45;
  color: #4bb3fd;
  font-weight: 700;
  font-size: 1.12rem;
  padding: 4px 22px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px #3ABEFF22;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.callback-modal-btn:hover,
.callback-modal-btn:focus {
  background: #3ABEFF;
  color: #232A45;
}
/* Заголовок успешной отправки */
.custom-callback .modal-success-title {
  background: linear-gradient(90deg, #3ABEFF 60%, #222E50 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 0.5rem;
  margin-top: 0.2rem;
}

/* Новый современный стиль модалки обратной связи */
.custom-callback {
  background: #232A45;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(34,46,80,0.18);
  padding: 0;
  border: none;
  overflow: hidden;
}
.custom-callback .modal-header {
  background: transparent;
  color: #fff;
  border-radius: 16px 16px 0 0;
  padding: 1.1rem 1.5rem 0.7rem 1.5rem;
  border-bottom: 1px solid #2e3a5c;
  display: flex;
  align-items: center;
}
.custom-callback .modal-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.5px;
  text-align: left;
  margin-bottom: 0.2rem;
  text-shadow: none;
}
.custom-callback .btn-close {
  filter: invert(60%) sepia(80%) saturate(300%) hue-rotate(180deg);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.custom-callback .btn-close:hover {
  opacity: 1;
}
.custom-callback .modal-body {
  background: transparent;
  color: #fff;
  border-radius: 0 0 16px 16px;
  padding: 1.2rem 1.5rem 0.7rem 1.5rem;
}
.custom-callback .form-label {
  color: #b3cfff;
  font-weight: 600;
  font-size: 1.08rem;
  margin-bottom: 0.3rem;
}
.custom-callback .form-control {
  background: #232A45;
  color: #fff;
  border: 1.5px solid #3ABEFF;
  border-radius: 10px;
  font-size: 1.08rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px #3ABEFF11;
  transition: border 0.2s, box-shadow 0.2s;
}
.custom-callback .form-control:focus {
  border-color: #fff;
  box-shadow: 0 0 0 2px #3ABEFF44;
  background: #232A45;
  color: #fff;
}
.custom-callback .form-control::placeholder {
  color: #3ABEFF;
  opacity: 1;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.custom-callback .modal-footer {
  background: transparent;
  border-top: 1px solid #2e3a5c;
  border-radius: 0 0 16px 16px;
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  padding: 0.8rem 1.5rem;
}
.custom-callback .btn-primary {
  background: #3ABEFF;
  color: #232A45;
  font-weight: 700;
  padding: 0.5rem 1.4rem;
  font-size: 1.08rem;
  border-radius: 10px;
  border: none;
  box-shadow: 0 2px 8px #3ABEFF22;
  transition: background 0.2s, color 0.2s;
}
.custom-callback .btn-primary:hover,
.custom-callback .btn-primary:focus {
  background: #222E50;
  color: #3ABEFF;
}
.custom-callback .btn-secondary {
  background: #232A45;
  color: #b3cfff;
  border: none;
  font-weight: 500;
  border-radius: 10px;
  padding: 0.5rem 1.2rem;
  font-size: 1.08rem;
  box-shadow: 0 2px 8px #222E5022;
  transition: background 0.2s, color 0.2s;
}
.custom-callback .btn-secondary:hover,
.custom-callback .btn-secondary:focus {
  background: #3ABEFF;
  color: #232A45;
}
@media (max-width: 600px) {
  .custom-callback {
    border-radius: 7px;
  }
  .custom-callback .modal-title {
    font-size: 1rem;
  }
  .custom-callback .form-control {
    font-size: 0.96rem;
    border-radius: 7px;
  }
  .custom-callback .modal-footer {
    gap: 0.4rem;
    padding: 0.6rem 0.7rem;
  }
  .custom-callback .modal-header,
  .custom-callback .modal-body {
    padding: 0.7rem 0.7rem 0.5rem 0.7rem;
  }
}
