/* popup.css */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

#custom-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
 background: rgb(0 0 0 / 83%);
  display: none;
  z-index: 999;
}

#custom-popup {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  width: 500px;
  max-width: 95vw;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  display: none;
  z-index: 1000;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -60%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

.custom-form-heading {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.custom-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.custom-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 6px;
  font-weight: 600;
}

input,
select,
textarea {
  padding: 10px;
  border-radius: 6px;
  line-height: 19px;
  border: 1px solid #ccc;
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
}

.button-center {
  text-align: center;
  margin-top: 10px;
}

button.custom-button {
  background-color: #1e88e5;
    color: white;
    padding: 6px 28px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

button.custom-button:hover {
  background-color: #1565c0;
}

button.custom-float-btn {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: #1e88e5;
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1100;
  transition: all 0.3s ease;
}

button.custom-float-btn:hover {
  background-color: #1565c0;
  transform: translateY(-2px);
}

/**55555555555555555555555555555555/
.custom-float-btn {
  position: relative;
  background: #555;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

/* Tooltip container */
.custom-float-btn .tooltip-text {
 visibility: visible;
    width: 188px;
    background-color: #22222299;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 2px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
    transition: opacity 0.3s;
    font-size: 10px;
    pointer-events: none;
     animation: zoomBlink 1.5s ease-in-out infinite;    
}
@keyframes zoomBlink {
    0%, 100% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.02);
    }
}
/* Arrow below the tooltip */
.custom-float-btn .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%; /* Tooltip ke niche arrow */
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #222 transparent transparent transparent;
}

/* Show the tooltip on hover */
.custom-float-btn:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}