/**
 * Article Helpful Frontend Styles
 */

.voxel-article-helpful-wrapper {
    display: block;
    max-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    border-radius: 8px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.voxel-article-helpful-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.voxel-article-helpful-heading {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    text-align: center;
}

.voxel-article-helpful-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
}

.voxel-helpful-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: #ffffff;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-sizing: border-box;
}

.voxel-helpful-btn:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
    color: #1e293b;
}

/* Icons */
.voxel-helpful-btn .btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    line-height: 1;
}

.voxel-helpful-btn .btn-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    display: block;
}

.voxel-helpful-btn .btn-icon svg path {
    fill: currentColor;
}

/* Button variants styling */
.voxel-helpful-btn.yes-btn:hover,
.voxel-helpful-btn.yes-btn.active {
    background-color: #ecfdf5;
    border-color: #10b981;
    color: #047857;
}

.voxel-helpful-btn.no-btn:hover,
.voxel-helpful-btn.no-btn.active {
    background-color: #fef2f2;
    border-color: #ef4444;
    color: #b91c1c;
}

/* Success Message States */
.voxel-helpful-success {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #10b981;
    padding: 8px 16px;
    border-radius: 6px;
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    width: fit-content;
    margin: 0 auto;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.voxel-helpful-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Responsive Overrides */
@media (max-width: 480px) {
    .voxel-article-helpful-buttons {
        flex-direction: column;
    }
    
    .voxel-helpful-btn {
        width: 100%;
        max-width: 240px;
    }
}
