.vote-images_page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .vote-images_page-header {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
  }
}
.vote-images_page-header > div {
  flex: 1 1 0;
}
.vote-images_page-header > div:nth-of-type(1) > * {
  font-size: 42px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
}
@media (max-width: 768px) {
  .vote-images_page-header > div:nth-of-type(1) > * {
    font-size: 20px;
  }
}
.vote-images_page-header > div:nth-of-type(2) > * {
  margin: 0;
}
.vote-images_page-images-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.vote-images_page-images-grid > div {
  width: calc((100% - (20px * 3)) / 4);
}
@media (max-width: 768px) {
  .vote-images_page-images-grid > div {
    width: calc((100% - (20px * 1)) / 2);
  }
}
.vote-images_page-images-grid > div > div:nth-of-type(1) a {
  display: block;
}
.vote-images_page-images-grid > div > div:nth-of-type(1) a img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 2px;
}
.vote-images_page-images-grid > div > div:nth-of-type(2) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
@media (max-width: 768px) {
  .vote-images_page-images-grid > div > div:nth-of-type(2) {
    font-size: 11px;
  }
}
.vote-images_page-images-grid > div > div:nth-of-type(2) a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none !important;
}
@media (max-width: 768px) {
  .vote-images_page-images-grid > div > div:nth-of-type(2) a {
    font-size: 12px;
  }
}
.vote-images_page-images-grid > div > div:nth-of-type(2) a::before {
  content: url('svg/heart.svg');
  display: block;
  height: 22px;
}
.vote-images_page-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 1000;
  inset: 0 0 0 0;
  background-color: rgba(0, 0, 0, 0.75);
  opacity: 1;
  transition: all ease-out 0.2s;
  -webkit-transition: all ease-out 0.2s;
}
@media (max-width: 768px) {
  .vote-images_page-modal {
    padding: 10px;
  }
}
.vote-images_page-modal.vote-images_page-modal__hidden {
  z-index: -1;
  opacity: 0;
}
.vote-images_page-modal > div {
  position: relative;
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 40px;
  max-width: 640px;
}
@media (max-width: 768px) {
  .vote-images_page-modal > div {
    padding: 20px;
  }
}
.vote-images_page-modal > div > span {
  display: block;
  position: absolute;
  inset: 20px 20px auto auto;
}
.vote-images_page-modal > div > span::before {
  content: url('svg/close.svg');
  display: block;
  height: 22px;
  cursor: pointer;
}
.vote-images_page-modal > div > div:nth-of-type(1) {
  margin-bottom: 10px;
}
.vote-images_page-modal > div > div:nth-of-type(1) > * {
  display: block;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: #0059A2;
}
@media (max-width: 768px) {
  .vote-images_page-modal > div > div:nth-of-type(1) > * {
    font-size: 16px;
  }
}
.vote-images_page-modal > div > div:nth-of-type(2) {
  margin-bottom: 20px;
}
.vote-images_page-modal > div > div:nth-of-type(2) > * {
  display: block;
  text-align: center;
  font-size: 15px;
}
@media (max-width: 768px) {
  .vote-images_page-modal > div > div:nth-of-type(2) > * {
    font-size: 12px;
  }
}
.vote-images_page-modal > div > div:nth-of-type(4) {
  margin-top: 30px;
}
.vote-images_page-modal > div > div:nth-of-type(4) > * {
  display: block;
  text-align: center;
  font-size: 14px;
  color: #808080;
  margin: 0;
}
@media (max-width: 768px) {
  .vote-images_page-modal > div > div:nth-of-type(4) > * {
    font-size: 12px;
  }
}
.vote-images_page-modal .success * {
  display: block;
  text-align: center;
  font-size: 18px;
  margin: 0;
}
.vote-images_page-modal .success.success__hidden {
  display: none;
}
.vote-images_page-form {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.vote-images_page-form > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.vote-images_page-form > div:nth-of-type(1) {
  flex-shrink: 0;
  width: 40%;
}
@media (max-width: 768px) {
  .vote-images_page-form > div:nth-of-type(1) {
    width: 100%;
  }
}
.vote-images_page-form > div:nth-of-type(2) {
  flex-grow: 1;
}
.vote-images_page-form > div:nth-of-type(3) {
  width: 100%;
  display: flex;
  flex-direction: row;
}
.vote-images_page-form > div > div > span {
  display: block;
  color: #0059A2;
  font-size: 14px;
  font-weight: 600;
}
.vote-images_page-form button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #0059A2;
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 5px;
  padding: 0 30px;
  color: #FFFFFF;
  font-size: 15px;
}
.vote-images_page-form button.disabled {
  pointer-events: none;
  touch-action: none;
  opacity: 0.5;
}
.vote-images_page-form > div:nth-of-type(3) p {
  font-size: 13px;
  color: #808080;
  margin: 0;
}
.vote-images_page-form [type="checkbox"] {
  display: none;
}
.vote-images_page-form [type="checkbox"] + label {
  position: relative;
  display: inline-block;
  height: 2rem;
  width: 2rem;
  border-radius: 0.2rem;
  border: solid 0.1rem rgba(0, 0, 0, 0.4);
  cursor: pointer;
}
.vote-images_page-form [type="checkbox"] + label::before,
.vote-images_page-form [type="checkbox"] + label::after {
  content: '';
  position: absolute;
  left: 0;
  height: 0.4rem;
  border-radius: 0.2rem;
  transition: all ease-out 0.1s;
  -webkit-transition: all ease-out 0.1s;
}
.vote-images_page-form [type="checkbox"] + label::before {
  top: 0;
  width: 1.4rem;
  transform: rotate(-45deg) translate(-0.3rem, 0.8rem);
}
.vote-images_page-form [type="checkbox"] + label::after {
  bottom: 0;
  width: 0.8rem;
  transform: rotate(45deg) translate(-0.2rem, -0.4rem);
}
.vote-images_page-form [type="checkbox"]:checked + label::before,
.vote-images_page-form [type="checkbox"]:checked + label::after {
  background-color: #0059A2;
}
.vote-images_page-form [type="checkbox"].error + label {
  border-color: #FF0100;
}
