.pvs-voting-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border-radius: 16px;
}

.pvs-voting-container h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 700;
    text-align: center; /* FIXED: Center aligned title */
}

.pvs-names-list {
    margin-bottom: 30px;
}

.pvs-name-item {
    margin-bottom: 16px;
    background-color: white;
    border: none;
    border-radius: 16px; /* FIXED: Smooth rounded corners */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pvs-name-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.pvs-name-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
}

.pvs-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    flex-grow: 1;
}

.pvs-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pvs-vote-count {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    min-width: 32px;
    text-align: right;
}

/* FIXED: Simple arrow without button background */
.pvs-vote-button {
    background: none !important; /* Remove button background */
    border: none;
    border-radius: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #9ca3af; /* Grey color for unvoted */
    padding: 0;
}

.pvs-vote-button:hover {
    background: none !important;
    transform: scale(1.1); /* Just scale on hover */
    color: #6b7280; /* Slightly darker grey on hover */
}

.pvs-vote-button.voted {
    background: none !important;
    color: #22c55e; /* Green when voted */
}

.pvs-vote-button.voted:hover {
    background: none !important;
    color: #16a34a; /* Darker green on hover */
    transform: scale(1.1);
}

/* FIXED: Clean, simple arrow - no stroke, just fill */
.pvs-vote-button svg {
    width: 32px !important; /* Big arrow */
    height: 32px !important; /* Big arrow */
    fill: currentColor; /* Use the button's color */
}

/* UPDATED: Copy button now green */
.pvs-copy-button {
    background-color: #22c55e; /* CHANGED: Green color */
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px; /* FIXED: Rounded corners */
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pvs-copy-button:hover {
    background-color: #16a34a; /* CHANGED: Darker green on hover */
    transform: translateY(-1px);
}

/* FIXED: Professional meaning design integrated with card */
.pvs-meaning {
    padding: 0 24px 20px 24px;
    color: #666;
    font-size: 15px;
    background-color: transparent;
    margin: 0;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
    margin-top: -4px;
}

/* UPDATED: Share/Add button now navy blue */
.pvs-share-button {
    background-color: #1e3a8a; /* CHANGED: Navy blue color */
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 16px; /* FIXED: Rounded corners */
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.pvs-share-button:hover {
    background-color: #1e40af; /* CHANGED: Lighter navy on hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.3); /* CHANGED: Navy shadow */
}

/* Loading state */
.pvs-voting-container.loading .pvs-vote-button {
    pointer-events: none;
    opacity: 0.6;
}

.pvs-voting-container.loading .pvs-copy-button {
    pointer-events: none;
    opacity: 0.6;
}

/* Copy feedback */
.copy-feedback {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #22c55e;
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    z-index: 9999;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

/* FIXED: Comprehensive mobile responsive design - COMPACT LAYOUT */
@media (max-width: 768px) {
    .pvs-voting-container {
        margin: 10px;
        padding: 16px;
        border-radius: 12px;
        width: calc(100% - 20px); /* Full width minus margins */
    }
    
    .pvs-voting-container h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .pvs-name-item {
        margin-bottom: 8px; /* REDUCED: Less space between items */
        border-radius: 12px;
    }
    
    .pvs-name-row {
        padding: 12px 16px; /* REDUCED: Compact padding */
        flex-wrap: nowrap; /* FIXED: Keep everything in one line */
        gap: 12px;
        align-items: center;
    }
    
    .pvs-name {
        font-size: 16px;
        flex-grow: 1; /* Take available space */
        margin-bottom: 0; /* REMOVED: No bottom margin */
    }
    
    .pvs-actions {
        gap: 8px; /* REDUCED: Tighter spacing */
        margin-left: 0; /* REMOVED: No left margin */
        flex-shrink: 0; /* Don't shrink */
    }
    
    .pvs-vote-count {
        font-size: 16px;
        min-width: 24px; /* REDUCED: Smaller width */
    }
    
    .pvs-vote-button {
        width: 32px; /* REDUCED: Smaller button */
        height: 32px;
    }
    
    .pvs-vote-button svg {
        width: 24px !important; /* REDUCED: Smaller arrow */
        height: 24px !important;
    }
    
    .pvs-copy-button {
        padding: 8px 12px; /* REDUCED: Compact padding */
        font-size: 12px;
        border-radius: 8px; /* REDUCED: Smaller radius */
    }
    
    .pvs-meaning {
        padding: 8px 16px 12px 16px; /* REDUCED: Compact meaning */
        font-size: 13px;
    }
    
    .pvs-share-button {
        padding: 12px 24px; /* REDUCED: Compact button */
        font-size: 14px;
        border-radius: 10px;
    }
    
    .copy-feedback {
        top: 10px;
        right: 10px;
        left: 10px;
        text-align: center;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .pvs-voting-container {
        margin: 5px;
        padding: 12px;
        width: calc(100% - 10px); /* Full width minus small margins */
    }
    
    .pvs-voting-container h2 {
        font-size: 20px;
        margin-bottom: 16px; /* REDUCED: Less space */
    }
    
    .pvs-name-item {
        margin-bottom: 6px; /* REDUCED: Very compact */
    }
    
    .pvs-name-row {
        padding: 10px 12px; /* REDUCED: Very compact padding */
        gap: 8px;
    }
    
    .pvs-name {
        font-size: 15px;
    }
    
    .pvs-vote-count {
        font-size: 14px;
        min-width: 20px; /* REDUCED: Even smaller */
    }
    
    .pvs-vote-button {
        width: 28px; /* REDUCED: Smaller button */
        height: 28px;
    }
    
    .pvs-vote-button svg {
        width: 20px !important; /* REDUCED: Smaller arrow */
        height: 20px !important;
    }
    
    .pvs-copy-button {
        padding: 6px 10px; /* REDUCED: Very compact */
        font-size: 11px;
        border-radius: 6px;
    }
    
    .pvs-meaning {
        padding: 6px 12px 8px 12px; /* REDUCED: Very compact meaning */
        font-size: 12px;
    }
}