@font-face {
    font-family: 'FontAwesome';
    src: url('../../fonts/fontawesome.eot?#') format('eot'),  /* IE6–8 */
    url('../../fonts/fontawesome.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../../fonts/fontawesome.ttf') format('truetype');
}
@font-face {
    font-family: 'vazir';
    src: url('../../fonts/Vazir-persian-digits-overwrite.eot?#') format('eot'),  /* IE6–8 */
    url('../../fonts/Vazir-persian-digits-overwrite.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../../fonts/Vazir-persian-digits-overwrite.ttf') format('truetype');
}

:root {
    --primary-color: #6c5ce7;
    --secondary-color: #f1f3ff;
    --accent-color: #5649d9;
    --text-color: #2d3436;
    --border-color: #a0a5b1;
    --danger-color: #ff7675;
}

* {
    margin: 0;
    padding: 0;
    font-family: vazir, Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    width: 100%;
    background: #f5f7fa;
    padding-bottom: 80px;
    direction: rtl;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.center{
    text-align: center;
}
a{
    color: #3498db;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* حذف هایلایت آبی هنگام کلیک روی لینک‌ها و آیتم‌های قابل کلیک */
a, button{
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    outline: none;
    border: 0;
}
a:hover{
    color: #2980b9;
}
a:focus{
    
    outline: none !important;
}
i,span{
    vertical-align: middle;
}
header nav{
    display: block;
    background: #1565C0;
    color: #fff;
    margin: 0;
    width: 100%;
    min-height:70px;
    position: fixed;
    top: 0;
    left: 0;
    padding: 0;
    text-align: center;
    box-shadow: 0 5px 10px #BDBDBD;
    border-radius: 0 0 25px 25px;
    z-index: 100;
}
footer nav{
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 2px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #ddd;
    z-index: 100;
    border-radius: 20px 20px 0 0;
}
footer nav ul, header nav ul{
    display: table;
    text-align: center;
    margin: 0;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    padding: 10px;
}
header nav ul li{
    display: table-cell;
    padding: 10px;
    width: auto;
    margin: 0;
    padding-top: 0px;
    vertical-align: top;
    font-family: vazir;
    text-align: left;
}
.right{
    direction: rtl;
    text-align: right !important;
}
.left{
    direction: ltr;
    text-align: left !important;
}
footer nav ul li{
    display: table-cell;
    padding: 5px;
    width: 20%;
    margin: 0;
    padding-top: 0px;
    vertical-align: middle;
    font-family: vazir;
    text-align: center;
}
header nav ul li a{
    color: #fff;
}
header nav ul li a:hover{
    color: #e2e2e2;
    transition: all 0.3s;
}
header nav ul li span{
    white-space: nowrap !important;
    font-size: 0.9em;
}
header nav ul li a i, header nav ul li a span{
    display: block;
    padding: 2px;
    margin-left: 15px;
}
footer nav ul li a{
    color: #9E9E9E;
}
footer nav ul li a:hover, footer nav ul li a:focus{
    color: #212121;
    
}
footer nav ul li a i, header nav ul li a i{
    font-size: 1.5em !important;
}
footer nav ul li a i, footer nav ul li a span{
    display: block;
    padding: 1px;
}
footer nav ul li a span{
    font-size: 0.75em;
}
/* استایل‌های اسلایدر جدید */
.ad-slider {
    width: calc(100% - 30px);
    margin: auto;
    margin-bottom: 20px;
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    border: 5px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ad-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.ad-slide.active {
    opacity: 1;
    z-index: 1;
}

.ad-slide img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.slidedot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}
.slidedot.active {
    background: white;
    transform: scale(1.2);
}
.badge-notify-he {
    background: red;
    position: relative;
    top: 1px;
    left: -20px;
}
.badge {
    display: inline-block !important;
    min-width: 10px !important;
    padding: 3px 7px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #fff !important;
    text-align: center !important;
    white-space: nowrap !important;
    vertical-align: top !important;
    border-radius: 10px !important;
}
#main-content{
    display: flex;
    flex-direction: Column;
    background: transparent;
    position: relative;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}
section{
    display: block;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.header-main{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 20em;
    background-image: url('../img/main-back720.jpg'); /* آدرس عکس خود را قرار دهید */
    background-size: cover;
    background-position: center;
}
.header-main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px; /* ارتفاع ناحیه فید */
    background: linear-gradient(to bottom, transparent, #efefef);
}
.header-sub{
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 15em;
    background: url(../img/main-back720.jpg) bottom 1em center no-repeat;
    vertical-align: bottom;
    text-align: center;
}
.sub-title{
    display: block;
    position: relative;
    width: 75%;
    min-height: 45px;
    margin: auto;
    margin-top: -1.5em;
    padding: 5px;
    background-image: linear-gradient(#fff, #ccc);
    border-radius: 15px;
    border: 1px solid #bbb;
    vertical-align: middle;
    text-align: center;
}

.sub-title span{
    display: flex;
    vertical-align: middle;
    color: #000;
    padding: 5px;
    font-size: 20px;
    line-height: 35px;
    font-family: Byekan;
}
.main-content{
    position: relative; /* تغییر از fixed به relative */
    display: flex;
    flex-direction: column;
    align-items: center;    
    background: #fbfbfb;
    width: 95%;
    margin-top: 15em;
    padding-bottom: 20px;
    max-width: 600px;
    min-height: 200px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 25px;
    z-index: 1;
}
.hidden{
    display: none;
    animation: fadeIn 0.4s ease;
}
.margin-main-content{
    margin-top: -5em;
}
.logo{
    position: relative;
    z-index: 2;
    margin-bottom: -30px; /* جبران فضای خالی */
    display: block;
    width: 4em;
    height: 4em;
    margin: auto;
    top: -2em;
    padding: 0;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #3F51B5;
}
.content{
    display: block;
    width: calc(100% - 40px);
    padding: 20px;
    margin: auto;
}
.AddCustomer_originalData{
    display: block;
    padding: 12px;
    margin-top: 6px;
}
.AddCustomer-num-holder{
    display: flex;
    width: 100%;
    padding: 0;
    justify-content: space-between;
    align-items: stretch;
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    position: relative;
}
.AddCustomer-num-holder label{
    position: absolute;
    right: 15px;
    top: 12px;
    justify-content: center;
    align-items: center;
    color: #bbb;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.AddCustomer-phonenum:focus + label,
.AddCustomer-phonenum:not([value=""]) + label{
    font-size: 0.8em;
    top: -10px;
    padding: 1px 5px 1px 5px;
    pointer-events: none;
    background-color: #fff;
    border-radius: 5px;
}
.AddCustomer-phonenum{
    background: transparent;
    width: 50%;
    border: 0;
    font-size: 1.5em;
    flex-grow: 1;
    outline: 0;
    padding: 7px;
}
.AddCustomer_originalData .toggle-btn {
    min-width: 90px;
    height: 100% !important;
    background: none;
    color: #3498db;
    padding: 15px;
    border-radius: 10px 0 0 10px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 ;
    background: rgba(52, 152, 219, 0.1);
}

.AddCustomer_originalData  .toggle-btn:hover {
    
}

.AddCustomer_originalData  .toggle-btn i {
    transition: transform 0.3s;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px dashed var(--border-color);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.form-section-title i {
    margin-left: 10px;
    font-size: 18px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.form-col {
    flex: 1;
    min-width: 250px;
    padding: 0 10px;
}
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    padding: 5px;
    position: relative;
    justify-content: space-around;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000;
    font-size: 14px;
    text-align: right;
}
.form-control {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s;
    background-color: #fff;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
    outline: none;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* استایل چک‌باکس‌ها و رادیوها */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 1fr;
    gap: 8px;
    margin-top: 15px;
    align-items: stretch;
}
.checkbox-card {
    position: relative;
    background-color: var(--secondary-color);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.checkbox-card:hover {
    border-color: var(--primary-color);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.15);
}

.checkbox-card input[type="checkbox"],
.checkbox-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.checkbox-card label {
    display: flex;
    height: 100%;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    -webkit-tap-highlight-color: transparent;
}

.checkbox-card label:before {
    content: '';
    position: absolute;
    right: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    transition: all 0.3s;
}

.checkbox-card input[type="checkbox"]:checked + label:before,
.checkbox-card input[type="radio"]:checked + label:before {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}


.gender-selection {
    display: flex;
    gap: 10px;
}

.gender-option {
    flex: 1;
}

.gender-option input {
    display: none;
}

.gender-label {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center !important;
    padding: 12px;
    border: 1px solid #3498db;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    gap: 8px;
    background: #efefef;
    color: #000;
    opacity: 0.7;
}

.gender-option input:checked + .gender-label {
    background: #3498db;
    color: white;
    opacity: 1;
    border-color: #3498db;
    font-weight: 600;
}
.tag-selection {
    display: flex;
    justifiy-content: space-between;
    align-items: center;
    width: calc(100% - 20px);
    padding: 10px;
}
.tag-holder{
    display: flex;
    flex-grow: 1;
    overflow-x: auto;
    padding: 10px 0;
    white-space: nowrap;
    gap: 5px;
}
.tag-selection i{
    padding: 5px;
    color: #3498db;
}

.tag-option input {
    display: none;
}

.tag-label {
    display: flex;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
    background: #ecf0f1;
    color: #2c3e50;
    opacity: 0.7;
}

.tag-option input:checked + .tag-label {
    background: #3498db;
    color: white;
    opacity: 1;
    border-color: #3498db;
    font-weight: 600;
}
.shadowform{
    background-image: linear-gradient(#fff, #e4e4e4);
    box-shadow: 1px 1px 5px #BDBDBD;
}
.panel{
    display: block;
    margin: 10px auto;
    margin-top: 20px;
    width: 98%;
    min-height: 100px;
    border-radius: 15px;
    border: 1px solid #bbb;
    background: var(--secondary-color);

}
.panel-heading{
    display: flex;
    padding: 10px 15px;
    min-height: 25px;
    border-bottom: 1px solid transparent;
    border-radius: 15px 15px 0 0;
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
    justify-content: space-between;
    align-items: center;
    gap: 2px;
}
.panel-body{
    display: flex;
    flex-direction: column;
    padding: 10px;
}
#msgSend{
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    font-size: 16px;
    
}
.message-actions{
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 2px;
}
.message-actions button{
    background: rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    color: #000;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    width: 36px;
    height: 36px;
}
.smart-words-grid, .templates-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.smart-word, .template-item {
    background-color: #e8f4fc;
    border: none;
    border-radius: 8px;
    padding: 10px;
    color: #3498db;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    text-align: center;
    word-break: keep-all;
}
.textbox{
    flex: 1;
    display: inline-block;
    padding: 15px 2% 5px 2%;
    direction: rtl;
    margin: 3px auto;
    width: 96%;
    background: #fff;
    border: 1px solid #bbb;
    outline: 0;
    font-family: vazir;
    font-size: 18px;
    border-radius: 0.5em;
}
.textbox:hover{
    border: 1px solid #000;
}
.textbox:focus{
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
    transition: all 0.3s ease;
}
.selectbox{
    -webkit-appearance: none;
    padding: 10px 0 10px 0;
    direction: rtl;
    margin: 5px auto;
    width: auto;
    min-width: 85px;
    border: 1px solid #ccc;
    background: #fff;
    outline: 0;
    border-radius: 8px;
    font-family: vazir;
    font-size: 18px;
    text-indent: 10px;
}
.date-selection{
    display: flex !important;
    width: 100%;
    padding: 0;
    text-align: center;
}
.date-selection select{
    display: nowrap !important;
    width: 33.34% !important;
}
.add-item{
    position: fixed;
    left: 20px;
    bottom: 90px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0288D1;
    color: white;
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 90;
    transition: all 0.3s;
}
.add-item:hover{
    background: #01579B;
    color: #fff;
    transform: scale(1.1);
}
.btn{
    display: block;
    padding: 12px;
    direction: rtl;
    margin: auto;
    margin-top: 3px;
    width: calc(100% - 24px);
    height: 50px;
    border: 1px solid #ccc;
    outline: 0;
    border-radius: 25px;
    font-size: 16px;
    color: #fff;
    gap: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.btn:hover{
    cursor: pointer;
}
.btn i,.btn span{
    flex: 1;
}
.greenbtn{
    background: #00BF96 !important;
}
.greenbtn:hover{
    background: #00796B !important;
    
}
.redbtn{
    background: #F44336 !important;
}
.redbtn:hover{
    background: #C62828 !important;
    
}
.bluebtn{
    background: #2196F3 !important;
}
.bluebtn:hover{
    background: #1565C0 !important;
    
}
.orangebtn{
    background: #FF9800 !important;
}
.orangebtn:hover{
    background: #EF6C00 !important;
}
.none_display{
    display: none !important;
}
.block_display{
    display: block !important;
}












.sub-list{
    display: block;
    width: 100%;
    min-height: 350px;
    vertical-align: top;
}
.sub-list ul {
    display: block;
    margin: 10px auto;
    padding: 0;
    
}
.sub-list ul li{
    display: block;
    list-style: none;
    margin: 7px auto;
    padding: 2%;
    width: 96%;
    min-height: 120px;
    border-radius: 15px;
    border: 1px solid #bbb;
    background-image: linear-gradient(#fff, #ccc);
    box-shadow: 1px 1px 5px #BDBDBD;
    
}
.sub-list-item-title{
    display: table;
    direction: ltr;
    text-align: left !important;
    margin: 0;
    width: 100%;
}
.sub-list-item-title span, .sub-list-item-title div{
    display: table-cell;
    text-align: right;
    vertical-align: top;
}
.sub-list-item-title span{
    text-indent: 10px;
}
.selector_items_inhead{
    width: 65px;
    text-align: left !important;
}
.blank{
    display: block;
    margin: 0 auto;
    padding: 0;
    min-height: 5em;
}
.blank-2x{
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 7em;
}
.sub-list-item-menue{
    display: block;
    margin: 5px auto;
    padding: 2%;
    width: 96%;
    min-height: 70px;
    border-radius: 15px;
    border: 1px solid #bbb;
    background-image: linear-gradient(#fff, #ccc);
}
.sub-list-item-menue ul{
    display: table;
    border-spacing: 4px;
    width: 100%;
    padding: 0;
    margin: 0 auto;
    
}
.sub-list-item-menue ul li{
    display: table-cell;
    background-image: linear-gradient(#fff, #ccc);
    width: 20%;
    color: #424242;
    box-shadow: 1px 1px 1px;
    vertical-align: middle;
    cursor: pointer;
}
.sub-list-item-menue ul li img, .sub-list-item-menue ul li span{
    display: block;
    white-space: nowrap;
    font-size: 0.75em;
}
.switch {
    position: relative;
    display: inline-block;
    min-width: 60px;
    height: 34px !important;
    padding: 0px !important;
}
.switch input {display:none;}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #2196F3;
}
input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}
.form-box{
    display: block;
    padding: 15px !important;
    width: auto;
    margin: auto;
    border-radius: 5px;
}
.form-box span{
    display: block;
    padding: 10px 10px 2px 0;
    direction: rtl;
    text-align: right;
    font-weight: bold;
    font-size: 14px;
}
.form-box button span{
    font-weight: normal !important;
    font-size: 12px !important;
    padding: 0 !important;
}
.searchbox{
    direction: rtl;
    background-image: url('../img/searchicon.png');
    background-position: 10px 10px;
    background-repeat: no-repeat;
}
.login{
    display: block;
    width: 100%;
    min-height: 100vh;
    padding: 0;
    margin: 0 auto;
    background: #1565C0;
}
.login-logo{
    display: block;
    margin: auto;
}
.login-logo img{
    display: block;
    margin: 0 auto;
    padding: 25px;
    width: auto;
    max-width: 250px;
    
}
.login-panel{
    display: block;
    margin: auto;
    width: 98%;
    max-width: 450px;
    min-height: 350px;
    padding-bottom: 50px;
    border-radius: 5px;
    background: rgba(255,255,255,0.2);
}
.user-img{
    display: block;
    padding: 20px;
}
.user-img i{
    display: block;
    width: 40px;
    height: 40px;
    padding: 20px;
    margin: auto;
    font-size: 40px;
    border: 1px solid #000;
    background: #757575;
    color: #fff;
}
.login-form{
    display: block;
    margin: auto;
    width: 90%;
}
.login-form h1{
    display: block;
    margin: auto;
    color: #fff;
    padding: 20px;
    font-size: 25px;
}
.login-form .textbox{
    display: block !important;
    width: calc(100%-20px);
    padding: 10px;
    border-radius: 25px;
}

.login-form .field-holder label{
    position: absolute;
    right: 15px;
    top: 20px;
    color: #a0a5b1;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    padding: 0 5px;
    font-size: 16px;
}
.login-form .field-holder input:focus + label,
.login-form .field-holder input:not([value=""]) + label,
.login-form .field-holder textarea:focus + label,
.login-form .field-holder textarea:valid + label{
    font-size: 0.8em;
    top: -5px;
    padding: 1px 5px 1px 5px;
    pointer-events: none;
    background-color: #fff;
    border-radius: 5px;
}





.login-form label{
    display: block;
    padding: 20px;
    text-align: right;
    vertical-align: top;
}
.login-form label input,.login-form label b{
    vertical-align: middle;
    color: #fff;
}
.login-form span{
    display: block;
    margin: auto;
    padding: 10px;
    font-size: 18px;
    color: #fff;
    
}
.login-form .btn{
    display: inline-block !important;
    margin-top: 0px !important;
    margin: 3px auto !important;
    border: 0;
    color: #fff !important;
    width: 48%;
}
.login-form .btn:hover{
    -webkit-transition: .4s;
    transition: .4s;
}
.notify{
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    z-index: 99999;
}
.notify-panel{
    display: block;
    background-color: white;
    border-radius: 10px;
    width: calc(90% - 40px);
    max-width: 400px;
    max-height: 60vh;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    overflow-y: auto;
}
.notify-panel::-webkit-scrollbar {
    width: 8px;
}

.notify-panel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.notify-panel::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 10px;
    transition: all 0.3s;
}

.notify-panel::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}
#notify-header{
    display: none;
    padding: 20px;
    border-bottom: 1px solid #ccc;
}
.notify-icon{
    display: block;
    padding: 20px;
    margin: auto;
    
}
.notify_close{
    width: 70px !important;
    margin-right: 10px;
    color: #000;
}
.orange{
    color: #FF8F00 !important;
}
.red{
    color: red !important;
}
.green{
    color: green !important;
}
.notify-text{
    display: block;
    margin: 0 auto;
    width: 90%;
    padding: 10px 0 40px 0;
    font-size: 18px;
}
.question_message{
    display: block;
    min-height: 50px;
}
.footerNavSelected i{
    margin-top: -50px;
    color: #fff;
    background: #1565C0;
    padding: 15px;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.footerNavSelected span{
    color: #000;
    font-weight: bold;
}
#loading{
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 99999;
}
.AddmoreItem{
    display: block;
    margin: 5px auto;
    padding: 10px;
    color: #9E9E9E;
}
.AddmoreItem:hover{
    color: #000;
}

.setting-logo{
    vertical-align: middle;
    text-align: right;
    width: 5em !important;
    padding-right: 20px;
}
.user-info{
    text-align: right !important;
}
.user-info span{
    display: block;
    font-size: 18px;
}
.user-info-phonenumber{
    display: block;
    width: 100%;
    direction: ltr;
    font-size: 16px !important;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ccc;
}
.user-info-edit{
    vertical-align: middle;
    width: 5em !important;
}
.user-info-edit i{
    display: block;
    padding: 1em;
    font-size: 2em;
    text-decoration: underline;
    color: #0288D1;
    cursor: pointer;
}
.setting-logo i{
    padding: 0;
    width: 50px;
    height: 50px;
    border: 3px solid #ccc;
    border-radius: 50%;
    line-height: 50px;
    vertical-align: middle;
    text-align: center !important;
    color: #ccc;
}
.setting-info{
    display: block;
    width: 100%;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
    background: #fff;
    border-radius: 0 0 10px 10px;
}
.user-data{
    display: table;
    width: calc(100% - 10px);
    padding: 5px;
}
.user-data div{
    display: table-cell;
    
}

.user-cash{
    display: table;
    direction: ltr;
    width: 100%;
    min-height: 50px;
    border-top: 2px solid #ddd;
}

.user-cash div{
    display: table-cell;
    padding: 20px;
    text-align: right;
    width: 50%;
}
.user-cash div p span{
    display: inline-block;
    direction: rtl !important;
    padding: 5px;
    
}
.user-cash div i{
    color: #FFEB3B;
}
.blue{
    color: #0288D1 !important;
}
.powerdBy{
    display: block;
    position: fixed;
    right: 10px;
    bottom: 10px;
    color: #fff;
    font-family: fantasy;
    font-size: 12px;
    vertical-align: bottom;
}
.powerdByUp{
    font-family: cursive;
    font-size: 10px;
}
.powerdByDOWN{
    font-size: 13px;
    vertical-align: top;
}
#ResendBtn{
    display: block;
    margin: 5px auto;
    color: #bbb;
    background: transparent;
    border: 0;
    font-family: vazir;
    font-size: 16px;
    cursor: pointer;
}

.Drag-Area{
    Border: 2px Dashed #Fff;
    min-height: 350px;
    Width: 100%;
    Border-Radius: 5px;
    Display: Flex;
    Align-Items: Center;
    Justify-Content: Center;
    Flex-Direction: Column;
  }
  .Drag-Area.Active{
    Border: 2px Solid #Fff;
  }
  .Drag-Area .Icon{
    Font-Size: 100px;
    Color: #Fff;
  }
  .Drag-Area Header{
    Font-Size: 30px;
    Font-Weight: 500;
    Color: #Fff;
  }
  .Drag-Area Span{
    Font-Size: 25px;
    Font-Weight: 500;
    Color: #Fff;
    Margin: 10px 0 15px 0;
  }
.overlay{display: block;margin: 0 auto;top: 0;left: 0;position: fixed;z-index:9999994;text-align: center;width: 100%; height: 100vh;background: rgba(0,0,0,0.8);}
.overlay i{display: block;margin: 200px auto;color: #fff;font-size: 50px;}
.overlay span{display: block;margin: 10px auto;font-family: vazir;font-size: 15px;font-weight: bold;color: #fff;}
.evidences{
    display: block;
    margin: 10px auto;
    background: rgba(255,255,255,0.5);
    border: 1px solid #bbb;
    border-radius: 5px;
    width: 50%;
    max-width: 550px;
    min-height: 70px;
    padding-bottom: 50px;
}
.evidence{
    display: table;
    margin: 10px auto;
    width: 90%;
    border: 1px dashed #000;
}
.evidence img, .evidence span{
    display: table-cell;
}
.evidence img{
    height: 100px;
    padding: 10px;
}
.evidence span{
    width: 150px;
    background: #fff;
}
.comming_soon{
    display: flex;
    width: calc(100% - 20px);
    margin: 0 auto;
    min-height: 100px;
    background: #fff;
    color: var(--primary-color);
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    justify-content: center;
    align-items: center;
}
.service-list{
    display: block;
    width: 100%;
    margin: 0 auto;
    min-height: 100px;
    background: #fff;
    padding: 0;
    padding-bottom: 10px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.service-list a{
    display: block;
    text-align: right;
    font-size: 17px;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    justify-content: space-around;
}
.service-list a:last-child {
    border-bottom: none;
}
.service-list a i{
    padding: 7px;
    width: 20px;
}
.service-list label span {
    display: flex;
    width: calc(100% - 20px);
    text-align: right;
    font-size: 17px;
    padding: 10px;
    justify-content: space-between;
    align-items: center;
}
.service-list label span a{
    display: flex;
    flex: 1;
    width: calc(100% - 20px);
    font-size: 17px;
    padding: 10px;
    justify-content: space-between;
}
.barcode_zone{
    display: flex;
    justify-content: center;
    align-items: center;
}
.barcode_zone a img{
    display: block;
    min-width: 150px;
    max-height: 100px;
    width: auto;
    padding: 5px;
    border: 1px solid #000;
    border-radius: 10px;
}
.no_record{
    display: block;
    width: 100%;
    direction: rtl;
    font-weight: bold;
    text-align: center !important;
    line-height: 100px;
}

#clever_thing{
    text-align: right;
    
}
#clever_thing a{
    display: inline-block;
    padding: 5px;
    
}
.none{
    display: none;
}
#showHiddenFields{
    display: block;
    padding: 10px;
    text-align: right;
}
fieldset legend{
    text-align: right;
}
.ltr{
    text-align: left !important;
    direction: ltr !important;
}
.field-holder{
    display: flex;
    position: relative;
    margin: 5px;
    margin-top: 12px;
    align-items: center;
    transition: all 0.3s ease;
    justify-content: space-around;
}

.field-holder input, .field-holder select{
    flex: 1;
    font-size: 15px;
    transition: all 0.3s;
    border-radius: 0.5em;
    padding: 5px 2% 5px 2%;
    margin: 3px;
    height: 40px;
    font-family: vazir;
    outline: none;
    border: 1px solid #bbb;
    background: #fff;
}
.field-holder input:focus, .field-holder textarea:focus{
    border-color: #66afe9;
    outline: none;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
    transition: all 0.3s ease;
}
.field-holder textarea{
    flex: 1;
    border-radius: 0.5em;
    padding: 15px 2% 5px 2%;
    font-family: vazir;
    outline: none;
    border: 1px solid #bbb;
}
.field-holder label{
    position: absolute;
    right: 15px;
    top: 15px;
    color: #a0a5b1;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    padding: 0 5px;
    font-size: 16px;
}
.field-holder input, .field-holder textarea, .field-holder label{
    font-size: 1em;
}
.field-holder input:focus + label,
.field-holder input:not([value=""]) + label,
.field-holder textarea:focus + label,
.field-holder textarea:valid + label{
    font-size: 0.8em;
    top: -12px;
    padding: 1px 5px 1px 5px;
    pointer-events: none;
    background-color: #fff;
    border-radius: 5px;
}
.creattie-icon{
    display: block;
    margin: auto;
    width: 3em;
    padding: 0;
}
.toggle-btn {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    transition: all 0.3s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    line-height: 1;
    padding: 0;
}
.add-btn {
    background-color: #4CAF50;
    color: white;
}
.add-btn:hover {
    background-color: #3d8b40;
    transform: scale(1.08);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}
.remove-btn {
    background-color: #f44336;
    color: white;
}
.remove-btn:hover {
    background-color: #d32f2f;
    transform: scale(1.08);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}
.fade-in {
    animation: fadeIn 0.4s;
}
.loading-dots {
    display: block !important;
    text-align: center !important;
    justify-content: space-around !important;
    align-content: center !important;
    gap: 2px;
    
}
.dot {
    display: inline-block !important;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
    font-weight: normal !important;
    margin: 0 3px;
    opacity: 0;
    animation: fadeInOut 1.5s infinite ease-in-out;
}

.content-container {
    width: calc(100% - 20px);
    margin: 0 auto;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background: #fbfbfb; 
    padding: 10px;
    padding-top: 105px;
}
.section-container {
    background: white;
    border-radius: 10px;
    margin: 5px;
    border: 1px solid #bbb;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.section-title {
    color: #fff;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    text-align: right;
    justify-content: space-around;
    direction: rtl;
    background-color: #2a5298;
    border-bottom: 1px solid #e0e0e0;
}
.section-content {
    background: #fefefe;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    text-align: right;
    direction: rtl;
}

ul.item-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.item-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

ul.item-list li:last-child {
    border-bottom: none;
}

ul.item-list li:hover {
    background-color: #f8f9fa;
}
        
.item-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
    color: #333;
    margin-left: 15px;
    text-align: right;
}

.item-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    color: white;
    font-size: 14px;
}

.delete-btn {
    background-color: #e74c3c;
}

.edit-btn {
    background-color: #2a5298;
}

.add-user-btn {
    background-color: #27ae60;
}
.default-checkbox{
    width: 18px;
    height: 18px;
    margin-left: 10px;
    cursor: pointer;
}


/* نوار جستجو */
.export-items{
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    padding: 13px;
    border-radius: 50%;
    background: #f1f1f1;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s;
}
.export-items:hover {
    color: #2a5298;
    background: #e0e8f0;
}
.search-container {
    display: flex;
    width: calc(100% - 30px);
    position: relative;
    margin: 0 auto;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.search-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
    position: relative;
    gap: 3px;
}
#simplesearch{
    flex: 1;
    flex-grow: 1;
    
}
.search-input-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    background: #f1f1f1;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.search-input {
    width: 50px !important;
    flex-grow: 1;
    padding: 0 12px;
    border: 0;
    background: transparent;
    font-size: 13px;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
}
.search-icon-back{
    display: flex;
}

.search-icon {
    display: inline-block;
    width: 15px;
    text-align: center;
    justify-content: center;
    align-items: center;
    color: #7a7a7a;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 2;
}

.search-icon:hover {
    color: #2a5298;
    background: #e0e8f0;
}

.advanced-search-icon {
    flex: 1;
    width: 15px;
    color: #2a5298;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    font-size: 14px;
    transition: all 0.3s;
    z-index: 2;
}

.advanced-search-icon:hover {
    background: #e0e8f0;
}


.advanced-search-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 15px;
    right: 15px;
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
    margin-top: 5px;
    text-align: right;
}

.search-filter {
    margin-bottom: 15px;
}

.search-filter label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.search-filter select{
    width: 100%;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    font-family: inherit;
}
.search-filter input {
    width: calc(100% - 24px);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    font-family: inherit;
}

.amount-input {
    display: none;
    margin-top: 5px;
}

.search-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}
/* نوار جستجو */


/* لیست کاربران */
.list {
    padding: 15px;
}
.club-card {
    background: white;
    border-radius: 12px;
    padding: 0 0 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 1px solid #f0f4f8;
    overflow: hidden;
}
.list-card {
    background: white;
    border-radius: 12px;
    padding: 0 0 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-right: 3px solid #2a5298;
    border-top: 1px solid #f0f4f8;
    overflow: hidden;
}
.list-off-card {
    background: white;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}
.noItems {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px;
}
.list-card:hover, .club-card:hover, .list-off-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.list-header, .club-header {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}
.list-off-header{
    display: flex;
    background: linear-gradient(135deg, #1565C0, #2a5298);
    color: white;
    padding: 15px 20px;
    position: relative;
    justify-content: space-between;
    align-items: center;
}
.list-qr img{
    width: 25px;
    height: 25px;
    padding: 3px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s;
}
.list-qr img:hover{
    transform: scale(1.1);
}
.list-name, .club-name {
    font-weight: 700;
    font-size: 16px;
    color: #2a5298;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.list-off-name{
    font-weight: 700;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: right;
}
.list-id{
    min-width: 40px;
    padding: 2px 10px;
    background: var(--secondary-color);
    border-radius: 15px;
    color: #2a5298;
    font-size: 12px;
}
.list-actions, .club-actions, .list-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
    padding: 0 10px;
}
.list-content{
    text-align: right;
    font-size: 13px;
    gap: 2px !important;
}
.list-off-content{
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    padding: 0;
}
.list-rem-recivers{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.list-rem-message{
    overflow: hidden;
    text-overflow: ellipsis;
}
.list-rem-message p{
    display: flex;
    flex: 1;
    margin: 3px auto;
    min-height: 70px;
    padding: 10px;
    font-size: 15px;
    background: #eee;
    border-radius: 5px;
}
.list-rem-data div{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 3px;
    gap: 5px;
}
.list-rem-data div div{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: top;
    vertical-align: top;
    gap: 0;
    background: #f5f7fa;
    padding: 5px;
    border-radius: 5px;
    color: gray;
}
.list-rem-data div div b{
    color: #000;
    padding: 0 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.list-rem-data-details{
    display: flex;
    flex-direction: row !important;
    justify-content: right !important;
    padding: 0 !important;
    margin: 0 !important;
}
.list-rem-data-details i{
    width: 20px;
}
.content-off-header{
    display: flex;
    width: calc(95% - 30px);
    margin: auto;
    background: #e3f2fd;
    padding: 15px;
    border-radius: 10px;
    font-size: 25px;
    text-align: center;
    line-height: 50px;
    justify-content: space-around;
    align-content: center;
    
}
.list-off-data{
    display: flex;
    flex-direction: column;
    width: 85%;
    margin-top: 10px;
    margin: auto;
}
.list-off-data div{
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    justify-content: space-between;
    align-content: center;
}
.list-off-data div:last-child{
    border-bottom: 0;
}
.list-off-data div span{
    font-size: 16px;
    font-weight: bold;
    color: grey;
}
.list-action-bar{
    display: block;
    padding: 8px;
    background: #f9f9f9;
    width: 100%;
    min-height: 50px;
}
.list-action-bar div{
    display: block;
    width: 95%;
    margin: 3px;
}
.list-off-data div b{
    font-size: 16px;
    font-weight: bold;
    color: black;
}
.list-content div i{
    color: gray;
    padding: 3px;
    font-size: 15px;
}
.club-status-badge{
    position: absolute;
    right: 10px;
    top: 55px;
    color: white;
    background: #aaa;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: bold;
}
.list-status-badge{
    position: absolute;
    left: 20px;
    top: 45px;
    color: white;
    background: #aaa;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: bold;
}
.actions-row {
    display: flex;
    justify-content: space-between;
}

.user-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #555;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s;
    width: 23%;
}

.user-action-btn img {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    transition: all 0.3s;
}

.user-action-btn:hover {
    color: #1e3c72;
    transform: translateY(-2px);
}

.user-action-btn:hover img {
    transform: scale(1.1);
    transition: all 0.3s;
}

.user-action-btn span {
    white-space: nowrap;
    font-size: 11px;
}

.repeat-options {
    display: none;
    margin-top: 15px;
    animation: fadeIn 0.3s ease-out;
}

.repeat-frequency {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.datetime-row {
    display: flex;
    gap: 15px;
}

.datetime-col {
    flex: 1;
}


.search-box {
    display: flex;
    justify-contect: space-between;
    align-items: center;
    margin-bottom: 15px;
    background: #efefef;
    padding: 0 15px;
    border-radius: 30px;
}

.search-box input {
    box-shadow: 0 0;
    background: transparent;
    border: none;
    padding-right: 10px;
    flex-grow: 1;
}
.search-box input:focus {
    box-shadow: 0 0;
    outline: 0;
    border: none;
    border-color: transparent;
}


        
.user-list-container {
    height: 250px;
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    background-color: #fff;
}
        
.user-item {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 5px;
    border-bottom: 1px solid #eee;
    
}
.user-item label{
    display: block;
    width: 100%;
    cursor: pointer;
}
.user-item:last-child {
    border-bottom: none;
}
        
.user-info {
    flex: 1;
}
        
.user-name {
    font-weight: 500;
}

.user-phone {
    font-size: 12px;
    color: #666;
}

.clubgroup-group {
    background-color: var(--secondary-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
}
/* استایل شرایط */
.condition-group {
    background-color: var(--secondary-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
}

.remove-condition {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--danger-color);
    cursor: pointer;
    font-size: 18px;
}

.add-condition-btn {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 8px;
    background-color: var(--secondary-color);
    transition: all 0.3s;
}

.add-condition-btn:hover {
    background-color: #e1e4ff;
}

.add-condition-btn i {
    margin-left: 8px;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.scanner-container {
    width: 90%;
    max-width: 500px;
    height: 70vh;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

#preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: red;
    animation: scan 2s infinite linear;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

.close-modal {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

.scanner-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 40%;
    border: 3px solid #4CAF50;
    border-radius: 8px;
    box-shadow: 0 0 0 10000px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.winner-card {
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 184, 148, 0.3);
}

.winner-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.winner-details {
    font-size: 16px;
}

.info-row{
    display: flex;
    width: calc(100% - 10px);
    padding: 5px;
    justify-content: space-between;
    align-items: center;
}
.info-row span{
    flex: 1;
    color: #aaa;
    text-align: right;
    font-size: 15px;
    font-family: vazir;
}
.info-value{
    color: #000 !important;
    text-align: left !important;
}
.divider{
    height: 1px;
    background-color: #eee;
    margin: 20px 0;
}
.charging-card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: auto;
    padding: 25px;
    gap: 7px;
    background: var(--secondary-color);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.charge-amount{
    display: flex;
    padding: 10px;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 7px;
}
.charge-amount input{
    flex-grow: 1;
}
.charge-amount i{
    padding: 10px;
    cursor: pointer;
}
.charge-amount a{
    flex: 1;
    background: #fff;
    padding: 5px;
    cursor: pointer;
    border-radius: 15px;
    color: #aaa;
    border: 1px solid #aaa;
}
.charge-amount a:hover{
    color: #000;
    transition: all 0.3s;
    transform: translateY(-2px);
}





@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}
.deviceid{
    
}


