.ageSex-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  display: none;
  font-size: 0;
}

#ageSex-modal {
  display: block;
  height: 524px;
  width: 800px;
  border-radius: 16px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #FFFFFF;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: opacity;
  overflow: hidden;
}

#ageSex-modal.show {
  display: block;
  opacity: 1;
}

.ageSex-modal-left-content {
  display: inline-block;
  width: 400px;
  height: 100%;
  margin: 0;
  padding: 0;
  vertical-align: top;
}

.ageSex-modal-left-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ageSex-modal-right {
  display: inline-block;
  width: 400px;
  height: 100%;
  margin: 0;
  padding: 0;
  vertical-align: top;
  position: relative;
  box-sizing: border-box;
  padding: 40px;
  padding-bottom:20px;
}

.ageSex-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
  width: 16px;
}

.ageSex-modal-close:hover {
  transform: rotate(90deg);
}

.ageSex-modal-close svg {
  width: 13px;
  height: 13px;
}
.ageSex-modal-title{
  font-weight: 600;
  font-size: 28px;
  color: #000;
  margin-bottom: 24px;
  text-align: center;
}
.ageSex-modal-content{
  font-weight: 400;
  font-size: 14px;
  color: #000;
}
.ageSex-modal-content-text{
  font-weight: 400;
  font-size: 14px;
  color: #000;
  margin-bottom: 16px;
  line-height: 20px;
  cursor: default;
}
.ageSex-modal-buttons-container {
  position: absolute;
  bottom: 20px;
  left: 40px;
  right: 40px;
  width: calc(100% - 80px);
}

.ageSex-modal-btn{
  width: 100%;
  height: 44px;
  border-radius: 8px;
  box-sizing: border-box;
  text-align: center;
  line-height: 44px;
  background-color: #EA8101;
  color:#fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.ageSex-modal-btn:hover {
  background-color: rgba(234, 129, 1, 0.8);
}

.ageSex-modal-text{
  font-weight: 400;
  font-size: 14px;
  color: #91969C;
  margin-top:20px;
  text-align: center;
  cursor: pointer;
}
.mobile-device #ageSex-modal {
  width: 320px;
  height: auto;
}


.mobile-device .ageSex-modal-left-content {
  width: 100%;
  height: 160px;
  display: block;
}
.mobile-device .ageSex-modal-right {
  display: block;
  width: 100%;
  height: auto;
  padding: 16px;
  box-sizing: border-box;
  padding-bottom: 8px;
}
.mobile-device  .ageSex-modal-title{
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.mobile-device .ageSex-modal-content-text{
  font-weight: 400;
  font-size: 14px;
}
.mobile-device .ageSex-modal-buttons-container{
  width: 100%;
  position: relative;
  bottom:0;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  margin-top: 24px;
}
.mobile-device .ageSex-modal-btn{
  width: 100%;
}
.mobile-device .ageSex-modal-text{
  margin: 0 auto;
  margin-top: 12px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  width: 100%;
}
.mobile-device .ageSex-modal-content-text{
  margin-bottom: 0;
}