/* Frontend styles with light/dark themes */
@font-face {
    font-family: 'Shabnam';
    src: url('../fonts/Shabnam-FD.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Shabnam';
    src: url('../fonts/Shabnam-Bold-FD.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
/*فونت 400 ویجت ها*/

.schemifyreview-rating-text,
.schemify-answer,
.schemify-title,
.easybreadcrumb-list{
    font-family: 'Shabnam';
    font-weight: 400;
}


.schemify-wrapper h1,
.schemify-wrapper h2,
.schemify-wrapper h3,
.schemify-wrapper h4,
.schemify-wrapper h5,
.schemify-wrapper h6,
.schemify-question {
    font-family: 'Shabnam';
    font-weight: 700;
}
.schemify-wrapper {
    margin: 20px 0;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0px 8px 20px -8px rgba(0, 0, 0, 0.15);
}



.schemify-accordion {
    border: none;
}
.schemify-item {
    padding: 14px;
    margin-bottom: 8px;
}
.schemify-question{
    transition: all .3s ease-in-out;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    width: 100%;
    text-align: right;
    cursor: pointer;
}

.schemify-answer{
    position:relative;
    display: none;
    margin-top: 8px;
    padding-top: 8px;
}
.schemify-copy {
    font-family: inherit;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f7f7f8;
    line-height: 0;
    padding: 8px 10px 8px 16px;
    border: none;
    border-radius: 10px;
    margin-top: 10px;
    color: black;
    border: 3px solid #f7f7f8;
}


.schemify-preview-wrapper.light .schemify-item {
    border-color: #ddd;
    border-radius: 8px;
}
.schemify-wrapper.light {
    color: #333;
}

.schemify-wrapper.light .schemify-item {
    border: 1px solid #ddd;
}


.schemify-wrapper.light .schemify-answer {
    border-top: 1px solid #ddd;
    color: #585858;
}

.schemify-wrapper.dark {
    color: #fff;
    background: #1c1c1c;
    border-radius: 12px;
}

.schemify-wrapper.dark .schemify-answer {
    border-top: 1px solid #444;
    color: #c7c7c7;
}

.schemify-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 18px
}

.schemify-icon svg {
    width: 100%;
    height: 100%;
}
.schemify-wrapper.dark .schemify-item {
    border: 1px solid #444;
    border-radius: 8px;
    background-color: #242424;
}
.schemify-preview-wrapper.dark .schemify-item {

    border-radius: 8px;
    background-color: #242424;
}
/* ARIA enhancements are in HTML */




/* in elementor HTML */


.schemify-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    background-color: #f4f5f8;
    font-weight: 600;
    border: 1px solid #ddd;
    transition: background-color 0.3s ease;
}

.schemify-question:hover {
    background-color: #f4f5f8;
}

.schemify-answer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    line-height: 1.6;
}

.schemify-meta-wrapper .schemify-copy {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 12px;
    font-size: 13px;
    background-color: #eee;
    color: #444;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}