/* /assets/frontend.css */
.acm-hidden {
    display: none !important;
}

#acm-cache-notification {
    animation: acm-slide-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes acm-slide-in {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.acm-notification-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    color: white;
    overflow: hidden;
    min-width: 320px;
    max-width: 400px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.acm-notification-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.acm-icon {
    font-size: 24px;
    margin-right: 12px;
    animation: acm-pulse 1.5s ease-in-out infinite;
}

@keyframes acm-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.acm-title {
    font-weight: 700;
    font-size: 16px;
    flex: 1;
}

.acm-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.acm-close:hover {
    opacity: 1;
}

.acm-notification-body {
    padding: 20px;
}

.acm-message {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.95;
}

.acm-notification-footer {
    padding: 15px 20px;
    display: flex;
    gap: 10px;
}

.acm-btn-refresh {
    flex: 1;
    background: white;
    color: #667eea;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.acm-btn-refresh:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.acm-btn-refresh:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    #acm-cache-notification {
        bottom: 10px !important;
        right: 10px !important;
    }
    
    .acm-notification-content {
        min-width: 280px;
    }
}
