.ai-nowcasting-container {
  padding-top: 20px;
  box-sizing: border-box;
}

.ai-nowcasting-container .head-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  box-sizing: border-box;
}

.ai-nowcasting-container .row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-nowcasting-container .row .label {
  color: #666666;
  font-size: 14px;
  line-height: 22px;
}

.ai-nowcasting-container .time-radio-group {
  display: flex;
  border: 1px solid #dddddd;
}

.ai-nowcasting-container .time-radio-item {
  color: #333333;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  line-height: 22px;
  padding: 7px 12px;
  box-sizing: border-box;
  background-color: #fff;
  cursor: pointer;
}

.ai-nowcasting-container .time-radio-item.active {
  background-color: #196ca2;
  color: #fff;
}

.ai-nowcasting-container .row .select-boxs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-nowcasting-container .row .select-box {
  height: 36px;
  border: 1px solid #dddddd;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  cursor: pointer;
  padding: 0 10px;
  box-sizing: border-box;
}

.ai-nowcasting-container .row .select-box .sub-value {
  color: #333333;
  font-size: 14px;
  line-height: 22px;
}

.ai-nowcasting-container .row .select-box .select-icon {
  display: block;
  width: 16px;
  height: 16px;
}

.ai-nowcasting-container .row .get-last-time {
  width: fit-content;
  background-color: #e8f0f5;
  color: #333333;
  font-size: 14px;
  font-weight: 400;
  line-height: 36px;
  padding: 0 12px;
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
}

.display-quantity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.display-quantity-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.radio-item {
  color: #333333;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  line-height: 22px;
  padding: 7px 14px;
  background-color: #e8f0f5;
  box-sizing: border-box;
  cursor: pointer;
}

.radio-item.active {
  color: #ffffff;
  background-color: #196ca2;
}

.action-buttons {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.action-buttons .button {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 4px;
  color: #333333;
  font-size: 14px;
  line-height: 22px;
}

.button-line {
  width: 1px;
  height: 16px;
  background-color: #e4e9ed;
  margin: 0 6px;
}

.action-buttons .button .btn-icon {
  display: block;
  width: 16px;
  height: 16px;
}

.ai-nowcasting-container .img-box-timelist {
  display: flex;
  flex-direction: column;
  position: relative;
}

.ai-nowcasting-container .img-box-timelist .images-box {
  border: 1px solid #e4e9ed;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  width: 100%;
  min-height: 400px;
}

.ai-nowcasting-container .img-box-timelist .images-box.two {
  grid-template-columns: repeat(2, 1fr);
}

.ai-nowcasting-container .img-box-timelist .images-box.only-one .img-cover-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-nowcasting-container .img-box-timelist .images-box.only-one .img-cover {
  width: auto;
  height: 100%;
}

.images-box .img-cover-box {
  display: block;
  box-sizing: border-box;
  background-color: #fff;
  width: 100%;
  flex: 1;
  overflow: hidden;
  position: relative;
}

.image-marker {
  position: absolute;
  width: 20px;
  height: 20px;
  background: url(/ainpp/static/common/images/mark-icon.svg) no-repeat center;
  background-size: contain;
  pointer-events: none;
  display: none;
  z-index: 100;
}

.persistent-marker {
  position: absolute;
  width: 20px;
  height: 20px;
  background: url(/ainpp/static/common/images/mark-icon.svg) no-repeat center;
  background-size: contain;
  cursor: pointer;
  z-index: 101;
  transition: transform 0.2s;
}

.images-box .img-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.yb-img-box {
  width: 100%;
  position: relative;
  border: 1px solid #e4e9ed;
  box-sizing: border-box;
}

.yb-img-box .select-box {
  position: absolute;
  z-index: 1;
  width: fit-content;
  left: 0;
  bottom: 0;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #faab66;
  padding: 0 12px;
  box-sizing: border-box;
}

.yb-img-box .select-box .selected-value {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.yb-img-box .select-box .arrow {
  color: #ffffff;
  font-size: 12px;
}

.yb-img-box .select-box .arrow.rotated {
  transform: rotate(180deg);
}

.yb-img-box .select-box .select-options {
  display: none;
  position: absolute;
  bottom: 36px;
  left: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  z-index: 1;
  max-height: 200px;
  overflow-y: auto;
  box-sizing: border-box;
}

.yb-img-box .select-box .option {
  padding: 8px 16px;
  box-sizing: border-box;
  transition: all 0.3s;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.yb-img-box .select-box .option:hover {
  background: #f5f5f5;
}

.yb-img-box .select-box .option.active {
  color: #65b3fc;
  font-weight: bold;
}

.images-box .forecast-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.time-control {
  flex-shrink: 0;
  width: 100%;
  height: 56px;
  padding: 0 16px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  background-color: #f2f7fa;
}

.time-title {
  color: #000000;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}

.time-player {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
  margin-right: 16px;
}

.time-player-button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #196ca233;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon,
.pause-icon {
  display: block;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.play-pause.play .play-icon,
.play-pause.pause .pause-icon {
  display: block;
}

.play-pause.play .pause-icon,
.play-pause.pause .play-icon {
  display: none;
}

.ai-nowcasting-container .img-box-timelist .label {
  color: #000000;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 22px;
  background-color: #f3f3f3;
  box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.0588235294);
  padding: 5px 0;
  box-sizing: border-box;
}

.ai-nowcasting-container .img-box-timelist .time-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ai-nowcasting-container .img-box-timelist .time-list .time {
  width: 12px;
  height: 32px;
  background-color: #91cbf2;
  cursor: pointer;
}

.ai-nowcasting-container .img-box-timelist .time-list .time.active {
  background-color: #196ca2;
}

.hours-list {
  position: absolute;
  z-index: 1;
  top: 42px;
  left: 0;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border: 1px solid #e0e0e0;
  padding: 8px;
}

.hours-item {
  padding: 10px 16px;
  margin: 4px 0;
  border-radius: 6px;
  transition: all 0.2s ease;
  color: #2d3436;
  cursor: pointer;
  font-size: 14px;
}

.hours-item:hover {
  background: #65b3fc;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(101, 179, 252, 0.2);
}

.time-arrows {
  display: flex;
  flex-direction: column;
}

.time-arrows .arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 1px;
}

.time-arrows .arrow .arrow-icon,
.time-arrows .arrow .arrow-icon-active {
  display: block;
  width: 12px;
  height: 12px;
}

.time-arrows .arrow .arrow-icon-active,
.time-arrows .arrow:hover .arrow-icon {
  display: none;
}

.time-arrows .arrow:hover .arrow-icon-active {
  display: block;
}

.tab-time-content .select-options {
  position: absolute;
  width: 100%;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e4e9ed;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 100;
  max-height: 200px;
  overflow-y: auto;
  box-sizing: border-box;
}

.tab-time-content .select-option {
  padding: 8px 12px;
  transition: all 0.2s;
  color: #666;
  font-size: 14px;
}

.tab-time-content .select-option:hover {
  background: #f5f5f5;
  color: #015293;
}

.ai-nowcasting-container.fullscreen-active {
  background-color: #fff;
  padding: 32px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ai-nowcasting-container.fullscreen-active .head-row {
  flex-shrink: 0;
}

.ai-nowcasting-container.fullscreen-active .img-box-timelist {
  flex: 1;
  overflow: hidden;
}

.ai-nowcasting-container.fullscreen-active .img-box-timelist .images-box {
  flex: 1;
  overflow: hidden;
  overflow-y: auto;
}

.export-wrapper.two .images-box {
  flex-wrap: wrap;
  align-items: normal;
  justify-content: normal;
}

.export-wrapper.two .img-cover-box {
  height: 100%;
}
