﻿ .popup-overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.5);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      opacity: 0;
      transform: scale(0.95);
      transition: opacity 0.3s ease, transform 0.3s ease;
      pointer-events: none;
    }

    .popup-overlay.active {
      opacity: 1;
      transform: scale(1);
      pointer-events: auto;
    }

    .popup {
background: url(/assets/images/popup_line.png) no-repeat left top #fff;
    background-size: contain;
    width: 90%;
    max-width: 950px;
    border-radius: 8px;
    padding: 15px 40px 40px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
.popup-main{
	display: flex;
    align-items: center;
}
.popup_ttl{
text-align: center;
    font-weight: 600;
    font-size: 35px;
   margin: 15px 0;
}
    .popup-content {
      flex: 1;
    }
 .popup-content p{color:var(--txt-black);margin-bottom: 10px;}
    .popup-main > img {
      width: 200px;
      margin-left: 20px;
    }

    .popup h2 {
      color: var(--txt-red);
    }

    .popup .close-btn {
    position: absolute;
    top: 25px;
    right: 15px;
    font-size: 33px;
    cursor: pointer;
    color: #303030;
    }

    .popup ul {
      padding-left: 25px;
    }

    .popup li {
     color:var(--txt-black);
	  list-style: disc;
    margin-bottom: 10px;

    }
	.popup ul.red li::marker {
		color: var(--txt-red); /* đổi màu dấu chấm */
	}
	
	.popup ul.blue li::marker {
		color: var(--mcolor); /* đổi màu dấu chấm */
	}

.popup ul:not(:last-child){margin-bottom:15px;}
    .text-red {
      color: var(--txt-red);
    }

    .text-blue {
      color: #007bff;
    }

    .bold {
      font-weight: bold;
    }

    @media (max-width: 768px) {
      .popup {
        flex-direction: column;
        align-items: center;
		padding: 15px 20px 20px;
      }
	  
	  .popup-main{
		  flex-direction: column;
		  overflow: hidden;
        max-height: 400px;
        overflow-y: scroll;
	  }

      .popup img {
        margin-left: 0;
        margin-top: 20px;
      }
    }