/* Top Banner Styles */
.top-banner {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 8px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001; /* Lebih tinggi dari navbar */
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    width: 100%;
}

.top-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="white" opacity="0.1"/><circle cx="40" cy="70" r="1" fill="white" opacity="0.1"/><circle cx="90" cy="80" r="2.5" fill="white" opacity="0.1"/></svg>') repeat;
    pointer-events: none;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.banner-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.banner-message {
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    justify-content: center;
}

.banner-highlight {
    color: #fbbf24;
    font-weight: 700;
}

.banner-cta-inline {
    background: white;
    color: #2563eb;
    padding: 4px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-left: 8px;
}

.banner-cta-inline:hover {
    background: #fbbf24;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.close-banner {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 6px;
    margin-left: 10px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.close-banner:hover {
    opacity: 1;
}

/* Animation for banner close */
@keyframes slideUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .banner-text {
        flex-direction: column;
        gap: 8px;
    }

    .banner-message {
        font-size: 12px;
    }

    .banner-cta-inline {
        font-size: 11px;
        padding: 3px 10px;
    }
}