
@font-face {
    font-family: 'Droid';
    font-style: normal;
    font-weight: 400;
    src: url(fonts/DroidKufi-Regular.woff);

}


@font-face {
    font-family: 'Dax';
    font-style: normal;
    src: url(fonts/DaxRegular.woff);
}

@font-face {
    font-family: 'Ge';
    font-style: normal;
    font-weight: 400;
    src: url(fonts/GESSTwoMedium.woff);
}


@font-face {
    font-family: 'sa';
    font-style: normal;
    font-weight: 400;
    src: url(fonts/TheSansArab-Light.woff);

}

.text_animation_gry {
    background: none;
    font-weight: bold;
    animation: 5s spinnow infinite linear;
    animation-name: example_gay;
    animation-duration: 5s;
}

@keyframes example_gay {
    50%   {background-color: grey;}
}




body{font-family: 'sa';  }
.table-responsive{direction:rtl!important;}
.sky-form header{font-family: 'Droid';}
.sky-form .radio, .sky-form .checkbox{font-family: 'Droid'}
.sky-form label{font-family: 'Droid'}
.sky-form .input .icon-append + input, .sky-form .textarea .icon-append + textarea{font-family: 'Droid'}
.sky-form .select select{padding: 0 10px; font-family: 'Droid'}
.sky-form .input input, .sky-form .select select, .sky-form .textarea textarea{font-family: 'Droid';}
.sky-form *, .sky-form ::after, .sky-form ::before{font-family: 'Droid'}
.sky-form .input input, .sky-form .select select, .sky-form .textarea textarea, .sky-form .radio i, .sky-form .checkbox i, .sky-form .toggle i, .sky-form .icon-append, .sky-form .icon-prepend{font-family: 'Droid'!important;}
.sky-form .button{font-family: 'Droid'!important;}
.form-control{font-size: 12px!important;}

.panel-heading{font-size: 22px!important;}

span.importantLabel{color: red!important;}

a.textName{color: black; text-decoration: underline; font-weight: bold ;}

input.checkboxStyle{
    height: 20px;
    width: 20px;
    padding: 10px;
}

.anyClass {
    height:600px;
    overflow-y: scroll;
}

.btn-xs, .btn-group-xs > .btn{
    font-size: 8px;
    padding: 5px 7px;
}

img.user_photo {border-radius: 50%;border: 2px dotted black}


.dataTables_filter > label:after{top: 10px}
.dataTables_wrapper .dataTables_filter input{border-radius: 10px}
.dataTables_filter input{width: 200px; height:30px}
.dataTables_wrapper .dataTables_length select{border-radius: 10px}
table.dataTable thead > tr > th{text-align: center;}
table.dataTable tfoot > tr > th{text-align: center; }
table.dataTable tbody th, table.dataTable tbody td{padding: 2px!important; }
/*.icon-eye{font-size: 40px;color: green}*/
textarea{background: #F8F6F4!important;}

.input_text{white-space: pre-wrap!important;}

td , th.print_table   {
    padding: 0!important;
}
hr.hrClass{margin-bottom: 5px!important;;margin-top: 5px!important;}
.btnBackground{background: #0a68b4;}
.btnBackground a{color: #fff!important;}

.list-group-item.active {
    background-color: #2196F3; /* أزرق جميل */
    color: #fff; /* النص أبيض */
    border-color: #2196F3;
}

.list-group-item.active a {
    color: #fff !important; /* إجبار رابط داخل العنصر يصير أبيض */
    font-weight: bold;
}

.list-group-item a {
    color: #1e88e5; /* الأزرق الأساسي للرابط العادي */
}


.idNum  {
    font-size: 25px;
}


/* تحسين الأزرار */
.card-body .btn {
    padding: 8px 15px; /* مسافة داخلية للأزرار */
    transition: all 0.3s ease; /* تأثير عند التمرير */
}

.card-body .btn-primary {
    background-color: #007bff; /* أزرق */
    border: none;
}

.card-body .btn-danger {
    background-color: #dc3545; /* أحمر */
    border: none;
}

.delete_user_bg{
    background-color: #ffc107 !important;
}
/* تحسين تصميم الكارد داخل جدول الملاك والمدربين */
#owners-grid-datatable .card, #trainer-grid-datatable .card , #jockey-grid-datatable .card{
    border-radius: 15px; /* حواف ناعمة */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* ظل خفيف */
    padding: 15px; /* تباعد داخلي */
    margin: 10px; /* تباعد بين الكروت */
    background: #fff; /* خلفية بيضاء */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; /* تأثيرات عند التمرير */
}

/* تأثير عند تمرير الماوس */
#owners-grid-datatable .card:hover, #trainer-grid-datatable .card:hover  , #jockey-grid-datatable .card:hover{
    transform: scale(1.03); /* تكبير ناعم */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2); /* زيادة الظل */
}

/* تنسيق محتوى الكارد */
#owners-grid-datatable .card-body, #trainer-grid-datatable .card-body , #jockey-grid-datatable .card-body{
    text-align: center; /* توسيط النصوص */
}

/* تنسيق عنوان الكارد */
#owners-grid-datatable .card-title, #trainer-grid-datatable .card-title , #jockey-grid-datatable .card-title{
    font-weight: bold; /* نص عريض */
    font-size: 16px; /* حجم خط مناسب */
    color: #2c3e50 !important; /* لون أزرق داكن */
    margin-bottom: 5px;
    white-space: pre-wrap !important;
}

/* تنسيق البريد الإلكتروني ورقم الجوال */
#owners-grid-datatable .card-text, #trainer-grid-datatable .card-text , #jockey-grid-datatable .card-text{
    color: #7f8c8d; /* لون رمادي هادئ */
    font-size: 1.2rem; /* حجم خط مناسب */
    margin-bottom: 5px;
}

/* تحسين محاذاة الحقول داخل الكارد */
#owners-grid-datatable .card p, #trainer-grid-datatable .card p , #jockey-grid-datatable .card p{
    margin-bottom: 5px;
}


.owner-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
}

.view-toggle {
    font-size: 22px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.view-toggle:hover {
    background: #e0e0e0;
}




/* تحسين النصوص النشطة */
.text-success {
    color: #28a745 !important; /* لون أخضر */
    font-weight: bold; /* عريض */
}

.text-danger {
    color: #dc3545 !important; /* لون أحمر */
    font-weight: bold; /* عريض */
}

/* تحسين الحالة */
.badge {
    font-size: 0.85rem; /* حجم أصغر */
    padding: 5px 10px; /* مسافة داخلية */
    border-radius: 10px; /* زوايا دائرية */
}

/* تحسين المظهر العام للبطاقة عند التمرير */
.hover-shadow:hover {
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}




@media (max-width: 768px) {
    .hide-on-small {
        display: none!important;
    }
}




/* ░▒▓ Dashboard Horses Section ▓▒░ */
.dashboard-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    background-color: #fff;
    overflow: hidden;
}

.dashboard-card-header {
    font-weight: bold;
    font-size: 16px;
    padding: 12px 20px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-card-body {
    padding: 15px 20px;
}

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

.dashboard-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

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

.dashboard-badge {
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 30px;
    font-weight: bold;
}

.badge-win {
    background-color: #ffc107;
    color: #212529;
}

.badge-participation {
    background-color: #6c757d;
    color: #fff;
}


/*.navbar-default{background: red!important;}*/
/*.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus*/