/* Not voted (outline button) */
.flag.flag-wish-vote.action-flag a {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
    background-color: #ffffff;
    border: 1px solid #861216;
    border-radius: 4px;
    color: #861216;
    text-decoration: none;
}

/* Hover effect for not voted */
.flag.flag-wish-vote.action-flag a:hover {
    background-color: #861216;
    color: #fff;
    text-decoration: none;
}

/* Voted (filled button) */
.flag.flag-wish-vote.action-unflag a {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
    background-color: #861216;
    border: 1px solid #861216;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
}

/* Hover effect for voted */
.flag.flag-wish-vote.action-unflag a:hover {
    background-color: #a8181f;
    border-color: #a8181f;
    text-decoration: none;
}

/* Ensure proper spacing between buttons */
.flag.flag-wish-vote {
    display: inline-block;
    margin-left: 5px;
}

.flag.flag-wish-vote {
    margin-top: 10px;
}


.flag.flag-wish-vote {
    margin-top: 10px;
    float: left;
}


/* Remove unnecessary padding and border without blocking interaction */
.view-wishes .view-eva {
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    margin: 15px auto; /* Center the content but don't add excessive margins */
    z-index: 0;
    padding-left: 115px;
}

.flag-wish-vote a {
    width: 100px;
    margin-right: 15px;
}

/* Ensure vote button and count align properly */
.flag-wish-vote {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Adjust spacing between button and count */
    z-index: 10; /* Ensure it is above other elements */
    position: relative; /* Ensure it remains clickable */
}


.field.field--name-field-wish-type.field--type-list-string.field--label-above {
    clear: both;
    padding-top: 15px;
}
