/* Clean Sticky Assessment Banner */
.sticky-assessment-banner {
    background: linear-gradient(135deg, #abcf37 0%, #9bc22f 100%);
    color: #004963;
    padding: 16px 0;
    text-align: center;
    
    /* Multiple sticky approaches for maximum compatibility */
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    
    /* Force positioning with high z-index */
    z-index: 1000;
    
    /* Ensure full width and visibility */
    width: 100%;
    display: block;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    
    /* Smooth transitions */
    transition: all 0.3s ease;
}

/* Force sticky on Webkit browsers */
.sticky-assessment-banner {
    -webkit-position: sticky;
    -webkit-top: 0;
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.banner-text {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.banner-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.banner-cta {
    background: #004963;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.banner-cta:hover {
    background: #003a4a;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 73, 99, 0.2);
}

.banner-cta:visited {
    color: white;
}

.banner-cta:focus {
    outline: 2px solid #46c5e6;
    outline-offset: 2px;
}

/* Alternative: If sticky doesn't work, fall back to fixed */
@supports not (position: sticky) {
    .sticky-assessment-banner {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .sticky-assessment-banner {
        padding: 12px 0;
    }
    
    .banner-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .banner-text {
        font-size: 1rem;
        text-align: center;
    }
    
    .banner-cta {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .banner-container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .banner-text {
        font-size: 0.95rem;
    }
    
    .banner-icon {
        width: 18px;
        height: 18px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .banner-cta {
        transition: none;
    }
    
    .banner-cta:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .sticky-assessment-banner {
        display: none;
    }
}