#ai-votes-monitor {
    background: linear-gradient(145deg, #f5f7fa, #e4ebf2);
    border-radius: 20px;
    padding: 30px;
    max-width: 700px;
    margin: 30px auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#ai-votes-monitor .title, 
#ai-votes-monitor h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
}

#ai-votes-monitor .description, 
#ai-votes-monitor .small {
    font-size: 1rem;
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

#ai-votes-monitor #ai-votes-dashboard {
    min-height: 180px;
    border: 2px dashed #a0b0c0;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 20px;
}

#ai-votes-monitor .status {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

#ai-votes-monitor .support p {
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c3e50;
}

#ai-votes-monitor .support ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#ai-votes-monitor .support ul li {
    background: #dbe6f1;
    margin-bottom: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 500;
    color: #1b3a57;
}




#ai-votes-monitor .strong-message {
    position: relative;
    padding: 20px 25px;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    text-transform: uppercase;
    color: #e74c3c;
    border-radius: 12px;
    overflow: hidden;
    background: #fff; /* optional background */
}

/* Animated border line */
#ai-votes-monitor .strong-message::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 15px;
    padding: 3px;
    background: conic-gradient(#ff4d4d, #ffeb3b, #ff4d4d, #ffeb3b);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    animation: rotate-border 3s linear infinite;
    z-index: -1;
}

@keyframes rotate-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* ================= MEDIA QUERIES 768px ================= */
@media (max-width: 768px) {

    #ai-votes-monitor {
        padding: 20px;
        margin: 20px 10px;
    }

    #ai-votes-monitor .title,
    #ai-votes-monitor h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    #ai-votes-monitor .description,
    #ai-votes-monitor .small {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    #ai-votes-monitor #ai-votes-dashboard {
        min-height: 140px;
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    #ai-votes-monitor .status {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    #ai-votes-monitor .support p {
        font-size: 0.9rem;
    }

    #ai-votes-monitor .support ul li {
        font-size: 0.85rem;
        padding: 6px 10px;
    }

    #ai-votes-monitor .strong-message {
        font-size: 1rem;
        padding: 15px 20px;
    }
}
