body {
    direction: rtl;
    background: #efefef;
    font-size: 14px;
    font-family: Vazirmatn, sans-serif !important;
    text-align: right;
}

.container {
    padding: 5px;
}

.pageTitle {
    padding: 10px;
    text-align: center;
    background-color: #a41f37;
    color: #fff;
    margin-bottom: 5px;
}

.pageTitle h1 {
    font-size: 28px;
    text-align: center;
}

.pageTitle h2 {
    font-size: 18px;
    text-align: center;
}

.popup {
    padding: 10px;
    line-height: 20px;
    background: #000;
}

input, select, textarea {
    padding: 10px;
    border-radius: 5px;
}

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

.flex-item {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px 20px;
    text-align: center;
    min-width: 240px;
    flex: 1 0 21%; /* حدود 4 در هر ردیف */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.flex-item:hover {
    transform: translateY(-4px);
    background-color: #f0f0f0;
    text-decoration: none;
}

a.flex-item-link:hover {
    text-decoration: none;
}

.flex-item a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.flex-item .item-image {
    display: block;
    width: 200px;
    height: 220px;
    background-size: cover;
    border-radius: 5px;
}

.flex-item .item-title {
    padding-top: 15px;
}
.cursor-pointer {
    cursor: pointer;
}

.loading {
    display: inline-block;
    min-width: 30px;
    min-height: 30px;
    text-align: center;
    background: url(../img/loading-30.gif) no-repeat center center;
}
.loading.large {
    min-width: 200px;
    min-height: 200px;
    background: url(../img/loading-200.gif) no-repeat center center;
}

/*.icon-button {*/
/*    display: inline-flex;*/
/*    align-items: center;*/
/*    gap: 6px;*/
/*    background-color: #00cca5;*/
/*    color: #fff;*/
/*    border: none;*/
/*    border-radius: 8px;*/
/*    padding: 8px 14px;*/
/*    font-size: 14px;*/
/*    cursor: pointer;*/
/*    transition: background-color 0.2s ease;*/
/*}*/

/*.share-button:hover {*/
/*    background-color: #00b293;*/
/*}*/

/*.share-button i {*/
/*    font-size: 16px;*/
/*}*/