.popup-notice-overlay {
    position: fixed;
    inset: 0;
    background: rgba(36, 52, 71, 0.7);
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.popup-notice-overlay.active { opacity: 1; visibility: visible; }

.popup-notice-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    z-index: 999999;
    background: var(--color-surface, #f6f9fc);
    border-radius: var(--radius-md, 6px);
    max-width: 640px;
    width: 92%;
    max-height: 92vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(31, 42, 56, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border, #d6e0ea);
}
.popup-notice-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.popup-notice-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.popup-notice-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.popup-notice-slide {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.popup-notice-image { width: 100%; background: var(--color-surface-alt, #eef3f8); }
.popup-notice-image img {
    width: 100%;
    height: auto;
    display: block;
    padding: 72px;
    max-height: 320px;
    object-fit: cover;
}

.popup-notice-content { padding: 24px 26px 28px; }
.popup-notice-title {
    margin: 0 0 10px 0;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text, #1f2a38);
}
.popup-notice-description {
    font-size: 14px;
    line-height: 1.65;
    color: var(--color-text-muted, #586e87);
}
.popup-notice-description p { margin: 0 0 10px 0; }
.popup-notice-description p:last-child { margin-bottom: 0; }
.popup-notice-description a { color: var(--color-cta, #4a6fa5); }

.popup-notice-button {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 24px;
    background: var(--color-cta, #4a6fa5);
    color: #fff !important;
    text-decoration: none;
    border-radius: var(--radius-md, 6px);
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(74, 111, 165, 0.35);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
.popup-notice-button:hover {
    background: var(--color-cta-hover, #7a9bc5);
    color: #fff !important;
    box-shadow: 0 6px 24px rgba(74, 111, 165, 0.5);
    text-decoration: none;
}

.popup-notice-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: rgba(36, 52, 71, 0.55);
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 5;
    line-height: 1;
    padding: 0;
}
.popup-notice-arrow:hover { background: rgba(36, 52, 71, 0.8); }
.popup-notice-prev { left: 10px; }
.popup-notice-next { right: 10px; }

.popup-notice-dots {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 5;
}
.popup-notice-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 4px;
    cursor: pointer;
    border: 1px solid rgba(31, 42, 56, 0.15);
    transition: background 0.2s ease, transform 0.2s ease;
}
.popup-notice-dot.active {
    background: #fff;
    transform: scale(1.25);
}

.popup-notice-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(36, 52, 71, 0.55);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    z-index: 6;
    transition: background 0.2s ease;
    padding: 0;
}
.popup-notice-close:hover { background: rgba(36, 52, 71, 0.8); }

.popup-notice-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(31, 42, 56, 0.08);
    z-index: 7;
}
.popup-notice-progress-bar {
    width: 0%;
    height: 100%;
    background: var(--color-cta, #4a6fa5);
    will-change: width;
}

@media (max-width: 600px) {
    .popup-notice-modal { width: 96%; }
    .popup-notice-content { padding: 16px 18px 22px; }
    .popup-notice-title { font-size: 18px; }
    .popup-notice-arrow { width: 32px; height: 32px; font-size: 14px; }
    .popup-notice-image img { max-height: 220px; }
}
