.fade-out {
    opacity: 0;
    transition: opacity 0.7s ease;
}

.custom-popover {
    background-color: #cedcf1;
    color: #000;
    border: 1px solid #b3c2e0;
}

.custom-popover .popover-body {
    padding: 8px 5px;
}

/* حذف کامل فلش */
.custom-popover .popover-arrow {
    display: none !important;
}


.left-aligned {
    text-align: left;
}

.right-aligned {
    text-align: right;
}

.center-aligned {
    text-align: center;
}


.list {
    font-family: "shabnam", sans-serif;
}

input {
    border: solid 1px #ccc;
    border-radius: 5px;
    /*padding: 7px 14px;*/
}

input:focus {
    outline: none;
    border-color: #aaa;
}

.sort {
    padding: 8px 30px;
    border-radius: 6px;
    border: none;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    background-color: #28a8e0;
    height: 30px;
}

.sort:hover {
    text-decoration: none;
    background-color: #1b8aba;
}

.sort:focus {
    outline: none;
}

.sort:after {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid transparent;
    content: "";
    position: relative;
    top: -10px;
    right: -5px;
}

.sort.asc:after {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #fff;
    content: "";
    position: relative;
    top: 4px;
    right: -5px;
}

.sort.desc:after {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #fff;
    content: "";
    position: relative;
    top: -4px;
    right: -5px;
}

.english-numbers {
    direction: ltr;
    font-family: Arial, sans-serif;
}


.table-responsive {
    max-height: 500px;
    overflow-y: auto;
}

/* هدر جدول ثابت */
.table thead th {
    position: sticky;
    top: 0;
    z-index: 2; /* بالاتر از سلول‌ها */
    background-color: #cedef1; /* رنگ table-primary */
    color: #303e67;; /* نوشته سفید */
}


/* اندازه کلید لایسنس  */
.btn-fixed {
    width: 80px;       /* عرض ثابت برای همه دکمه‌ها */
    height: 32px;      /* ارتفاع ثابت */
    display: inline-flex; /* برای وسط‌چین کردن متن */
    align-items: center;
    justify-content: center;
    padding: 0 10px;   /* فاصله داخلی برای متن */
}



