/* style.css */
#comment-hash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.comment-hash-modal {
    background-color: white;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 90%;
    width: 400px;
}

.comment-hash-spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-radius: 50%;
    border-top-color: #3498db;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 1em;
}

#comment-hash-status {
    margin: 1em 0;
    color: #666;
    font-size: 14px;
}

#comment-hash-progress {
    height: 4px;
    background-color: #f3f3f3;
    border-radius: 2px;
    margin-top: 1em;
    overflow: hidden;
}

#comment-hash-progress::after {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background-color: #3498db;
    animation: progress 1s infinite linear;
    border-radius: 2px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes progress {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(250%);
    }
}

/* Optional: Add some responsive styles */
@media (max-width: 480px) {
    .comment-hash-modal {
        width: 85%;
        padding: 1.5em;
    }
    
    .comment-hash-spinner {
        width: 40px;
        height: 40px;
    }
}
