.loader-circle {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



.floating-iconss {
  position: fixed;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.social-icons {
  background-color: #ffffff;
}

#emailModal,
#whatsappModal {
  z-index: 99999;
}

.icons {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: bounce 2s infinite;
  overflow: hidden;
  padding: 10px;
  border: 1px solid #e0e0e0;
  cursor: pointer;
}

.icons img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.icons:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}



.floating-iconss,
.social-floating-right {
  position: fixed;
  top: 80%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1050;
}

.floating-iconss {
  left: 10px;
}

.social-floating-right {
  right: 10px;
}

.social-icons {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: bounce 2s infinite;
  overflow: hidden;
  cursor: pointer;
  padding: 8px;
}

.social-icons:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.social-icons img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes floatBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}


/* Modal styling is scoped so theme form rules cannot overlap it. */
#emailModal .modal-dialog,
#whatsappModal .modal-dialog {
  width: calc(100% - 24px);
  max-width: 500px;
  margin: 28px auto;
}

#emailModal .modal-content,
#whatsappModal .modal-content {
  height: auto;
  max-height: calc(100vh - 56px);
  overflow: hidden;
  border: 0;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  animation: fadeInUp 0.35s ease;
}

#emailModal .modal-header,
#whatsappModal .modal-header {
  flex-shrink: 0;
  padding: 16px;
  border-bottom: 0;
  background: #d91680;
  color: #fff;
}

#emailModal .modal-title,
#whatsappModal .modal-title {
  margin: 0;
  color: #fff !important;
  font-size: 20px;
  font-weight: 600;
}

#emailModal .btn-close,
#whatsappModal .btn-close {
  opacity: 0.85;
  box-shadow: none;
  filter: brightness(0) invert(1);
}

#emailModal .modal-body,
#whatsappModal .modal-body {
  overflow-y: auto;
  padding: 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#emailModal .modal-body::-webkit-scrollbar,
#whatsappModal .modal-body::-webkit-scrollbar {
  display: none;
}

#emailModal .form-control,
#whatsappModal .form-control {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  background-color: #fff;
  color: #35142b;
  font-size: 16px;
  line-height: 1.5;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#emailModal textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

#emailModal select.form-control {
  padding-right: 40px;
}

#emailModal .form-control:focus,
#whatsappModal .form-control:focus {
  outline: 0;
  border-color: #d91680;
  box-shadow: 0 0 0 3px rgba(217, 22, 128, 0.12);
}

#emailModal .modal-body button[type="submit"],
#whatsappModal .modal-body button[type="submit"] {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: #d91680;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

#emailModal .modal-body button[type="submit"]:hover,
#whatsappModal .modal-body button[type="submit"]:hover {
  background: #b9126c;
}

@media (max-width: 575px) {
  #emailModal .modal-dialog,
  #whatsappModal .modal-dialog {
    width: calc(100% - 20px);
    margin: 10px auto;
  }

  #emailModal .modal-content,
  #whatsappModal .modal-content {
    max-height: calc(100dvh - 20px);
    border-radius: 12px;
  }

  #emailModal .modal-header,
  #whatsappModal .modal-header,
  #emailModal .modal-body,
  #whatsappModal .modal-body {
    padding: 14px;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
