/* Zoom/Presentation Mode Styles - Issue #12 */

/* Zoom button on post cards */
.zoom-btn {
    padding: 6px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.zoom-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.zoom-btn:active {
    transform: translateY(0);
}

/* Zoom modal */
.zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.zoom-modal.active {
    display: flex;
}

.zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.zoom-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

/* Close button */
.zoom-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Navigation buttons */
.zoom-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 48px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-nav:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.zoom-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.zoom-prev {
    left: 20px;
}

.zoom-next {
    right: 20px;
}

/* Zoom card */
.zoom-card {
    background: white;
    border-radius: 20px;
    padding: 60px;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Source badge */
.zoom-source-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Title */
.zoom-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

/* Label badge */
.zoom-label-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 30px;
}

.zoom-label-confidence {
    opacity: 0.8;
    font-size: 14px;
}

/* Summary */
.zoom-summary {
    font-size: 24px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0 0 30px 0;
}

/* Meta information */
.zoom-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 2px solid #e2e8f0;
    border-bottom: 2px solid #e2e8f0;
}

.zoom-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #2d3748;
}

.zoom-meta-icon {
    font-size: 24px;
}

/* Votes */
.zoom-votes {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.zoom-vote-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #f7fafc;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.zoom-vote-item.love {
    border-color: #fc8181;
    background: #fff5f5;
}

.zoom-vote-item.update {
    border-color: #f6ad55;
    background: #fffaf0;
}

.zoom-vote-item.remove {
    border-color: #cbd5e0;
    background: #f7fafc;
}

.zoom-vote-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.zoom-vote-count {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 4px;
}

.zoom-vote-label {
    font-size: 14px;
    color: #718096;
    font-weight: 600;
}

/* Open article button */
.zoom-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.zoom-open-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Counter */
.zoom-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10002;
}

/* Responsive design */
@media (max-width: 768px) {
    .zoom-card {
        padding: 30px;
        max-height: 85vh;
    }

    .zoom-title {
        font-size: 28px;
    }

    .zoom-summary {
        font-size: 18px;
    }

    .zoom-meta {
        flex-direction: column;
        gap: 15px;
    }

    .zoom-votes {
        flex-direction: column;
    }

    .zoom-nav {
        width: 50px;
        height: 50px;
        font-size: 36px;
    }

    .zoom-prev {
        left: 10px;
    }

    .zoom-next {
        right: 10px;
    }

    .zoom-close {
        width: 40px;
        height: 40px;
        font-size: 24px;
        top: 10px;
        right: 10px;
    }
}

/* Scrollbar styling for zoom card */
.zoom-card::-webkit-scrollbar {
    width: 8px;
}

.zoom-card::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.zoom-card::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.zoom-card::-webkit-scrollbar-thumb:hover {
    background: #555;
}
