/**
 * Mobile Voting Styles
 * Active vote states, transitions, and loading indicators
 */

/* Active vote styling - More visible */
.videocommon-btn.vote-active {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.2) 0%, rgba(0, 123, 255, 0.1) 100%) !important;
    border: 1px solid #007bff !important;
    transform: scale(1.02);
    transition: all 0.15s ease;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.videocommon-btn.vote-active:hover {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.3) 0%, rgba(0, 123, 255, 0.15) 100%) !important;
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.4);
}

/* Icon colors for active votes */
.videocommon-btn.vote-active .fa-circle-check {
    color: #28a745 !important;
    text-shadow: 0 0 6px rgba(40, 167, 69, 0.5);
}

.videocommon-btn.vote-active .fa-circle-xmark {
    color: #dc3545 !important;
    text-shadow: 0 0 6px rgba(220, 53, 69, 0.5);
}

/* Faster transitions for voting */
.videocommon-btn i {
    transition: all 0.1s ease;
}

.videocommon-btn {
    transition: all 0.1s ease;
    position: relative;
    overflow: hidden;
}

/* Loading state */
.videocommon-btn.voting-loading {
    opacity: 0.6;
    pointer-events: none;
}

.videocommon-btn.voting-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
