.cf-811-container {
    width: 100%;
}

.cf-811-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.cf-811-filter-btn {
    background-color: #f1f1f1;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    outline: none;
}

.cf-811-accordion {
    width: 100%;
}

.cf-811-item {
    margin-bottom: 15px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.cf-811-item[style*="display: none"] {
    opacity: 0;
    transform: translateY(-10px);
}

.cf-811-header {
    background-color: #1F3A32;
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.cf-811-question {
    font-weight: 600;
    flex-grow: 1;
}

/* RTL and LTR fixes for spacing */
.rtl .cf-811-question {
    text-align: right;
    margin-left: 15px;
    margin-right: 0;
}

body:not(.rtl) .cf-811-question {
    text-align: left;
    margin-right: 15px;
    margin-left: 0;
}

/* Fixed icon wrapper to be perfectly square */
.cf-811-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: color 0.3s ease;
    line-height: 1;
}

.cf-811-icon span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}

.cf-811-icon svg {
    transition: fill 0.3s ease;
    display: block;
    width: 1em;
    height: 1em;
}

.cf-811-content {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
}

.cf-811-content-inner {
    padding: 20px;
    color: #555;
    line-height: 1.6;
}