/* Interactive Rating Styles */

.rating-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stars-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
    min-width: 35px;
}

.stars-interactive {
    display: flex;
    gap: 2px;
    cursor: pointer;
}

.star {
    font-size: 18px;
    transition: all 0.2s ease;
    cursor: pointer;
    opacity: 0.3;
    filter: grayscale(100%);
}

.star.filled {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.star.highlighted {
    opacity: 0.8;
    filter: grayscale(50%);
    transform: scale(1.05);
}

.star:hover {
    transform: scale(1.2);
}

.rating-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 0.8rem;
}

.vote-count {
    color: var(--text-muted);
}

.rate-prompt {
    color: var(--primary-color);
    font-weight: 500;
    animation: pulse 2s infinite;
}

.user-rated {
    color: #4caf50;
    font-weight: 500;
    display: none;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Rating Notification */
.rating-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    z-index: 10000;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.rating-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.notification-icon {
    font-size: 1.2rem;
}

/* Dark mode adjustments */
[data-theme="dark"] .rating-notification {
    background: linear-gradient(135deg, #388e3c, #2e7d32);
}

/* Local Time Clock Styles */
.local-time {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 8px;
    padding: 8px 12px;
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.local-time .stat-icon {
    font-size: 16px;
}

.local-time .stat-value {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.1rem;
}

.local-time .stat-label {
    font-size: 0.75rem;
    opacity: 0.9;
}

/* Simple Local Time Clock Styles (no background) */
.local-time-simple {
    background: none;
    border: none;
    padding: 4px 8px;
    color: var(--text-color);
}

.local-time-simple .stat-icon {
    font-size: 16px;
    color: var(--text-muted);
}

.local-time-simple .stat-value {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1rem;
    color: var(--text-color);
}

.local-time-simple .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Dark mode adjustments for clock */
[data-theme="dark"] .local-time {
    background: linear-gradient(135deg, #4a90e2, #357abd);
}

/* Footer Layout Adjustments */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-subsection h4 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.footer-subsection p {
    margin-bottom: 5px;
    color: var(--text-muted);
}

/* Mobile responsive footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .info-section {
        gap: 20px;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .rating-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        transform: translateY(-100%);
    }
    
    .rating-notification.show {
        transform: translateY(0);
    }
    
    .stars-interactive {
        gap: 4px;
    }
    
    .star {
        font-size: 20px;
    }
    
    .local-time {
        padding: 6px 8px;
    }
    
    .local-time .stat-value {
        font-size: 1rem;
    }
}