.vulcan-vote-module {
    --vulcan-blue: var(--e-global-color-secondary, #1a365d);
    --success-green: #2f855a;
    --error-red: #c53030;
    --warning-orange: #c05621;
    --gray-text: var(--e-global-color-text, #4a5568);
    --gray-label: var(--e-global-color-text, #2d3748);
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;

    font-family: inherit;
    color: var(--e-global-color-text, #2d3748);
    max-width: 100%;
    margin: 0 auto;
}

/* CARD STYLING */
.vote-card {
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.vote-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 15px;
}

.vote-card-header h3 {
    color: var(--vulcan-blue);
    margin: 0;
    font-size: 1.25rem;
}

.stat-badge {
    font-size: 1rem;
    font-weight: 700;
    color: var(--vulcan-blue);
    background: #ebf8ff;
    padding: 6px 12px;
    border-radius: 6px;
}

.vote-breakdown {
    display: flex;
    gap: 20px;
    background: #f7fafc;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-text);
}

.breakdown-item strong {
    color: var(--vulcan-blue);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.dot-for {
    background-color: var(--success-green);
}
.dot-against {
    background-color: var(--error-red);
}
.dot-abstain {
    background-color: #718096;
}

.vote-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vote-entry {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition:
        transform 0.1s,
        border-color 0.1s;
}

.vote-entry:hover {
    border-color: #cbd5e0;
    background-color: #fafafa;
}

.entry-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    flex-grow: 1;
    margin-right: 20px;
}

.field {
    display: flex;
    flex-direction: column;
    width: 220px;
}

.label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--gray-label);
    font-weight: 800;
    margin-bottom: 1px;
}

.value {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.2;
}

/* Vote Tags */
.vote-tag {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    min-width: 70px;
    text-align: center;
    white-space: nowrap;
}

.tag-for {
    background: #c6f6d5;
    color: var(--success-green);
}
.tag-against {
    background: #fed7d7;
    color: var(--error-red);
}
.tag-abstain {
    background: #edf2f7;
    color: #718096;
}

@media (max-width: 768px) {
    .vote-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .vote-entry {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .entry-details {
        margin-right: 0;
        width: 100%;
        gap: 12px;
    }
    .field {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        border-bottom: 1px dashed var(--border-color);
        padding-bottom: 4px;
    }
    .vote-tag {
        align-self: flex-start;
        margin-top: 5px;
        width: 100%;
    }
}
