
/* Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Popup box */
.popup-box {
  background: #fff;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  animation: popIn 0.3s ease;
  border-top: 6px solid #314ea9; /* primary */
}

.popup-box h3 {
  margin: 0 0 10px;
  color: #314ea9;
  font-size: 20px;
}

.popup-box p {
  margin: 0 0 20px;
  font-size: 15px;
  color: #444;
}

.popup-box button {
  background: #314ea9;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.2s;
}

.popup-box button:hover {
  background: #243a7d;
}

/* Animation */
@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.search-bar select {
min-width: calc(100% / 6);
width:100%;
}

   .search-bar {
    transform: translateY(0) !important;
        border-radius: 20px !important;
            padding: 20px 16px !important;
}
        .home-search-btn {
    font-size: 14px;
    color: white;
    background-color: #3E5EC0;
    border-radius: 60px;
    max-width:fit-content;
    padding: 0 20px;
    width: 100%;
    height: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 0.5rem;
    border: none;
    font-weight: 600;
}


.search-bar {
    form {
        display: flex;
        align-items: start;
        justify-content: space-between;
        gap: 10px;
        flex-direction: column;
    }
}
.search-bar-top{
        display: flex;
    justify-content: space-between;
    gap: 8px;
    width:100%;
}
.search-bar-bottom{
        display: flex;
    justify-content: space-between;
    gap: 8px;
       width:100%;
}
.search-bar {
    & form {
        .keyword-input {
            max-width: 50% !important;
        }
    }
}
@media (max-width: 768px) {
    .search-bar-bottom {
    flex-direction: column;
}
.search-bar {
    border-radius: 15px !important;
        padding: 30px 16px !important
}
    .search-bar {
        & form {
            button {
                left: calc(50% + 55px) !important;
                                &.reset-btn {
                    left: calc(50% - 64px) !important;
                }
            }
        }
    }
    .search-bar-top {
    flex-direction: column;
}
}
.search-bar {
    & form {
        .keyword-input {
            max-width: 100% !important;
                        flex: 1;
        }
    }
}

}