/*
/////////////////////////////////////////////////////////
  Start File single.css
/////////////////////////////////////////////////////////*/
.single .Fareeq-r {
    float: right;
    justify-content: flex-start
}

.single .Fareeq-l {
    float: left;
    justify-content: flex-end
}

.single .Fareeq-c {
    display: inline-block;
}

.single .Fareeq-r img,
.single .Fareeq-l img {
    margin-bottom: 0;
}

.single .Fareeq-r span,
.single .Fareeq-l span {
    font-size: 14px;
    color: #ffffff;
    width: 100%
}

.single .Fareeq-r span,
.single .Fareeq-l span {
    font-size: 17px;
}

.single .iframeSrc {
    width: 100%;
    margin: 15px auto;
    overflow: hidden;
}

.single .iframeSrc iframe {
    width: 100%;
    min-height: 400px;
    background: #000000;
    margin: 15px auto;
}

.single .iframeSrc blockquote#disclaimer {
    padding: 15px;
}

.single .Fareeq-r,
.single .Fareeq-l {
    display: flex;
    align-items: center;
    width: calc((100% - 130px)/ 2);
    text-align: center;
    flex-direction: column;
    gap: 0;
}

.single .Fareeq-l {
    float: left;
}

.single span.bouton {
    font-size: 12px;
    width: 75px;
    margin: 0 auto;
    height: 28px;
    line-height: 28px;
    padding: 0;
}

.single span.bouton2 {
    font-size: 12px;
    width: 75px;
    margin: 0 auto;
    height: 28px;
    line-height: 28px;
    padding: 0;
}

.single .Gadwl-Bot {
    text-align: center;
    height: 36px;
    line-height: 36px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    opacity: 0.6;
    justify-content: space-evenly;
}

.single .Gadwl-Bot .cols {
    padding: 0 3px;
    font-size: 12px;
    flex: 1;
}

.single .Gadwl-Bot .cols span {
    display: flex;
    justify-content: center;
    align-items: center;
}

.single .Gadwl-Bot .cols:first-of-type {
    border-right: 0
}

.single .r,
.single .l {
    text-align: center;
    font-size: 17px;
    position: relative
}

.single .l,
.single .r {
    display: flex;
    align-items: center;
}

.single .fc_time span#hdaf1,
.single .fc_time span#hdaf2 {
    display: inline-block;
    vertical-align: middle;
    background: transparent;
    padding: 0 10px;
    font-size: 62px;
    line-height: 1;
    vertical-align: middle;
}

.single .fc_time span.sharta {
    font-size: 62px;
    padding: 0 10px;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

.single .fc_time.fc_time_show {
    margin-top: 0;
    font-size: 21px;
    color: #ffffff;
}

.single .result_show,
.single .fc_time_show {
    display: block
}

.single .result_match.result_show {
    font-family: sans-serif
}

.single .penalties {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0 0;
    gap: 10px
}

.single .penalties span.penalties-title {
    font-size: 10px;
}

.single .result_match span#hdaf1,
.single .result_match span#hdaf2 {
    display: inline-block;
    vertical-align: middle;
    background: transparent;
    padding: 0 10px;
    font-size: 16px
}

.single .Fareeq-r img,
.single .Fareeq-l img {
    width: auto;
    height: 75px
}

.single .teams-events {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: right;
    overflow: hidden;
    padding: 15px 0 0;
}

.single .Fareeq-c {
    margin: 15px 0 0;
    flex: 1;
}

.single .fc_time {
    display: flex;
    margin-top: 10px;
    align-items: center;
    justify-content: center;
}

.single .Gadwl-Top {
    margin: 30px 0;
    padding: 20px;
    color: #ffffff;
}

.single .bg-card-match {
    background: #222 url(../img/match-background.jpg);
    overflow: hidden;
    background-size: cover;
    background-position: 50% 50%;
    object-fit: cover;
    padding: 2.7rem 0;
}

.single .Gadwl-Top {
    max-width: 570px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    background-color: rgba(0, 0, 0, .5);
    border-bottom: 7px solid rgba(0, 0, 0, .5);
}

.single .match-inner {
    display: flex;
    align-items: center;
}

.single .progress-bar-container {
    width: 100%;
    background-color: #e0e0e0;
    height: 6px;
    border-radius: 5px;
    margin-top: 0;
    position: relative;
    top: -10px;
    display: none;
    /* Hide by default */
}

.single .progress-bar-container.match-live {
    display: block;
    /* Show when match is live */
}

.single .progress-bar {
    height: 100%;
    background-color: #76c7c0;
    border-radius: 5px;
    transition: width 0.5s;
}

.single .timer-status {
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    position: relative;
    top: 0;
    height: 12px;
}

.single .match_card .timer-status {
    margin-top: 0px !important;
}

.single .timer-status .timer {
    color: #ff7200 !important;
    border-radius: 0 !important;
    margin-left: 1px;
    direction: ltr;
}

.single .match_card .timer-status .timer {
    font-size: 17px;
}

.single .match_card .timer-status span.status {
    font-size: 15px !important;
}

.single .timer-status span.status {
    font-size: 12px !important;
    border-radius: 0;
}

.single .stoppage-time {
    color: greenyellow;
    /* لجعل العنصر أكثر وضوحًا */
    font-size: 8px !important;
}

.single .timer-status .status .full-time {
    font-size: 10px;
}

.single .waiting-kick-off {
    font-size: 8px !important;
    color: #f00;
    background: none !important;
}

/*<!-- إضافة أنماط CSS -->*/
.egy_tabs_inner,
.egy_tabs_inner * {
    box-sizing: border-box !important
}

.egy_repflex {
    min-width: 100%;
    max-width: 100%;
    width: 100%
}

.egy_matchTabCon .egy_tabs_content:not(.is-active) {
    display: none;
}

.egy_title {
    margin: 0 0 15px;
    background: #f0f0f0;
    padding: 15px;
    border-radius: 5px;
    font-size: 15px;
    text-align: right;
    font-weight: 700;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    line-height: 1.2;
    color: #213c51;
    border: 1px solid #ddd;
}

.substitutes-title {
    padding: 15px 0;
    border-radius: 5px;
    font-size: 15px;
    text-align: right;
    font-weight: 700;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    line-height: 1.2;
}

.substitutes-title-basic {
    padding: 15px 0;
    border-radius: 5px;
    font-size: 15px;
    justify-content: end;
    font-weight: 700;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    line-height: 1.2;
}

.f_sq .egy_title {
    direction: ltr;
    text-align: left
}

.egy_title img {
    width: 36px;
    height: auto;
    margin-right: -5px !important;
    margin-left: 5px !important;
}

.f_sq .egy_title img {
    margin-left: -5px !important;
    margin-right: 5px !important
}

.egy_lineup {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-bottom: 10px
}

.egy_lineup ul {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important
}

.egy_lineup li {
    display: block;
    width: 100%;
    float: right;
    margin: 0 0 8px !important;
    overflow: hidden;
    height: auto;
    padding: 0 0 8px !important;
    border-bottom: solid 1px #d2d2d2;
    list-style: none !important
}

.egy_lineup li:last-child {
    border: 0;
    margin: 0 !important
}

.egy_lineup li div {
    display: inline-block
}

.egy_lineup li .f,
.egy_lineup li .s {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    line-height: 1.4;
    font-size: 12px;
    color: #848484;
    position: relative
}

.egy_lineup li .f {
    text-align: left;
    padding-left: 35px;
    float: right
}

.egy_lineup li .f span {
    left: 0
}

.egy_lineup li .f div {
    float: left
}

.egy_lineup li .s {
    text-align: right;
    padding-right: 35px;
    float: left
}

.egy_lineup li .s span {
    right: 0;
    color: #e93534;
    text-align: right
}

.egy_lineup li .s div {
    float: right
}

.egy_lineup li span {
    position: absolute;
    top: 0;
    color: #2196f3;
    font-weight: bold;
    padding: 5px;
    font-size: 17px;
    text-align: left;
    width: 30px
}

.egy_lineup li b {
    display: block;
    color: #213c51;
    font-size: 14px
}

.egy_tmsForms {
    position: absolute;
    width: 100%;
    height: calc(50% + 10px);
    left: 0;
    display: flex;
    min-width: 100%;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px;
    z-index: 40
}

.egy_tmsForms > .egy_splan {
    font-size: 12px;
    position: absolute;
    left: 25px;
    top: 25px;
    background: #ffffff59;
    padding: 2px 7px;
    border-radius: 20px;
    line-height: 1;
    color: #fff
}

.egy_tmsForms.visitant > .egy_splan {
    top: auto;
    bottom: 25px;
    right: 25px;
    left: auto
}

.egy_tmsForms.visitant {
    bottom: 0
}

.egy_tmsForms > .DoneRows {
    display: flex;
    justify-content: space-around;
    min-width: 100%
}

.egy_tmsForms.visitant > .DoneRows.defens > .egy_player:first-child,
.egy_tmsForms.visitant > .DoneRows.defens > .egy_player:last-child {
    bottom: 0;
    top: auto
}

.egy_tmsForms > .DoneRows.center {
    display: flex;
    justify-content: space-evenly
}

.egy_player {
    display: flex;
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    align-items: center;
    color: #fff;
    position: relative;
    line-height: 10px;
    flex-direction: column;
    justify-content: center
}

.egy_player > svg {
    width: 42px;
    height: 37px
}

.egy_player .pname {
    font-weight: 500;
    padding: 3px 0;
    color: #fff;
    display: block;
    overflow: hidden;
    line-height: 13px;
    font-size: 10px;
    position: relative;
    max-height: 25px;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 58px
}

.player-sub {
    display: flex;
    align-items: center;
    gap: 5px;
}

span.sub-return i {
    color: #07d84e;
}

.egy_player > span.pnum {
    position: absolute;
    top: 18px;
    font-weight: 700;
    letter-spacing: -1px
}

.egy_lineupTeams {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 0;
    border-radius: 11px;
    margin: 15px 0
}

.egy_staduim {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 680px;
    border-radius: 4px;
    margin: auto;
    max-width: 450px
}

.egy_mstaduim,
.egy_staduim {
    width: 100%
}

#egy_events {
    width: 100%;
    position: relative;
    min-height: 100px
}

#egy_events::after {
    content: "";
    position: absolute;
    width: 1px;
    left: 50%;
    top: 0;
    background-color: #e4e4e4;
    height: 100%
}

#egy_evebody {
    position: relative;
    min-height: 100px;
    z-index: 1;
    width: 100%
}

#egy_evebody::after,
#egy_evebody::before {
    background: url(../img/referee.svg);
    content: "";
    width: 36px;
    height: 36px;
    position: absolute;
    left: 0;
    border-radius: 50%;
    border: 1px solid;
    background-size: 70% 70%;
    background-position: center;
    background-repeat: no-repeat;
    margin: auto;
    right: 0;
}

#egy_evebody::before {
    bottom: 0;
    /*    background-color: #00b746*/
}

#egy_evebody::after {
    top: 0
}

#egy_evebody ul {
    list-style: none;
    margin: 33px 0;
    padding: 33px 0;
    display: inline-block;
    width: 100%;
    position: relative
}

#egy_evebody ul::after {
    content: "";
    background: linear-gradient(to bottom, #667eea, #764ba2);
    /* height: 100%; */
    width: 5px;
    position: absolute;
    right: 0;
    left: 0;
    top: 4px;
    bottom: 0;
    margin: auto;
}

/*
#egy_evebody ul li.timeline-content::before {
    content: "";
    height: 26px;
    width: 26px;
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #667eea;
    z-index: 10;
}
*/
#egy_evebody li {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 11px 0;
    float: right;
    text-align: center;
    border: 0
}

#egy_evebody li h3 {
    width: 123px;
    text-align: center;
    margin: 0 auto;
    line-height: 2;
    background-color: #f1f1f1;
    border: 1px solid #dadada;
    font-size: 12px;
    display: inline-block;
    padding: 0 12px 6px;
    border-radius: 16px
}

#egy_evebody li > span {
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -16px;
    width: 32px;
    height: 32px;
    line-height: 28px;
    font-size: 13px;
    text-align: center;
    border: 2px solid #e4e4e4;
    background-color: #fff;
    border-radius: 50%;
    color: #f0a306
}

#egy_evebody li span.extra {
    line-height: 1.4
}

#egy_evebody li span b {
    font-weight: bold;
    color: #f0a306;
    display: block;
    line-height: 0.4;
    font-size: 10px
}

#egy_evebody li > div {
    width: 50%;
    margin: 0;
    clear: both;
}

#egy_evebody div.left {
    float: left;
    padding-right: 18px;
    text-align: right
}

#egy_evebody div.right {
    float: right;
    padding-left: 18px;
    direction: ltr;
    text-align: left
}

#egy_evebody .eveblock {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 1rem;
    position: relative
}

#egy_evebody div.right .eveblock::after {
    content: "";
    display: block;
    position: absolute;
    top: 20px;
    left: -8px;
    width: 16px;
    height: 16px;
    background: unset;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    transform: rotate(45deg)
}

#egy_evebody div.left .eveblock::after {
    content: "";
    display: block;
    position: absolute;
    top: 20px;
    right: -8px;
    width: 16px;
    height: 16px;
    background: unset;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    transform: rotate(-135deg)
}

#egy_evebody div.right .eveblock {
    border-right: #0085ba 4px solid
}

#egy_evebody div.left .eveblock {
    border-left: #dc3545 4px solid
}

.egy_evIcon {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 5px !important;
    width: 36px !important;
    height: 40px !important;
    padding: 4px
}

.egy_evHead {
    display: flex;
    align-items: center
}

.egy_evName {
    color: #1b8e26;
}

.egy_evMinute {
    font-weight: 600;
    color: #027cf7;
    font-family: Tahoma;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #667eea;
    z-index: 10;
}

.egy_txt {
    color: #9a9a9a;
    font-size: 90%
}

.egy_switch_in .eveblock {
    margin-top: -36px;
    border-top: 0;
    padding-top: 0;
    border-top-right-radius: 0;
    padding-right: 22px;
    line-height: 1;
    border-top: 0 !important;
    padding-top: 0 !important
}

.egy_switch_in .eveblock::after {
    display: none !important
}

.egy_switch_in .egy_evIcon {
    display: none !important
}

#egy_evebody div.left img {
    display: inline-block !important;
}

#egy_evebody div.right img {
    display: inline-block !important;
}

.egy_eve_2 {
    background-color: #f8f9fa;
    padding: 20px 30px;
    border-radius: 10px
}

.egy_lineupTeams .f_sq,
.egy_lineupTeams .s_sq {
    flex: 0 0 50%
}

.soccer_field_svg {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    height: 100% !important;
    width: 100% !important
}

.soccer_field {
    display: none
}

.egy_stad_3 {
    flex-wrap: wrap !important
}

.egy_stad_3 .egy_mstaduim {
    min-width: 100%;
    max-width: 100%;
    margin-bottom: 20px
}

#events .egy_evIcon img {
    margin: auto;
    display: block;
    width: 20px;
    height: auto;
}

#events .egy_evIcon img.event-player {
    width: 36px;
}

.EmptyFormate {
    color: #fff;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center
}

#egy_evebody div.right .eveblock {
    background-color: #f0f8ff;
    border-right: 4px solid #0085ba
}

#egy_evebody div.left .eveblock {
    background-color: #fff5f5;
    border-left: 4px solid #dc3545
}

/* تصميم التابات */
.match-tabs {
    background: unset;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background: #f8f9fa;
    background: #e1e2e4;
    border-bottom: 2px solid #e9ecef;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    font-weight: bold;
    font-size: 16px;
    color: #929aa1;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    border-left: 1px solid #ffffff !important;
    height: 50px;
}

.tab-btn:last-child {
    border-left: 0px !important;
}

.tab-btn.active {
    color: #ffffff;
    background: #0d6efd;
}

.tab-btn:hover {
    background: #0d6efd;
    color: #ffffff
}

.tab-content {
    display: none;
    padding: 20px !important;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

div#post_content p {
    font-size: 1.2rem;
    padding-bottom: 15px;
}

.live_now {
    color: orange !important;
    font-weight: bold;
    animation: blink 1s infinite linear;
    /* بدلنا 1s بـ 3s */
}

/* تصميم خلفية الملعب للتشكيلة */
.lineup-container {
    position: relative;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="800" height="400" viewBox="0 0 800 400"><rect width="800" height="400" fill="%233a9d5f" opacity="0.2"/><rect x="50" y="50" width="700" height="300" fill="none" stroke="white" stroke-width="2" stroke-dasharray="10,10"/><circle cx="400" cy="200" r="50" fill="none" stroke="white" stroke-width="2"/><line x1="400" y1="50" x2="400" y2="350" stroke="white" stroke-width="2"/><rect x="50" y="150" width="50" height="100" fill="none" stroke="white" stroke-width="2"/><rect x="700" y="150" width="50" height="100" fill="none" stroke="white" stroke-width="2" transform="rotate(180 700 200)"/></svg>') center/cover no-repeat;
    min-height: 500px;
    padding: 20px;
    border-radius: 10px;
}

.team-lineup {
    margin-bottom: 30px;
}

.team-title {
    text-align: center;
    color: #2d5be3;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.formation-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.formation-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.player-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.player-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.player-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #2d5be3;
}

.player-name,
.Event-Player-Name {
    font-weight: bold;
    margin-bottom: 5px;
    color: #06d225;
}

.egy_player_management {
    margin-bottom: 15px;
    display: flex;
    gap: 3px;
    align-items: center;
    flex-direction: column;
}

.egy_player_management.home {
    justify-content: end;
}

.egy_player_management.away {
    justify-content: start;
}

.egy_player_management img {
    width: 36px;
    height: 36px;
}

.player-name-sub {
    color: #dc3545;
}

.player-position {
    font-size: 0.85em;
    color: #666;
    display: block;
}

/* تصميم الأحداث */
.events-container {
    max-width: 800px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #2d5be3;
    transform: translateX(-50%);
}

.event-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 30px;
    position: relative;
    margin-bottom: 20px;
    width: 50%;
}

.event-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-left: 30px;
    padding-right: 0;
    margin-left: 50%;
}

.event-content {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    position: relative;
}

.event-item:nth-child(even) .event-content {
    background: #f0f7ff;
}

.event-time {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    color: #2d5be3;
    background: white;
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.event-item .event-time {
    right: -70px;
}

.event-item:nth-child(even) .event-time {
    left: -70px;
}

.event-type {
    font-weight: bold;
    color: #2d5be3;
    margin-bottom: 5px;
}

.event-player {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.event-player img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

/* تصميم الإحصائيات */
.stats-container {
    max-width: 900px;
    margin: 0 auto;
}

.stat-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

/*
.team-stat {
    width: 40%;
    text-align: right;
    padding: 5px 10px;
}
*/

.stat-value {
    width: 20%;
    text-align: center;
    font-weight: bold;
    color: #2d5be3;
}

.stat-bar-container {
    width: 40%;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.stat-bar {
    height: 100%;
    background: linear-gradient(90deg, #2d5be3, #1e40af);
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

.team-name-stat {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.team-name-stat img {
    width: 25px;
    margin-left: 10px;
}

.team2-stat .team-name-stat {
    justify-content: flex-start;
    flex-direction: row-reverse;
}

.team2-stat .team-name-stat img {
    margin-left: 0;
    margin-right: 10px;
}

.stats-container {
    width: 100%;
    max-width: 700px;
    margin: auto;
}

.stat-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px 0;
}

.team-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 14px;
}

.team1-stat {
    justify-content: flex-start;
}

.team2-stat {
    justify-content: flex-end;
}

.team-stat img {
    width: 50px;
    height: auto;
    display: block
}

.stat-name {
    flex: 1;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    color: #333;
}

.stat-bar-container {
    display: flex;
    height: 6px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    margin: 4px 0 10px;
}

.stat-bar {
    height: 100%;
}

.team1-bar {
    background: #3498db;
    /* أزرق */
}

.team2-bar {
    background: #e74c3c;
    /* أحمر */
}

/* تصميم عام للكروت */
.card-title-match {
    background: #2d5be3;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    margin: 20px 0;
    text-align: center;
}

.single .online-match {
    display: flex;
    justify-content: center;
    gap: 5px;
    align-items: center;
}

.single .online-match span.m-title {
    font-size: 12px;
    color: orange !important
}

.single .date.stay {
    display: block
}

.single .live-div {
    text-align: center;
}

.single .online-match span.match-stats {
    font-size: 17px;
    border: 1px solid #908585;
    padding: 0 10px;
    margin-top: 15px;
    display: block;
    border-radius: 10px;
    color: #ffffff
}

/*تنسيقات التايمر*/
/* ✅ CSS مُصحح - ضمان الأرقام في وسط الدوائر */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    margin: 15px auto 0;
}

.hide-timerContainer {
    display: none !important;
    opacity: 0;
    visibility: hidden;
}

.countdown-unit {
    position: relative;
    transition: all 0.3s ease;
}

.countdown-label {
    color: #fff;
}

.countdown-unit:hover {
    transform: translateY(-3px);
}

.countdown-unit.hidden {
    display: none;
}

/* ✅ الإصلاح الرئيسي هنا */
.circle-progress {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px
}

.circle-progress svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

/* ضبط القيم على أساس الحجم */
.circle-progress svg circle {
    cx: 50%;
    cy: 50%;
    r: 45%;
    /* نسبة مئوية بدل رقم ثابت */
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 4;
}

.circle-progress-bar {
    fill: none;
    stroke: #00ff88;
    stroke-width: 4;
    stroke-linecap: round;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.4));
}

/* ✅ الرقم الآن في الوسط تماماً */
.countdown-number {
    position: relative;
    font-size: 1.2em;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    z-index: 10;
    line-height: 1;
}

.countdown-unit.active .circle-progress-bar {
    animation: glow 2s infinite;
}

/* تأثير النبض عند التغيير */
.countdown-number.pulse {
    animation: pulse 0.6s ease;
}

/* للشاشات الصغيرة */
@media (max-width: 765px) {
    .countdown-timer {
        gap: 10px;
        padding: 8px;
        margin: auto
    }

    .circle-progress {
        width: 55px;
        height: 55px;
    }

    .countdown-label {
        font-size: 0.76em;
    }

    .countdown-number {
        font-size: 1em;
    }

    .circle-bg,
    .circle-progress-bar {
        stroke-width: 3;
    }
}

@media (min-width: 768px) {
    .egy_stad_2 .egy_staduim .soccer_field_vert {
        display: none;
    }

    .egy_stad_2 .egy_staduim .soccer_field {
        display: block
    }

    .egy_eve_2 #egy_evebody li > span {
        top: 10px
    }

    .egy_eve_2 #egy_evebody div.right {
        padding-left: 40px
    }

    .egy_eve_2 #egy_evebody div.left {
        padding-right: 40px
    }

    .egy_mstaduim {
        display: block;
        overflow: hidden;
        flex: 0 0 60%;
        max-width: 500px;
        padding: 0 20px
    }

    .egy_lineupTeams .f_sq,
    .egy_lineupTeams .s_sq {
        flex: 1;
        max-width: 280px
    }

    .egy_stad_1 .f_sq {
        order: 1;
        margin-right: auto
    }

    .egy_stad_1 .egy_mstaduim {
        order: 2
    }

    .egy_stad_1 .s_sq {
        order: 3;
        margin-left: auto
    }

    .egy_stad_2 .egy_mstaduim {
        padding: 0;
        order: 1;
        flex: 0 0 100%;
        max-width: 100%;
        clear: both;
        margin: auto auto 20px;
        text-align: center
    }

    .egy_stad_2 .f_sq {
        padding-left: 20px;
        order: 2;
        flex: 0 0 50% !important;
        max-width: 360px;
        margin-right: auto
    }

    .egy_stad_2 .s_sq {
        padding-right: 20px;
        order: 3;
        flex: 0 0 50% !important;
        max-width: 360px;
        margin-left: auto
    }

    .egy_stad_2 {
        flex-wrap: wrap
    }

    .egy_stad_2 .egy_staduim {
        min-width: 625px;
        height: 400px;
        max-width: 720px;
        margin-right: auto;
        margin-left: auto;
        width: 100%
    }

    .egy_stad_2 .egy_tmsForms {
        position: absolute;
        height: 100%;
        width: calc(50% + 10px);
        right: 0;
        display: flex;
        min-width: calc(50% + 10px);
        flex-direction: row;
        justify-content: space-between;
        min-height: 100%;
        left: auto;
        bottom: 0;
        top: 0
    }

    .egy_stad_2 .egy_tmsForms.visitant {
        bottom: 0;
        left: 0;
        right: auto
    }

    .egy_stad_2 .egy_tmsForms > .DoneRows {
        min-width: 60px;
        min-height: 100%;
        flex-direction: column
    }

    .egy_stad_2 .egy_tmsForms > .egy_splan {
        right: 25px;
        left: auto;
        bottom: auto !important
    }

    .egy_stad_2 .egy_tmsForms.visitant > .egy_splan.egy_splan {
        top: 25px;
        bottom: auto;
        right: auto;
        left: 25px
    }

    .egy_stad_3 .f_sq {
        padding-left: 20px;
        margin-right: auto
    }

    .egy_stad_3 .s_sq {
        padding-right: 20px;
        margin-left: auto
    }
}

@media (max-width: 769px) {
    .egy_lineupTeams {
        display: block
    }

    .egy_mstaduim {
        margin: 0 0 20px;
        overflow: hidden;
        clear: both
    }

    .egy_staduim {
        height: 620px
    }

    .egy_lineupTeams .f_sq,
    .egy_lineupTeams .s_sq {
        max-width: 360px;
        min-width: 50%;
        width: 50%;
        float: right
    }

    .f_sq {
        padding-left: 15px;
        margin-right: auto
    }

    .s_sq {
        padding-right: 15px;
        margin-left: auto
    }

    .egy_eve_2 {
        padding: 15px 0;
    }

    .egy_eve_2 #egy_evebody li > span {
        display: block;
        position: static;
        margin: 0 auto 10px;
        width: auto;
    }

    .player-name,
    .player-name-sub,
    span.Event-Player-Name,
    .egy_evName {
        font-size: 14px;
    }

    #egy_evebody .eveblock {
        padding: 6px;
    }

    #egy_evebody li > div {
        line-height: 25px;
    }

    span.stat-value-num {
        font-size: 11px;
    }

    .team-stat img {
        width: 36px;
        height: 36px;
    }

    .stat-name {
        font-size: 11px;
    }

    .egy_evMinute {
        font-size: 13px;
    }

    .single .fc_time span#hdaf1,
    .single .fc_time span#hdaf2 {
        font-size: 30px;
    }

    .single .fc_time span.sharta {
        font-size: 40px;
    }

    .single .teams-events {
        padding: 15px 0;
    }

    .egy_title {
        font-size: 12px;
    }
}

/* تصميم متجاوب */
@media (max-width: 765px) {

    .single .Gadwl-Bot {
        text-align: center;
        height: 41px;
        line-height: 42px
    }

    .single .Gadwl-Bot {
        text-align: center;
        height: 41px;
        line-height: 42px
    }

    .single .Fareeq-l span {
        width: auto;
        float: none;
        display: block;
        line-height: 1.5em;
        vertical-align: initial;
        height: auto
    }

    .single p#msmsma {
        font-size: 12px !important
    }

    .single .Fareeq-r span,
    .single .Fareeq-l span {
        display: block
    }

    .single .Fareeq-r img,
    .single .Fareeq-l img {
        width: auto;
        height: 46px;
        margin: 0 auto;
    }

    .single .Fareeq-r,
    .single .Fareeq-l {
        display: block;
        height: auto;
        margin-top: 1px
    }

    .single .Fareeq-l span {
        width: auto;
        float: none;
        display: block;
        line-height: initial;
        vertical-align: initial;
        height: auto
    }

    .single .Fareeq-l span,
    .single .Fareeq-r span {
        font-size: 12px;
    }

    .single .Fareeq-c {
        width: 90px;
        margin: 10px 0
    }

    .single .Fareeq-r,
    .single .Fareeq-l {
        width: calc((100% - 90px) / 2)
    }

    .single .Fareeq-r,
    .single .Fareeq-l {
        width: calc((100% - 150px) / 2)
    }

    .single .Fareeq-l {
        margin-left: -6px
    }

    .single .Fareeq-r {
        margin-right: -6px
    }

    .single .Gadwl-Bot .cols {
        width: calc((100% - 4px) / 2);
        overflow: hidden
    }

    .single .Fareeq-c span {
        font-size: 10px;
    }

    .single .Gadwl-Top {
        margin: 10px 0 0;
    }

    .single .online-match span.match-stats {
        font-size: 10px;
        margin-top: 10px;
    }

    .single .Gadwl-Bot .cols:last-of-type {
        display: none
    }

    .single .Fareeq-c div {
        font-size: 15px
    }

    .single .Fareeq-c {
        width: 80px
    }

    .single .Gadwl-Bot {
        text-align: center;
        height: 32px;
        line-height: 32px
    }

    .single .Gadwl-Bot .cols {
        width: calc((100% - 4px) / 2);
        overflow: hidden
    }

    .single .Gadwl-Bot .cols {
        font-size: 10px
    }

    .single .Fareeq-c {
        width: 75px
    }

    .single .Fareeq-c {
        width: 85px
    }

    .single .r,
    .single .l {
        font-size: 14px;
    }

    .single .match_card .single .Fareeq-r span,
    .single .match_card .single .Fareeq-l span {
        font-size: 13px;
    }

    .single .timer-status {
        margin-top: 0px !important;
    }

    .single span.bouton {
        display: block !important
    }

    .single .post-title {
        font-size: 18px;
    }

    .single .match_card .timer-status span.status {
        font-size: 12px !important;
    }


    .single .bg-card-match {
        padding: 0;
    }

    .match-entry-content p {
        font-size: 13px;
    }

    .match-entry-content h2 {
        font-size: 18px;
    }

    .single-match .container.single {
        padding: 0;
    }

    .match-tabs .tab-buttons {
        display: flex;
        /*        gap: 10px;*/
        /* مسافة بين الأزرار */
        overflow-x: auto;
        /* تفعيل السحب يمين/يسار */
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        /* سلاسة في الموبايل */
        scrollbar-width: none;
        /* إخفاء شريط التمرير في فايرفوكس */
    }

    .match-tabs .tab-buttons::-webkit-scrollbar {
        display: none;
        /* إخفاء شريط التمرير في كروم/سفاري */
    }

    .match-tabs .tab-buttons .tab-btn {
        flex: 0 0 auto;
        /* يمنع الأزرار من التمدد */
        padding: 8px 16px;
        border: none;
        cursor: pointer;
        white-space: nowrap;
    }


    .players-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 30px;
    }

    .event-item {
        width: 100%;
        padding-right: 0;
        padding-left: 60px;
        justify-content: flex-start;
    }

    .event-item:nth-child(even) {
        margin-left: 0;
        padding-left: 60px;
        padding-right: 0;
    }

    .event-item .event-time {
        right: auto;
        left: 10px;
    }

    .event-item:nth-child(even) .event-time {
        left: 10px;
    }

    .egy_player img {
        width: 24px;
        height: 24px;
    }

    .egy_title img {
        width: 30px;
    }
}