.mt-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 20px;
    margin-top: 30px;
}

.mt-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    cursor: pointer;
}

.mt-item p {
    text-align: center;
    margin-top: 5px;
    font-weight: bold;
}

/* Container */
#mt-search {
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
}

/* Flex line */
.mt-search-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Field wrapper */
.mt-field {
    display: flex;
    flex-direction: column;
    min-width: 180px;
    flex: 1;
    justify-content: center;
}

.mt-field input{
    height: 4rem;
    margin-bottom: 0px !important;
}

 .mt-field select{
    height: 4rem;
    margin-bottom: 0px;
 }

/* Labels */
.mt-field label {
    font-weight: 600;
    margin-bottom: 5px;
}

/* Inputs */
.mt-field input,
.mt-field select {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}

/* Submit button */
.mt-submit button {
    width: 100%;
    background: #0365CC;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.mt-submit button:hover {
    background: #005177;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .mt-search-flex {
        flex-direction: column;
    }
    .mt-field {
        width: 100%;
    }
}


.mt-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
}

.mt-lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
}

#mt-lightbox-caption {
  text-align: center;
  color: #ccc;
  margin-top: 10px;
}

.mt-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}