/* ==========================================
   COLATV AUTO SCHEDULE CSS
   N11BOLAHD
========================================== */


#colatvSchedule{

    width:100%;

    margin-top:20px;

    font-family:Arial,Helvetica,sans-serif;

    box-sizing:border-box;

}


#colatvSchedule *,
#colatvSchedule *:before,
#colatvSchedule *:after{

    box-sizing:border-box;

}



/* ==========================================
   COLATV DATE + UPDATE
   EXACT MATCH CARD WIDTH
========================================== */

#colatvSchedule .cola-title {
    position: sticky;
    top: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: space-between;

    /* KUNCI UKURAN */
    width: calc(100% - 20px) !important;
    max-width: none !important;

    /* KUNCI POSISI */
    margin-top: 10px !important;
    margin-bottom: 7px !important;
    margin-left: 10px !important;
    margin-right: 10px !important;

    padding: 6px 10px;

    min-height: 0;
    height: auto;

    background:
        linear-gradient(
            90deg,
            #111,
            #171717
        );

    border: 1px solid rgba(255,255,255,.07);

    border-left: 3px solid #f7c82d;

    border-radius: 8px;

    color: #fff;

    box-sizing: border-box !important;

    box-shadow:
        0 5px 18px rgba(0,0,0,.25);
}


/* ==========================================
   TANGGAL
========================================== */

.cola-date-title {
    font-size: 10px;

    font-weight: 700;

    line-height: 1.2;

    color: #fff;

    white-space: nowrap;
}


/* ==========================================
   UPDATE BUTTON
========================================== */

.cola-refresh {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 5px;

    min-width: 72px;

    width: auto;

    height: 28px;

    padding: 0 8px;

    background: rgba(0,0,0,.35);

    color: #f7c82d;

    border: 1px solid #f7c82d;

    border-radius: 6px;

    font-size: 8px;

    font-weight: 900;

    cursor: pointer;

    box-sizing: border-box;

    white-space: nowrap;

    transition:
        background .2s ease,
        color .2s ease,
        transform .15s ease;
}


/* ==========================================
   ICON
========================================== */

.cola-update-icon {
    font-size: 14px;

    line-height: 1;
}


/* ==========================================
   TEXT
========================================== */

.cola-update-text {
    font-size: 8px;

    font-weight: 900;

    line-height: 1;
}


/* ==========================================
   HOVER
========================================== */

.cola-refresh:hover {
    background: #f7c82d;

    color: #000;
}


/* ==========================================
   CLICK
========================================== */

.cola-refresh:active {
    transform: scale(.96);
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

    .cola-title {
        width: 100%;
        max-width: 100%;

        margin: 8px 0 6px;

        padding: 6px 8px;
    }

    .cola-refresh {
        min-width: 68px;

        height: 27px;

        padding: 0 7px;

        font-size: 8px;
    }

    .cola-date-title {
        font-size: 10px;
    }

}

/* ==========================================
   LEAGUE
========================================== */


.cola-league{

    background:#111;

    border-radius:12px;

    overflow:hidden;

    margin-top:12px;

    box-shadow:
    0 3px 10px rgba(0,0,0,.35);

}



.cola-league-name{

    background:#1c1c1c;

    color:#ffffff;

    padding:12px 14px;

    font-size:14px;

    font-weight:bold;

    border-bottom:1px solid #2b2b2b;

}

/* ==========================================
   COMPETITION NAME
========================================== */

.cola-competition{

    color:#ffffff !important;

    font-size:12px;

    font-weight:600;

    text-align:center;

    margin-bottom:8px;

}

/* ==========================================
   MATCH CARD BOX
========================================== */


.cola-match{

    position:relative;

    width:calc(100% - 20px);

    margin:10px auto;

    background:
    linear-gradient(
    rgba(0,0,0,.55),
    rgba(0,0,0,.75)
    ),
    url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghXtRwrve1908c-M5Q_i65k8geNU7ugYaSqMMlP_npZIpiS0KEUlAebFUuoVMVm4AhQqZuJuFZI0R22U6ot8iVTVwLjAv46h6zhw4Cx5MEd3GwHMqNFWPGtxaCQF-9iiBo_2DYwvBTIPvS6vVJ98Vjc7fKUcGknbpe-72zNIpztQNsEd3bZPpml36d3prR/s320/ChatGPT%20Image%20Jun%2018,%202026,%2003_21_52%20PM.webp");

    background-size:cover;

    background-position:center;

    padding:14px;

    border:1px solid #7a7979;

    border-radius:12px;

    cursor:pointer;

    transition:.2s;

    box-shadow:
    0 2px 8px rgba(0,0,0,.35);

}


.cola-match:hover{

    background:
    linear-gradient(
    rgba(0,0,0,.10),
    rgba(0,0,0,.25)
    ),
    url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghXtRwrve1908c-M5Q_i65k8geNU7ugYaSqMMlP_npZIpiS0KEUlAebFUuoVMVm4AhQqZuJuFZI0R22U6ot8iVTVwLjAv46h6zhw4Cx5MEd3GwHMqNFWPGtxaCQF-9iiBo_2DYwvBTIPvS6vVJ98Vjc7fKUcGknbpe-72zNIpztQNsEd3bZPpml36d3prR/s320/ChatGPT%20Image%20Jun%2018,%202026,%2003_21_52%20PM.webp");

    background-size:cover;
    background-position:center;

    border-color:#f7c82d;

}



.cola-match:last-child{

    border-bottom:1px solid #333;

}

/* ==========================================
   STATUS
========================================== */


.cola-status{

    position:absolute;

    top:10px;

    right:10px;

    color:#fff;

    font-size:12px;

    font-weight:bold;

}



.cola-live{

    background:#e50914;

    color:#fff;

    padding:4px 8px;

    border-radius:20px;

    animation:colaPulse 1s infinite;

}



@keyframes colaPulse{

    50%{

        opacity:.55;

    }

}



/* ==========================================
   TEAM
========================================== */


.cola-team{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:12px;

    margin-top:18px;

}



.cola-team-box{

    flex:1;

    display:flex;

    align-items:center;

    gap:8px;

}



.cola-team-box:first-child{

    justify-content:flex-end;

    text-align:right;

}



.cola-team-box:last-child{

    justify-content:flex-start;

    text-align:left;

}



.cola-team img{

    width:32px;

    height:32px;

    border-radius:50%;

    background:#222;

    padding:3px;

    object-fit:contain;

    flex-shrink:0;

}



.cola-team span{

    color:#fff;

    font-size:13px;

    font-weight:600;

    line-height:1.3;

    word-break:break-word;

}


.home-team{
    justify-content:flex-end;
    text-align:right;
}

.away-team{
    justify-content:flex-start;
    text-align:left;
}

.home-team span{
    order:1;
}

.home-team img{
    order:2;
    margin-left:8px;
}

.away-team img{
    margin-right:8px;
}
/* ==========================================
   SCORE
========================================== */


.cola-score{

    width:60px;

    text-align:center;

    font-size:18px;

    font-weight:bold;

    color:#fff;

    flex-shrink:0;

}



/* ==========================================
   TIME
========================================== */


.cola-time{

    margin-top:10px;

    margin-bottom:14px;

    text-align:center;

    color:#b3b1b1;

    font-size:12px;

}


/* ==========================================
   WATCH BUTTON
========================================== */


.cola-watch{

    display:block;

    width:auto;

    margin:0 auto;

    background:#117300;

    color:#fff; 

    border:1px solid #fff;

    border-radius:8px;

    padding:4px 10px;

    font-size:12px;

    font-weight:600;

    cursor:pointer;

    transition:.2s;

}



.cola-watch:hover{

    background:#ff0303;

    color:#fff;

}



/* ==========================================
   SERVER LIST
========================================== */


.cola-server-list{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:8px;

    margin-top:10px;

}



.cola-server-btn{

    width:auto;

    background:#111;

    color:#f7c82d;

    border:1px solid #f7c82d;

    border-radius:6px;

    padding:4px 7px;

    font-size:12px;

    font-weight:600;

    cursor:pointer;

    transition:.2s;

}



.cola-server-btn:hover{

    background-image: linear-gradient(to right top, #ff0303, #000, #000);

    color:#fff;

}

/* ==========================================
   LOADING ERROR EMPTY
========================================== */


.cola-loading,
.cola-error,
.cola-empty{

    background:#151515;

    color:#aaa;

    padding:20px;

    text-align:center;

    border-radius:10px;

}



/* ==========================================
   MOBILE
========================================== */


@media(max-width:768px){


    .cola-team{

        gap:6px;

    }


    .cola-team img{

        width:28px;

        height:28px;

    }


    .cola-team span{

        font-size:11px;

    }


    .cola-score{

        width:48px;

        font-size:16px;

    }


    .cola-watch{

        padding:8px 18px;

    }


    .cola-server-btn{

        padding:8px 12px;

    }

}

/* ==========================================
   FORCE TITLE ALIGNMENT WITH MATCH
========================================== */

#colatvSchedule .cola-match {
    width: calc(100% - 20px) !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
}

#colatvSchedule .cola-title {
    width: calc(100% - 20px) !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
}
