/* Overlay Background */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Popup Box */
.popup-box {
  display: flex;
  flex-direction: column;
  background: #fff;
  width: 750px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
  animation: popupSlide 0.4s ease;
}

.popup-box-container {
  display: flex;
}

/* Left Image */
.popup-left {
  flex: 1;
  background: #f5f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup-left img {
  max-width: 100%;
  border-radius: 12px;
}

.popup-right {
  flex: 1.2;
  background: #444b9d;
  display: flex;
  flex-direction: column;
  padding-left: 20px;
}

/* Header */
.popup-header {
  background: #3867ae;
  /* Blue */
  color: #fff;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.close-btn {
  cursor: pointer;
  font-size: 26px;
  font-weight: bold;
  transition: 0.3s;
}

.close-btn:hover {
  color: #ee3228;
  /* Red hover */
}

/* Form */
.popup-right form {
  /* padding: 22px 20px; */
  padding: 20px;
}

.form-group {
  position: relative;
  margin-bottom: 6px;
}

/* Inputs, Select & Textarea */
input,
select,
textarea {
  width: 100%;
  padding: 2px 12px;
  border: 1px solid #3867ae;
  /* Blue border */
  border-radius: 8px;
  background: #f9fbff;
  /* Light blue-ish */
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
  height: 45px !important;
}

/* Textarea */
textarea {
  height: 90px;
  resize: none;
}

/* Select */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 30px;
  background: #f9fbff;
  color: #333;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%233867ae' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

/* Dropdown options */
select option {
  color: #333;
  background: #fff;
}

/* On Focus */
input:focus,
select:focus,
textarea:focus {
  border-color: #ee3228;
  /* Red focus */
  box-shadow: 0 0 8px rgba(238, 50, 40, 0.2);
  outline: none;
  background: #fff;
  color: #333;
}

/* Floating Labels */
.form-group label {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 14px;
  color: #666;
  transition: 0.3s;
  pointer-events: none;
  background: transparent;
}

input:focus + label,
input:valid + label,
textarea:focus + label,
textarea:valid + label,
select:focus + label,
select:valid + label {
  top: -10px;
  left: 10px;
  font-size: 12px;
  background: #fff;
  padding: 0 5px;
  color: #3867ae;
  /* Blue floating label */
}

/* Footer */

/* Submit Button */
.submit-btn {
  background: #3867ae;
  /* Blue button */
  color: #fff;
  font-weight: bold;
  border: none;
  padding: 10px 22px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.submit-btn:hover {
  background: #ee3228;
  /* Hover red */
  color: #fff;
  transform: scale(1.05);
}

/* Animation */
@keyframes popupSlide {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .popup-box {
    flex-direction: column;
    width: 90%;
  }

  .popup-left {
    display: none;
  }
  .popup-right.left{
    display: none;
  }

  .popup-right.right{
    padding-left: 0;

  }
}

select {
  /* padding: 5px; */
  color: #959595;
  border: 1px solid #ccc;
  line-height: 43px !important;
}

.form-group .select2-container--default .select2-selection--single {
  position: relative;
  display: block;
  width: 100%;
  height: 56px;
  padding: 10px 25px;
  line-height: 1.4;
  border-radius: 28px;
  color: var(--dark-color);
  background-color: var(--white-color);
  border: 1px solid rgb(56 103 174);
  transition: all 300ms ease;
}

.icon-input {
  position: relative;
}

.icon-input i {
  position: absolute;
  left: 10px;
  /* top: 50%; */
  top: 50%;
  transform: translateY(-50%);
  color: #3867ae;
  font-size: 14px;
}

.icon-input input,
.icon-input select,
.icon-input textarea {
  padding-left: 35px;
  /* space for icon */
}

@media (max-width: 576px) {
  .hide-mobile {
    display: none;
  }
}

@media (max-width: 576px) {
  .pops {
    display: none !important;
  }
}
