@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/eot/IRANSansWeb_Black.eot');
    src: url('../fonts/eot/IRANSansWeb_Black.eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */
        url('../fonts/woff2/IRANSansWeb_Black.woff2') format('woff2'),
        /* FF39+,Chrome36+, Opera24+*/
        url('../fonts/woff/IRANSansWeb_Black.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('../fonts/ttf/IRANSansWeb_Black.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/eot/IRANSansWeb_Bold.eot');
    src: url('../fonts/eot/IRANSansWeb_Bold.eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */
        url('../fonts/woff2/IRANSansWeb_Bold.woff2') format('woff2'),
        /* FF39+,Chrome36+, Opera24+*/
        url('../fonts/woff/IRANSansWeb_Bold.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('../fonts/ttf/IRANSansWeb_Bold.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/eot/IRANSansWeb_Medium.eot');
    src: url('../fonts/eot/IRANSansWeb_Medium.eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */
        url('../fonts/woff2/IRANSansWeb_Medium.woff2') format('woff2'),
        /* FF39+,Chrome36+, Opera24+*/
        url('../fonts/woff/IRANSansWeb_Medium.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('../fonts/ttf/IRANSansWeb_Medium.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/eot/IRANSansWeb_Light.eot');
    src: url('../fonts/eot/IRANSansWeb_Light.eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */
        url('../fonts/woff2/IRANSansWeb_Light.woff2') format('woff2'),
        /* FF39+,Chrome36+, Opera24+*/
        url('../fonts/woff/IRANSansWeb_Light.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('../fonts/ttf/IRANSansWeb_Light.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/eot/IRANSansWeb_UltraLight.eot');
    src: url('../fonts/eot/IRANSansWeb_UltraLight.eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */
        url('../fonts/woff2/IRANSansWeb_UltraLight.woff2') format('woff2'),
        /* FF39+,Chrome36+, Opera24+*/
        url('../fonts/woff/IRANSansWeb_UltraLight.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('../fonts/ttf/IRANSansWeb_UltraLight.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/eot/IRANSansWeb.eot');
    src: url('../fonts/eot/IRANSansWeb.eot?#iefix') format('embedded-opentype'),
        /* IE6-8 */
        url('../fonts/woff2/IRANSansWeb.woff2') format('woff2'),
        /* FF39+,Chrome36+, Opera24+*/
        url('../fonts/woff/IRANSansWeb.woff') format('woff'),
        /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
        url('../fonts/ttf/IRANSansWeb.ttf') format('truetype');
}

* {
    box-sizing: border-box;
}

body {
    font-family: IRANSans !important;
    background: linear-gradient(to top right, #000000, #2271c5) no-repeat;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    direction: rtl;
}

.center {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 88vh;
    max-width: 800px;
    display: flex;
}

.inspiration {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    font-family: 'Gill Sans', sans-serif;
    color: #fff;
}

.left {
    width: 230px;
    height: 100%;
    background-color: #fff;
    color: #848697;
    border-radius: 3px 0 0 3px;
}

.logo {
    position: relative;
    top: 10px;
    height: 100px;
}

.company {
    text-align: center;
}

.company .company-name {
    font-weight: bold;
    color: #333;
}

.company .company-description {
    position: relative;
    margin: 10px auto;
    width: 100px;
    font-size: 10px;
}

.navigation {
    position: relative;
    display: block;
    margin-top: 50px;
}

.navigation li {
    padding: 0px 25px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.navigation li i {
    font-size: 23px;
}

.navigation li span {
    padding-left: 15px;
    vertical-align: super;
}

.right {
    flex: 1 1 auto;
    background-color: #f6f6fc;
    padding: 30px;
    border-radius: 0 3px 3px 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.right .title {
    font-size: 25px;
    font-weight: bold;
}

.right .description {
    margin-top: 5px;
    margin-bottom: 20px;
    color: #808080;
}

.right .row {
    display: flex;
    margin: 10px 0 40px;
}

.right .row:last-child {
    margin: 10px 0 0;
}

.right .column {
    flex-direction: column;
}

.right .graph {
    display: inline-block;
    width: 250px;
    height: 150px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 22px -8px #808080;
}

.right .graph .stock {
    margin: 0;
    margin-left: 20px;
    top: 5px;
}

.right .graph+.graph {
    margin-left: 10px;
}

.right .asset-category {
    display: flex;
}

.right .category {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.right .asset {
    position: relative;
    display: flex;
    flex-direction: row;
    margin: 10px 0;
}

.right .asset-logo {
    position: relative;
    display: flex;
    justify-content: center;
    flex: 0;
}

.right .asset-logo:before {
    content: '';
    width: 40px;
    height: 40px;
    background-color: #fff;
    transform: rotate(45deg);
    border-radius: 10px;
}

.right .asset-logo i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.right .asset-name {
    color: #808080;
}

.right .sub-title {
    margin-bottom: 10px;
    color: #00008b;
}

.right .half {
    flex: 1;
}

.right .stock {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 40px;
    padding: 5px 0;
    margin: 8px 0;
}

.right .stock-logo {
    position: relative;
    display: flex;
    justify-content: center;
    flex: 0;
    margin-right: 10px;
}

.right .stock-logo:before {
    content: '';
    width: 30px;
    height: 30px;
    background-color: #555;
    transform: rotate(45deg);
    border-radius: 7px;
}

.right .stock-logo i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.right .stock-info {
    margin-left: 5px;
    flex: 1;
}

.right .stock-name {
    color: #00008b;
}

.right .stock-fullname {
    color: #808080;
}

.right .stock-value {
    flex: 1;
    font-weight: bold;
    color: #808080;
}

.right .stock-logo.apple:before {
    background: #808080;
}

.right .stock-logo.facebook:before {
    background: #3b5998;
}

.right .stock-logo.amazon:before {
    background: #ff9b24;
}

.right .stock-logo.twitter:before {
    background: #55acee;
}

.right .stock-logo.paypal:before {
    background: #003087;
}

.right .stock-logo.google:before {
    background: #d62d20;
}

.right .stock-logo.paperpillar:before {
    background: linear-gradient(to top right, #7871ff, #6feaff);
}

.right .stock-logo.dandruft:before {
    background: linear-gradient(to top right, #f88781, #f7c682);
}

.container {
    width: 100%;
    max-width: 750px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: right;


}
.container2{
    width: 100%;
    max-width: 880px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: right;
    justify-self: center;
}
.container3 {
    width: 100%;
        max-width: 1600px;
        background-color: #fff;
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        text-align: right;
}
.container4 {
    width: 100%;
    max-width: 1200px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: right;
    justify-self: center;
}
/* استایل فرم‌ها */
form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

form label {
    margin-top: 10px;
    width: 100%;
}

form input,
form textarea {
    font-family: IRANSans;
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    text-align: right;
}

form select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    text-align: right;
}

textarea {
    resize: vertical;
}

/* استایل دکمه‌ها */
.btn {
    font-family: IRANSans;
    width: auto;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    flex: 1 1 20px;
    /* اندازه یکسان برای همه دکمه‌ها */
}
.btn3{
    font-family: IRANSans;
    width: auto;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    text-align: center;
    flex: 1 1 20px;
}
.btntaj {
    font-family: IRANSans;
    width: auto;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 5px;
    transition: background-color 0.3s ease;
    text-align: center;
    flex: 1 1 20px;
    /* اندازه یکسان برای همه دکمه‌ها */
}
.btn2 {
    font-family: IRANSans;
    width: auto;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    flex: 1 1 20px;
    /* اندازه یکسان برای همه دکمه‌ها */
}

.button-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.btn:hover {
    background-color: #45a049;
}

.btn.error {
    background-color: #f44336;
}

.btn.error:hover {
    background-color: #e53935;
}

/* استایل جدول */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th,
table td {
    padding: 12px;
    text-align: right;
    border: 1px solid #ddd;
}

table th {
    background-color: #007bff;
    position: sticky;
    top: 0;
    z-index: 1;
}

select,
option {
    font-family: IRANSans;
    padding: 10px 20px !important;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.btn-add-player {
    background-color: #007bff;
    /* رنگ آبی */
}

.btn-add-player:hover {
    background-color: #0056b3;
    /* رنگ آبی تیره هنگام هاور */
}

/* دکمه مشاهده تاریخچه تمرینات */
.btn-view-history {
    background-color: #ff9800;
    font-family: IRANSans;
        padding: 8px 12px;
        border-radius: 5px;
        border: none;
        cursor: pointer;
        transition: background-color 0.3s ease;
        color: white;
}

.btn-view-history:hover {
    background-color: #e67e00;
    /* رنگ نارنجی تیره هنگام هاور */
}

.btn-daily-summary {
    background-color: #8bc34a;
    font-family: IRANSans;
        padding: 8px 12px;
        border-radius: 5px;
        border: none;
        cursor: pointer;
        transition: background-color 0.3s ease;
        color: white;
}

.btn-daily-summary:hover {
    background-color: #7cb342;
}

.btn-player-management {
    background-color: #9c27b0;
}

.btn-player-management:hover {
    background-color: #7b1fa2;
}

/* استایل پاپ‌آپ */
.popup {
    visibility: hidden;
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #4CAF50;
    color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    opacity: 0;
}

.popup.error {
    background-color: #f44336;
}

.popup.show {
    visibility: visible;
    opacity: 1;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.pagination a {
    background-color: #007bff;
    color: white;
    border: 1px solid #007bff;
}

.pagination a:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.current-page {
    background-color: #4CAF50;
    color: white;
    border: 1px solid #4CAF50;
    cursor: default;
}

.pagination a.disabled {
    background-color: #ccc;
    color: #666;
    border: 1px solid #ccc;
    cursor: not-allowed;
}

.pagination a.disabled:hover {
    background-color: #ccc;
    border-color: #ccc;
}

h1 {
    font-size: 30px;
    text-align: center;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.preloader-logo {
    width: 300px;
    height: auto;
    animation: zoom-in-out 1.5s ease-in-out forwards;
}

/* انیمیشن بزرگ شدن و محو شدن */
@keyframes zoom-in-out {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* انیمیشن محو شدن Preloader */
.fade-out {
    opacity: 0;
    transition: opacity 1s ease;
}

/* کانتینر جدول */
.table-container {
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    overflow-x: auto;
    white-space: nowrap;
    border: 1px solid #ccc;
    }

.table-header {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    font-weight: bold;
    text-align: center;
}

.table-content {
    max-height: 400px;
    /* تنظیم ارتفاع با اسکرول داخلی */
    overflow-y: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}


table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
}

/* استایل دکمه‌های عملیات */
.action-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-edit,
.btn-delete {
    font-family: IRANSans;
    padding: 8px 12px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: white;
    background-color: #aa9c9b;
}

.btn-edit {
    background-color: #007bff;
}

.btn-edit:hover {
    background-color: #0056b3;
}


.btn-delete:hover {
    background-color: #f80400;
}

/* دکمه لودینگ */
.spinner {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid white;
    border-top: 2px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 5px;
}

/* انیمیشن چرخش */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.btn:disabled {
    background-color: #888888;
    cursor: not-allowed;
}

.btn:hover:enabled {
    background-color: #00ff00;
}

.message {
    margin-top: 20px;
    font-size: 16px;
    color: green;
    text-align: center;
}

.btn-register-session {
    background-color: #2196F3;
    color: white;
}

.btn-register-session:hover {
    background-color: #0b7dda;
}

/* استایل دکمه بازگشت */
.btn-back {
    font-family: 'IRANSans';
    margin-top: 20px;
    background-color: #2196F3;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-back:hover {
    background-color: #0b7dda;

}

.btn-logout {
    background-color: #f44336;
    /* رنگ قرمز */
    color: white;
}

.btn-logout:hover {
    background-color: #d32f2f;
    /* رنگ قرمز تیره‌تر */
}

.titleindex {
    font-size: 22px;
}

@media (max-width: 768px) {

    /* تغییر ساختار به صورت عمودی */
    .center {
        flex-direction: column;
    }

    .left {
        order: 2;
        width: 100%;
        padding: 10px;
    }

    .right {
        order: 1;
        width: 100%;
    }

    .left img {
        max-width: 70px;
    }

    .navigation ul li {
        font-size: 14px;
        padding: 8px;
    }

    .navigation ul li i {
        font-size: 20px;
        margin-right: 5px;
    }

    form label {
        font-size: 14px;
    }

    form input,
    form textarea,
    form select,
    form button {
        font-size: 14px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .left img {
        max-width: 50px;
    }

    .navigation ul li {
        font-size: 12px;
    }

    form label {
        font-size: 12px;
    }

    form input,
    form textarea,
    form select,
    form button {
        font-size: 12px;
        padding: 6px;
    }
}

.logos {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0px;
}

.btn2 {
    font-family: IRANSans;
    width: auto;
    background-color: #fa7602;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    text-align: center;
    flex: 1 1 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.user-info img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-details p {
    margin: 0;
}

.section {
    margin-bottom: 30px;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 5px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
}

.card {
    text-align: center;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
}

.card img {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    object-fit: cover;
    margin-bottom: 10px;
}

.message {
    color: red;
    margin-top: 20px;
}

@keyframes start {
    from {
        transform: scale(.5);
    }

    to {
        transform: scale(1);
    }
}

@-webkit-keyframes start {
    from {
        -webkit-transform: scale(.5);
    }

    to {
        -webkit-transform: scale(1);
    }
}

.rtl {
    direction: rtl
}

.pdp-default {
    position: absolute;
    direction: rtl;
    color: #555;
    box-shadow: 1px 1px 8px 1px rgba(0, 0, 0, 0.19);
    z-index: 99999;
}

.pdp-default ::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

.pdp-default ::-webkit-scrollbar {
    width: 15px;
    background-color: #F5F5F5;
}

.pdp-default ::-webkit-scrollbar-thumb {
    background-color: #444444;
}

.pdp-default ::selection {
    color: #67cdcc;
}

.pdp-default .pdp-header {
    background-color: #ffffff;
    border-top: 2px solid #999;
    border-left: 1px solid #999;
    border-right: 1px solid #999;
    border-bottom: none;
    padding: 2px;
    font-weight: bold;
}

.pdp-default .yearSelect {
    overflow-y: auto;
    direction: ltr;
}

.pdp-default .monthSelect li.disableMonth,
.pdp-default .monthSelect li.disableMonth:hover {
    color: #bbb;
    background: #eee;
    cursor: not-allowed;
}

.pdp-default .yearSelect,
.pdp-default .monthSelect {
    font: normal 12px Tahoma;
    background: #f9f9f9;
    border: 1px solid #ccc;
    list-style: none;
    position: absolute;
    padding: 0;
    width: 99.6%;
    text-align: center;
    z-index: 9999;
    animation: start 0.2s;
    -webkit-animation: start 0.2s;
}

.pdp-default .selected {
    background: #15a6eb;
    color: #ffffff;
}

.pdp-default .yearSelect li,
.pdp-default .monthSelect li {
    padding: 1px;
    cursor: default;
    display: inline-table;
    text-align: center;
    border: 1px dotted #ddd;
}

.pdp-default .yearSelect li:hover,
.pdp-default .monthSelect li:hover {
    background: #FF9933;
    color: #ffffff;
    border-color: #FF7700;
}

.pdp-default .nextArrow {
    right: 0;
}

.pdp-default .prevArrow {
    left: 0;
}

.pdp-default .monthYear {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    cursor: pointer;
}

.pdp-default .nextArrow,
.pdp-default .prevArrow {
    cursor: pointer;
    position: absolute;
    top: 1px;
    padding: 2px;
}

.pdp-default .nextArrow:hover,
.pdp-default .prevArrow:hover {
    color: #0073ea;
}

.pdp-default .cell {
    display: inline-block;
    cursor: default;
    text-align: center;
}

/* Days of the week */
.pdp-default .dows {
    background: #5F5D5D;
    /*#006fe0;*/
    color: #fff;
}

.pdp-default .dow {
    font: bold 14px 'helvetica';
    border: 1px solid #5F5D5D;
}

.pdp-default .days {
    background-color: #ffffff;
    border: 1px solid #999;
    border-top: none;
    font: normal 12px Tahoma;
}

.pdp-default .day {
    border: 1px solid #f1f1f1;
    font-family: 'IRANSans';
}

.pdp-default .day:hover {
    background: #f3f3f3;
    border: 1px solid #bbb;
    border-radius: 2px;
}

.pdp-default .selday,
.pdp-default .selday:hover {
    background: #eadaa6;
    border-color: #eb5b04;
}

.pdp-default .friday {
    color: #f38;
}

.pdp-default .today {
    color: #fff;
    background: #0073ea;
}

.pdp-default .today:hover {
    color: #fff;
    background: #0073ea;
}

.pdp-default .disday,
.pdp-default .disday:hover {
    color: #B7B5B5;
    background: #F1F1F1;
    cursor: not-allowed;
}

.pdp-default .nul {
    border: 1px solid #f1f1f1;
    background: #f1f1f1;
}

.pdp-default .pdp-footer {
    background: #999;
    font: normal 12px Tahoma;
    text-align: center;
    height: 17px;
}

.pdp-default .pdp-footer .goToday {
    color: #f0f0f0;
    text-decoration: none;
}

.pdp-default .pdp-footer .goToday:hover {
    color: #ffffff;
    text-decoration: overline;
}
.search2{
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    font-family: 'IRANSans';
}
.select2-container {
    direction: rtl;
    text-align: right;
    font-family: 'IRANSans';
}

.select2-container .select2-selection--single {
    text-align: right;
    height: 38px;
    padding: 8px;
    font-family: 'IRANSans';
}

.select2-container .select2-selection__placeholder {
    text-align: right;
    font-family: 'IRANSans';
}

.select2-container .select2-results__option {
    text-align: right;
    font-family: 'IRANSans';
}
.select2-search__field{
    font-family: 'IRANSans';
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
   background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.5s ease-in-out;
    position: relative;
}

.modal-icon {
    position: relative;
    width: 100px;
    height: 100px;
    margin: auto;
    margin-bottom: 20px;
}

.circle {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 5px solid transparent;
    border-top: 5px solid #28a745;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

.tick {
    position: absolute;
    top: 20%;
    left: 30%;
    width: 40%;
    height: 60%;
    background: none;
    border: solid #28a745;
    border-width: 0 5px 5px 0;
    transform: rotate(45deg);
}

.modal-close {
    background-color: #dc3545;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.modal-close:hover {
    background-color: #c82333;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
.player-card {
            display: inline-block;
            width: 30%;
            text-align: center;
            margin: 10px;
        }

.player-card img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            margin-bottom: 10px;
        }

.player-card h4 {
            margin: 5px 0;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

.card2 {
    background: white;
    width: 200px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.card2:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.card-icon {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 15px;
}

.card-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}
/* اسکرول مخفی برای لیست مسابقات */
.tournament-list table tbody {
    display: block;
    max-height: 220px;
    /* ارتفاع ثابت */
    overflow-y: scroll;
    /* فعال کردن اسکرول عمودی */
    scrollbar-width: none;
    /* مخفی کردن اسکرول در فایرفاکس */
    -ms-overflow-style: none;
    /* مخفی کردن اسکرول در IE و Edge */
}

.tournament-list table tbody::-webkit-scrollbar {
    display: none;
    /* مخفی کردن اسکرول در کروم و سافاری */
}

.tournament-list table thead,
.tournament-list table tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
    /* تنظیم عرض ستون‌ها */
}
.result .card {
    background-color: #007bff;
    color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    transition: all 0.3s ease-in-out;
}

.result .card:hover {
    background-color: #0056b3;
    transform: translateY(-5px);
}

.form-item{
    margin-top: 24px;
 display: flex;
 justify-content: start ;
 gap: 16px;
 width: 100%;
}
.item{
    width: 48%;
}
.mb{
    margin-bottom: 24px;
}
.result{
    margin-top: 15px;
}
.form-group {
    margin-bottom: 20px;
    justify-content: center;
    gap: 15px;
}
.stats-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.stats {
    width: 48%;
    background: #f9f9f9;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 8px;
}

.stats h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.stats table {
    width: 100%;
    border-collapse: collapse;
}

.stats table td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.tournament-list {
    margin-top: 30px;
}

.tournament-list h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.scrollable-table {
    /* max-height: 400px; */
    max-width: 1000px;
    overflow-y: auto;
    overflow-x: scroll;
}

.scrollable-table table {
    width: 100%;
    border-collapse: collapse;
}

.scrollable-table table th,
.scrollable-table table td {
    padding: 10px;
    border: 1px solid #ddd;
}
.lane-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
}

.lane-item {
    flex: 1;
    text-align: center;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    background-color: #f9f9f9;
    align-self: center;
}
.lane-fields{
    align-self: center;
}
.btn-squads {
    background-color: #4CAF50;
    /* سبز */
    color: white;
    border: none;
}

.btn-score-entry {
    background-color: #2196F3;
    /* آبی */
    color: white;
    border: none;
}

.btn-turbo {
    background-color: #FF9800;
    /* نارنجی */
    color: white;
    border: none;
}

.btn-last-chance {
    background-color: #E91E63;
    /* صورتی */
    color: white;
    border: none;
}
.btn-qualifying {
    background-color: #673AB7; /* بنفش */
    color: white;
    border: none;
}
.btn-turbo-table {
    background-color: #001aff;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    transition: 0.3s;
}
.btn-turbo-table:hover {
    background-color: #E68900;
}

.btn-last-chance-table {
    background-color: #ff00b3;
    /* نارنجی */
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
}

.btn-last-chance-table:hover {
    background-color: #e68900;
}
.btn-judge-draw{
        background-color: #e68900;
        font-family: IRANSans;
            width: auto;
            padding: 10px 20px;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            margin-top: 20px;
            transition: background-color 0.3s ease;
            text-align: center;
            flex: 1 1 20px;
}
/* طراحی شیک برای نمایش تاریخ‌ها */
.date-picker-checkbox-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

.date-picker-checkbox-container label {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.date-picker-checkbox-container input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    background-color: #fff;
    border: 1px solid #ccc;
    cursor: pointer;
}

.date-picker-checkbox-container input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

/* استایل دادن به چک‌باکس‌ها */
.date-picker-checkbox-container input[type="checkbox"]:checked+label {
    color: #007bff;
    font-weight: bold;
}

/* طراحی برای هر تاریخ به صورت جداگانه */
.date-picker-checkbox-container .date-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    width: 120px;
    transition: background-color 0.3s ease;
}

.date-picker-checkbox-container .date-item:hover {
    background-color: #e9ecef;
}

.date-picker-checkbox-container .date-item label {
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
}

.date-picker-checkbox-container .date-item input {
    margin-top: 5px;
}

/* طراحی برای تاریخ انتخاب شده */
.date-picker-checkbox-container .selected {
    background-color: #007bff;
    color: #fff;
}
.fields{
        align-self: center;
}
.hour-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
    .hour-box {
        border: 2px solid #ccc;
        border-radius: 10px;
        padding: 15px;
        text-align: center;
        font-weight: bold;
        background-color: #fff;
        cursor: help;
        transition: 0.2s;
    }
    .hour-box.active {
        background-color: #0d6efd;
        color: #fff;
        border-color: #0d6efd;
    }
    .hidden-check {
        display: none;
    }
    .form-label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
    }
    
        .form-control,
        .form-select {
            width: 100%;
            padding: 10px;
            border-radius: 6px;
            border: 1px solid #ccc;
            box-sizing: border-box;
            text-align: center;
        }
    
       
    
        .btn-primary {
            background-color: #0d6efd;
            color: white;
            font-family: IRANSans;
            width: auto;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
            text-align: center;
            flex: 1 1 20px;
            padding: 10px;
            align-self: center;
            margin-top: 14px;
        }
        .btn-primary2 {
                    background-color: #0d6efd;
                    color: white;
                    font-family: IRANSans;
                    width: auto;
                    border: none;
                    border-radius: 5px;
                    cursor: pointer;
                    transition: background-color 0.3s ease;
                    text-align: center;
                    flex: 1 1 20px;
                    padding: 10px;
                    align-self: center;
                margin-top: 24px;
                    width: 204%;
                }
    
        .btn-primary:hover {
            background-color: #0745a3;
        }
                .btn-primary2:hover {
                    background-color: #0745a3;
                }
    
        .alert {
            padding: 12px;
            border-radius: 6px;
            margin-bottom: 20px;
        }
    
        .alert-success {
            background-color: #d1e7dd;
            color: #0f5132;
        }
    
        .alert-danger {
            background-color: #f8d7da;
            color: #842029;
        }
    
        .row {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }
    
        .col-md-10 {
            width: 100%;
        }
    
        .d-flex {
            display: flex;
        }
    
        .gap-3 {
            gap: 1rem;
            
        }
    
        .text-center {
            text-align: center;
        }
    
        .w-100 {
            width: 100%;
        }
        .mb-3{
            width: 100%;
        }
        .mb-4 {
            width: 100%;
        }
        