.agency-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none
}

.agency-tabs__item {
    margin: 0
}

.agency-tabs__link {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    color: #333;
    text-decoration: none
}

.agency-tabs__item.is-active .agency-tabs__link {
    background: #f5f5f5;
    border-color: #ccc
}


.grissoft-vote-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

.grissoft-vote-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.grissoft-vote-popup-content {
    position: relative;
    max-width: 500px;
    margin: 50px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-height: 90vh;
    overflow-y: auto;
}

.grissoft-vote-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.grissoft-vote-popup-content h3 {
    margin-top: 0;
    font-size: 25px;
    margin-bottom: 15px;
}

.grissoft-vote-form .grissoft-vote-field {
    margin-bottom: 15px;
}

.grissoft-vote-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.grissoft-vote-form .required {
    color: red;
}

.grissoft-vote-form input[type="text"],
.grissoft-vote-form input[type="email"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.grissoft-vote-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.grissoft-vote-submit, .grissoft-vote-cancel {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.grissoft-vote-submit {
    background: #ff473a;
    color: #fff;
}

.grissoft-vote-submit:hover {
    background: #ff473a;
}

.grissoft-vote-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.grissoft-vote-cancel {
    background: #ccc;
}

.grissoft-vote-cancel:hover {
    background: #bbb;
}

.grissoft-vote-message {
    margin: 15px 0;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.grissoft-vote-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.grissoft-vote-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.grissoft-vote-btn {
    padding: 10px 20px;
    background: #ff473a;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.grissoft-vote-btn:hover {
    background: #ff473a;
}
.box-author .grissoft-vote-btn{
    max-width: fit-content;
}
.grissoft-view-rating-btn{
    display: inline-block;
    padding: 8px 16px;
    color: #FF473A;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;

}

