/* Modal Announcement Styling */
.modal-announcement {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-announcement-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease;
    position: relative;
    overflow: hidden;
}

.announcement-banner {
    padding: 40px 30px;
    text-align: center;
    background: linear-gradient(135deg, #17A2B8 0%, #0E7C8C 100%);
    color: white;
    position: relative;
}

.banner-icon {
    font-size: 60px;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

.banner-icon i {
    color: #FFC107;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.banner-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-body {
    background: white;
    color: #333;
    padding: 30px 25px;
    border-radius: 15px;
    margin-top: 20px;
}

.banner-body h3 {
    font-size: 24px;
    font-weight: 800;
    color: #17A2B8;
    margin-bottom: 10px;
}

.banner-body h4 {
    font-size: 20px;
    font-weight: 600;
    color: #0E7C8C;
    margin-bottom: 15px;
}

.banner-status {
    background: linear-gradient(135deg, #FFC107 0%, #FFB300 100%);
    color: #333;
    padding: 12px 25px;
    border-radius: 50px;
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.5);
    animation: pulse 2s infinite;
}

.banner-details {
    text-align: left;
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.banner-details p {
    margin: 10px 0;
    font-size: 15px;
    color: #555;
}

.banner-details strong {
    color: #333;
}

.banner-details ul {
    list-style: none;
    padding-left: 20px;
    margin-top: 10px;
}

.banner-details ul li {
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
}

.banner-details ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #17A2B8;
    font-weight: bold;
}

.btn-daftar {
    display: inline-block;
    background: linear-gradient(135deg, #17A2B8 0%, #0E7C8C 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    margin: 20px 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(23, 162, 184, 0.4);
}

.btn-daftar:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(23, 162, 184, 0.6);
    color: white;
    text-decoration: none;
}

.btn-daftar i {
    margin-right: 8px;
}

.info-text {
    font-size: 14px;
    color: #666;
    margin-top: 15px;
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .modal-announcement-content {
        width: 95%;
        margin: 10% auto;
    }

    .announcement-banner {
        padding: 30px 20px;
    }

    .banner-title {
        font-size: 22px;
    }

    .banner-body h3 {
        font-size: 20px;
    }

    .banner-body h4 {
        font-size: 18px;
    }

    .banner-icon {
        font-size: 50px;
    }
}