
body {
    direction: rtl;
    text-align: right;
    font-family: iranyekan;
    font-size: 14px;
    background-color: var(--front-bg-color-8);
    color: var(--front-txt-color-39);
    overflow-x: hidden;
}
.c2 {
    position: fixed;
    z-index: 1000000000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-family: arial, sans-serif;
}

.c2_content {
    max-width: 80%;
    margin: 50px auto 0;
    padding: 10px;
    background: var(--white-color);
    border-radius: 4px;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    width: fit-content;
    min-width: 40%;
}

.c2_header {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.c2_title {
    margin: 0;
    flex: 1;
    font-size: 21px;
    text-align: center;
    font-family: 'iranyekan';
}

.c2_body {
    margin: 10px;
    font-size: 14px;
    text-align: center;
    line-height: 32px;
    font-family: 'iranyekan';
}

.c2_btn-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    padding: 0;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    background: none;
    border: 1px solid var(--black-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s;
}

.c2_btn-close:hover {
    opacity: 0.4;
}

.c2_btn-close:before {
    content: 'X';
}

.c2_footer {
    margin-top: 20px;
    text-align: center;
}

.c2_btn-yes,
.c2_btn-no {
    margin: 0 5px;
    padding: 5px 14px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid var(--color-base1);
    cursor: pointer;
    transition: all 0.4s;
    min-width: 17%;
}

.c2_btn-yes {
    background: var(--white-color);
    color: var(--color-base1);
}

.c2_btn-no {
    background: var(--color-base1);
    color: var(--white-color);
}

.c2_btn-yes:hover,
.c2_btn-no:hover {
    color: var(--color-base1);
    border-color: transparent;
    background: rgba(0, 0, 0, 0.1);
}

.c2_overlay {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

@media (max-width:499px) { 
    .c2_title {
        font-size: 18px;
        margin-top: 2px;
        padding: 0 20px;
    }
    .c2_btn-yes, .c2_btn-no {
        font-size: 14px;
    }  
}
@media (max-width:376px) { 
    .c2_title {
        font-size: 18px;
        margin-top: 2px;
        padding: 0 20px;
    }
    .c2_btn-yes, .c2_btn-no {
        font-size: 14px;
    }  
}