/* ------------------------------------------------
  Project:   Soflead - Software & Saas Landing Page
  Author:    ThemeHt

  NOTE: This is Color customizer stylesheet of template.
------------------------------------------------ */

.color-customizer {
  z-index: 10000;
  right: -250px;
  width: 250px;
  position: fixed;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  box-shadow: -3px 0 50px -2px rgba(0, 0, 0, 0.14);
}
.color-customizer .color-button {
  text-align: center;
  display: inline-block;
  z-index: 2;
  position: absolute;
  background: #fff;
  width: 100%;
}
.color-customizer .color-chooser {
  padding: 20px;
  background-color: #ffffff;
  -webkit-box-shadow: 0 10px 35px 0
    rgba(92.99999999999996, 72.00000000000001, 223, 0.08);
  -moz-box-shadow: 0 10px 35px 0
    rgba(92.99999999999996, 72.00000000000001, 223, 0.08);
  box-shadow: 0 10px 35px 0
    rgba(92.99999999999996, 72.00000000000001, 223, 0.08);
}
.color-customizer.opened .color-chooser {
  opacity: 1;
}
.color-customizer a.opener {
  display: block;
  height: 45px;
  background: var(--themeht-primary-color);
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  width: 45px;
  font-size: 24px;
  line-height: 45px;
  color: #ffffff;
  position: absolute;
  right: 250px;
  top: 50%;
  text-align: center;
  text-decoration: none;
  transform: translateY(-50%);
}
.color-customizer.opened a.opener {
  left: -45px;
  border-color: transparent;
}
.color-customizer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0;
}
.color-customizer ul li {
  width: 50px;
  height: 50px;
  border-radius: 7px;
  float: left;
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin: 10px 10px 10px 10px;
  -webkit-transition: all linear 0.5s;
  -moz-transition: all linear 0.5s;
  -o-transition: all linear 0.5s;
  -ms-transition: all linear 0.5s;
  transition: all linear 0.5s;
}
.color-customizer ul li:nth-child(3n + 3) {
  margin-right: 0;
}
.color-customizer ul li.selected:before {
  color: #ffffff;
  font-size: 30px;
  content: "\f633";
  font-family: bootstrap-icons !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.color-customizer .theme-default {
  background: linear-gradient(115deg, #6637ee, #00ffc2);
}
.color-customizer .theme-2 {
  background: linear-gradient(115deg, #35caa4, #f0da69);
}
.color-customizer .theme-3 {
  background: linear-gradient(115deg, #974a27, #e9ee62);
}
.color-customizer .theme-4 {
  background: linear-gradient(115deg, #252b61, #a1e1e1);
}
.color-customizer .theme-5 {
  background: linear-gradient(115deg, #1f507b, #6ff0f2);
}
.color-customizer .theme-6 {
  background: linear-gradient(115deg, #29675c, #d2b3ff);
}

#datepickerForm {
  padding: 10px; /* Adjust padding value as needed */
  font-size: 16px; /* Optional: Change font size */
  border: 1px solid #d2f2ee; /* Optional: Add a border */
  border-radius: 9px; /* Optional: Add rounded corners */
  width: 100%; /* Adjust width as needed, 100% for full-width */
  max-width: 300px; /* Optional: Set a maximum width */
}
.time-slot-container {
  background-color: white;
  width: 100%;
  max-width: 900px;
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.headerForm {
  text-align: center;
}

.headerForm svg {
  margin-right: 12px;
  color: #2563eb;
}

.headerForm-title {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

@media (max-width: 768px) {
  /* Adjust the max-width based on your mobile breakpoint */
  .time-slots {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }
}
.time-slot {
  background-color: #f3f4f6;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
  color: #4b5563;
}

.time-slot:hover {
  background-color: #dbeafe;
}

.time-slot.selected {
  background-color: #2563eb;
  color: white;
}

.selected-display {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}

.selected-display span {
  color: #2563eb;
  font-weight: 500;
}

.popup-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) scale(0.5); /* Initial scale for the popup */
  background: white; /* Changed to white */
  padding: 10px 20px; /* Spacious padding */
  border-radius: 20px; /* Smooth rounded corners */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); /* Increased box shadow */
  z-index: 9999;
  display: none;
  opacity: 0; /* Start with 0 opacity */
  transition: opacity 0.4s ease, transform 0.4s ease; /* Smooth transition */
  width: auto;
  max-width: 400px; /* Max width for better control */
}

.popup-container.active {
  display: block;
  opacity: 1; /* Fade-in effect */
  transform: translateX(-50%) scale(1); /* Scale to normal size */
}

.popup-container .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  background: transparent;
  color: #333;
  transition: color 0.3s ease;
}

.popup-container .close:hover {
  color: #ff4747; /* Red color on hover */
}

/* Timing Bar */
.popup-timer {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 5px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  width: 100%;
}

.popup-timer-bar {
  height: 100%;
  background: #ff4747; /* Red color for the timer bar */
  width: 100%; /* Start from 100% width */
  border-radius: 10px;
  transition: width 5s linear; /* Smooth shrinking animation */
}

/* Responsive styles */
@media (max-width: 768px) {
  .popup-container {
    padding: 5px 10px; /* Further reduced padding for smaller screens */
    border-radius: 15px; /* Slightly smaller border-radius */
    top: 60px; /* Changed top position */
  }

  .popup-container .close {
    font-size: 18px; /* Smaller close button */
    top: 8px;
    right: 12px;
  }
}

@media (max-width: 480px) {
  .popup-container {
    padding: 5px 10px; /* Further reduced padding for very small screens */
    border-radius: 10px; /* Even more rounded for small screens */
    width: 90%; /* Make the popup take up more space */
    top: 60px; /* Changed top position */
  }

  .popup-container .close {
    font-size: 16px; /* Smaller close button */
    top: 5px;
    right: 10px;
  }
}
