/* =========================================================
   ZNILATHOSS SPORTS
   TOMORROW.CSS
   مباريات الغد فقط
   ========================================================= */


/* =========================================================
   القسم الرئيسي
   ========================================================= */

.tomorrow-section {

    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 12px;
}


/* =========================================================
   رأس قسم الغد
   ========================================================= */

.tomorrow-header {

    width: 100%;

    min-height: 58px;

    padding: 11px 15px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow:
        0 3px 12px
        rgba(255, 3, 3, 0.045);
}


/* =========================================================
   عنوان الغد
   ========================================================= */

.tomorrow-title {

    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--primary);

    font-size: 16px;

    font-weight: 900;
}


/* =========================================================
   أيقونة الغد
   ========================================================= */

.tomorrow-title-icon {

    width: 31px;

    height: 31px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    background:
        rgba(11, 42, 91, .07);

    border-radius: 8px;

    font-size: 15px;
}


/* =========================================================
   تاريخ الغد
   ========================================================= */

.tomorrow-date {

    color: var(--text-muted);

    font-size: 10px;

    font-weight: 700;

    white-space: nowrap;
}


/* =========================================================
   قائمة مباريات الغد
   ========================================================= */

.tomorrow-list {

    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 10px;
}


/* =========================================================
   بطاقة مباراة الغد
   ========================================================= */

.tomorrow-list .match-card {

    width: 100%;
}


/* =========================================================
   الخط العلوي للبطاقة
   ========================================================= */

.tomorrow-list .match-card::before {

    background:
        rgba(11, 42, 91, .22);
}


/* =========================================================
   معلومات الغد
   ========================================================= */

.tomorrow-info {

    width: 100%;

    padding: 9px 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    color: var(--text-muted);

    background:
        rgba(11, 42, 91, .025);

    border: 1px solid var(--border);

    border-radius: var(--radius-sm);

    font-size: 9px;

    font-weight: 700;

    text-align: center;
}


/* =========================================================
   عدد مباريات الغد
   ========================================================= */

.tomorrow-count {

    min-width: 25px;

    height: 22px;

    padding: 2px 7px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(11, 42, 91, .08);

    color: var(--primary);

    border-radius: 7px;

    font-size: 9px;

    font-weight: 900;

    direction: ltr;
}


/* =========================================================
   حالة التحميل
   ========================================================= */

.tomorrow-loading {

    width: 100%;

    min-height: 170px;

    padding: 25px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 10px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    color: var(--text-muted);

    font-size: 11px;

    font-weight: 700;
}


/* =========================================================
   دائرة التحميل
   ========================================================= */

.tomorrow-loading .loading-spinner {

    width: 28px;

    height: 28px;

    border: 3px solid #f6f7f6;

    border-top-color: var(--primary);

    border-radius: 50%;

    animation:
        tomorrowSpinner .8s linear infinite;
}


@keyframes tomorrowSpinner {

    to {

        transform: rotate(360deg);

    }

}


/* =========================================================
   عدم وجود مباريات
   ========================================================= */

.tomorrow-empty {

    width: 100%;

    min-height: 180px;

    padding: 25px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 9px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    color: var(--text-muted);

    text-align: center;
}


/* =========================================================
   أيقونة عدم وجود المباريات
   ========================================================= */

.tomorrow-empty-icon {

    font-size: 30px;

    line-height: 1;
}


/* =========================================================
   عنوان الحالة الفارغة
   ========================================================= */

.tomorrow-empty strong {

    color: var(--text);

    font-size: 13px;

    font-weight: 900;
}


/* =========================================================
   وصف الحالة الفارغة
   ========================================================= */

.tomorrow-empty span {

    color: var(--text-muted);

    font-size: 10px;

    font-weight: 600;
}


/* =========================================================
   خطأ التحميل
   ========================================================= */

.tomorrow-error {

    width: 100%;

    min-height: 170px;

    padding: 25px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 9px;

    background: #fff7f7;

    border: 1px solid #fecaca;

    border-radius: var(--radius);

    color: var(--danger);

    text-align: center;

    font-size: 11px;

    font-weight: 700;
}


/* =========================================================
   زر إعادة المحاولة
   ========================================================= */

.tomorrow-retry {

    min-height: 31px;

    padding: 5px 12px;

    margin-top: 3px;

    color: var(--white);

    background: var(--primary);

    border: 0;

    border-radius: 7px;

    font-family: inherit;

    font-size: 10px;

    font-weight: 800;

    cursor: pointer;

    transition:
        opacity var(--transition),
        transform var(--transition);
}


.tomorrow-retry:hover {

    opacity: .9;

    transform: translateY(-1px);
}


/* =========================================================
   الشاشات المتوسطة
   ========================================================= */

@media (max-width: 900px) {

    .tomorrow-header {

        padding: 10px 12px;
    }


    .tomorrow-title {

        font-size: 14px;
    }


    .tomorrow-date {

        font-size: 9px;
    }

}


/* =========================================================
   الهاتف
   ========================================================= */

@media (max-width: 700px) {

    .tomorrow-section {

        gap: 9px;
    }


    .tomorrow-header {

        min-height: 52px;

        padding: 9px 10px;
    }


    .tomorrow-title {

        gap: 6px;

        font-size: 13px;
    }


    .tomorrow-title-icon {

        width: 28px;

        height: 28px;

        font-size: 13px;
    }


    .tomorrow-date {

        font-size: 8px;
    }


    .tomorrow-list {

        gap: 8px;
    }


    .tomorrow-info {

        padding: 8px 10px;

        font-size: 8px;
    }


    .tomorrow-count {

        min-width: 23px;

        height: 20px;

        font-size: 8px;
    }

}


/* =========================================================
   الهاتف الصغير
   ========================================================= */

@media (max-width: 420px) {

    .tomorrow-header {

        padding: 8px;
    }


    .tomorrow-title {

        font-size: 12px;
    }


    .tomorrow-title-icon {

        width: 26px;

        height: 26px;

        font-size: 12px;
    }


    .tomorrow-date {

        font-size: 7px;
    }

}