
.hp-container{
  max-width: 800px !important;
  margin: 0 auto;
}

.hello-toast {
  background-color: #1d2327;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  margin-top: 10px;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  animation: toast-in 0.3s forwards, toast-out 0.3s 2.7s forwards;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

@keyframes toast-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}



.hp-d-none{
  display: none ;
}
.change-image{
  display: none;
}

.hp-img-close {
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
    padding: 2px;
}
.hp-img-close:hover {
    background: #f44336;
    color: white;
}

#popup_image_preview_container {
    position: relative;
    display: inline-block;
    border-radius: 5px !important;
}
#popup_image_preview{
  max-width: 250px;
  border: 1px solid #ccc; padding: 5px; background: #fff;
  border-radius: 5px;
  aspect-ratio: 4/3;
  object-fit: cover;
}
#popup_image_preview_container img{
  border-radius: 4px !important;
}

#popup_image_remove.hp-img-close {
    position: absolute;
    top: -5px;
    right: -5px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 50%;
    padding: 4px;
    cursor: pointer;
    color: #cc0000;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}


/* settings styles */

/* Toggle Switch Style */
.hp-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
}

.hp-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.hp-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0;
    right: 0; bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.hp-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .hp-slider {
    background-color: #007cba; 
}

input:checked + .hp-slider:before {
    transform: translateX(18px);
}


.hp-settings-intro h1{
  font-weight: 600;
}
.hp-subtitle {
  margin-top: 0 !important;
  font-weight: 500;
}
.hp-settings-intro {
  margin-bottom: 20px;
  padding: 20px 0px;
  /* background: #fff;
  border: 1px solid #ccd0d4; */
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}



.hp-setting-rows {
  display: flex;
  flex-direction: column;
  gap: 10px; 
}

.hp-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}


.hp-setting-section {
  margin-top: 15px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* border: 1px solid #ccd0d4; */
}
.hp-setting-section  h2{
  margin-top: 0 !important;
}



.hp-setting-section input[type="text"],
.hp-setting-section input[type="url"],
.hp-setting-section input[type="number"],
.hp-input,
.hp-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccd0d4;
  border-radius: 8px;
  /* font-size: 14px; */
}

.hp-textarea {
  resize: vertical;
}

.hp-color-picker {
  height: 40px;
  width: 60px;
  border: none;
  cursor: pointer;
}
.hp-save-settings{
  margin-top: 20px;
}
.hp-save-settings button[type="submit"] {
  background-color: #007cba; 
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
}


.form-table td {
  padding: 10px;
}

.form-table th {
  width: 160px !important;
}

.hp-setting-label {
  font-weight: 600;

}

.hp-upload-btn {
  width: 100%;
  min-width: 250px;
  height: 60px;
  background: #f9f9f9;
  color: #555;
  border: 2px dashed #ddd;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-align: center;
}

.hp-upload-btn:hover {
  background-color: #f1f1f1;
  border-color: #bbb;
}

.hp-banner-title{
  padding: 0px !important;
  margin: 0 !important;
}


.hp-settings-banner-cont{
  display: flex;
  gap: 80px;
  align-items: center;
}
.hp-multiselect-wrapper{
 max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ccc;
  padding: 10px; 
  border-radius: 8px;
}




#save-settings {
  position: relative;
  transition: all 0.3s ease-in-out;
  z-index: 9999;
}

#save-settings.sticky {
  position: fixed;
  bottom: 20px;
  left: 18%;
  transform: translateX(-18%);
  width: auto;
  opacity: 1;
  visibility: visible;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: #2271b1;
}

#save-settings.sticky:hover {
  background-color: #135e96;
}


@media  (max-width: 600px) {
  .hp-settings-intro {
    flex-direction: column;
  }
  .form-table td{
    padding: 5px 0px; ;
  }

  .hp-settings-banner-cont{
    flex-direction: column;
    gap: 30px;
    align-items: start;

  }
 
}
