.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.main-modal,
.main-modal02 {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-content {
  padding: 20px;
}
.main-modal .image,
.main-modal02 .image {
  margin-bottom: 15px;
}
.main-modal .image img,
.main-modal02 .image img {
  max-width: 100%;
  height: auto;
  display: block;
}
.foot-close {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #ddd;
}
.foot-close .input {
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-close-btn {
  padding: 8px 20px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}
.modal-close-btn:hover,
.modal-close-btn:focus {
  background-color: #555;
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}
body.modal-open {
  overflow: hidden;
}
@media (max-width: 768px) {
  .main-modal,
  .main-modal02 {
    max-width: 95%;
    max-height: 95vh;
  }
  .modal-content {
    padding: 15px;
  }
  .foot-close {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}
