/* Estrellas votación */
.sv-stars {
    display: inline-block;
    cursor: pointer;
}

.sv-stars .star {
    font-size: 42px;
    line-height: 42px;
    width: 42px;
    height: 42px;
    text-align: center;
    color: #D8DBE1;
    margin-right: 2px;
    transition: color 0.2s;
    display: inline-block;
}

.sv-stars .star.hover,
.sv-stars .star.selected {
    color: #EF4444;
}

/* Estrellas promedio */
.sv-promedio-estrellas .star {
    font-size: 42px;
    line-height: 42px;
    color: #EF4444;
    margin-right: 2px;
    display: inline-block;
    width: 42px;
    height: 42px;
    text-align: center;
}

.sv-promedio-estrellas .star.empty {
    color: #D8DBE1;
}

.sv-promedio-estrellas .star.half {
    position: relative;
    color: #D8DBE1;
}

.sv-promedio-estrellas .star.half::before {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #EF4444;
    font-size: 42px;
    line-height: 42px;
}

/* Modal */
.sv-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.sv-modal-content {
    background: #fff;
    max-width: 500px;
    margin: 100px auto;
    padding: 20px;
    position: relative;
    border-radius: 8px;
}

.sv-close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.sv-open-modal {
    font-family: var(--sgr-font-asap-condensed);
    background-color: var(--sgr-color-primary);
    color: var(--sgr-color-white);
    padding: var(--sgr-spacing-sm) var(--sgr-spacing-lg);
    border-radius: var(--sgr-border-radius-md);
    font-size: 16px;
    font-weight: var(--sgr-font-weight-semibold);
    transition: background-color var(--sgr-transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.sv-open-modal svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.sv-vote-form .title {
    font-family: var(--sgr-font-asap-condensed);
    font-weight: 600;
    font-style: var(--sgr-font-weight-semibold);
    font-size: 32px;
    color: #133555;
    text-align: center;
}

.sv-vote-form .text {
    font-family: var(--sgr-font-asap-condensed);
    font-weight: 400;
    font-style: var(--sgr-font-weight-regular);
    font-size: 18px;
    text-align: center;
    color: #5A6374;
    margin-bottom: 20px;
}

.sv-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.sv-category label {
    margin: 0;
    font-weight: 600;
    color: #133555;
}

.sv-vote-form .star {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.sv-vote-form button {
    font-family: var(--sgr-font-asap-condensed);
    background-color: var(--sgr-color-primary);
    color: var(--sgr-color-white);
    padding: var(--sgr-spacing-sm) var(--sgr-spacing-lg);
    border-radius: var(--sgr-border-radius-md);
    font-size: 16px;
    font-weight: var(--sgr-font-weight-semibold);
    transition: background-color var(--sgr-transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 20px;
}

.sv-text {
    font-family: var(--sgr-font-asap-condensed);
    font-weight: 500;
    font-style: var(--sgr-font-weight-medium);
    font-size: 14px;
    color: #788193;
}

.sv-category-boleta{
    display: flex;
    flex-direction: column;
    gap: 5px;
}