@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body{
    font-family:'Poppins',sans-serif;
    background: linear-gradient(135deg,#0f172a,#111827,#0b1220);
    color:#fff;
    padding-bottom:90px;
}

@media(min-width:768px){
    body{ padding-bottom:20px; }
}



.btn-warning,.btn-danger{
    border-radius:12px;
}
.table{
    border-radius:16px;
    overflow:hidden;
}

.table-dark{
    background:rgba(255,255,255,0.05);
}

.table-dark th{
    background:rgba(255,255,255,0.08);
}

.match-list{
    display:flex;
    flex-direction:column;
    gap:14px;
    margin-top:15px;
}

.match-card{
    background:rgba(255,255,255,0.06);
    backdrop-filter:blur(14px);
    border-radius:16px;
    padding:14px 16px;
    border:1px solid rgba(255,255,255,0.08);
}

.match-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:13px;
    margin-bottom:6px;
}

.match-row-1{
    font-weight:600;
    font-size:14px;
}

.match-row-2{
    color:#cbd5e1;
}

.match-row-3{
    font-size:12px;
    opacity:.9;
}
.status-pill{
    padding:4px 10px;
    border-radius:999px;
    font-size:11px;
    font-weight:600;
}

.status-pill.scheduled{ background:#f59e0b; }
.status-pill.in_progress{ background:#22c55e; }
.status-pill.completed{ background:#3b82f6; }
.match-actions{
    display:flex;
    gap:10px;
    margin-top:10px;
}

.match-actions .btn{
    flex:1;
    font-size:13px;
}
.brand-footer{
    position:fixed;
    bottom:18px;
    left:50%;
    transform:translateX(-50%);
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(12px);
    padding:8px 18px;
    border-radius:14px;
    font-size:13px;
    color:#bfc9d4;
    z-index:9999;
}

@media(max-width:768px){
    .brand-footer{ bottom:80px; }
}
/* ===============================
   MOBILE STACKED TABLE (SAFE)
================================ */

@media (max-width: 768px){

table thead{
    display:none;
}

table,
table tbody,
table tr,
table td{
    display:block;
    width:100%;
}

table tr{
    background: rgba(255,255,255,0.06);
    border-radius:14px;
    padding:12px;
    margin-bottom:12px;
    border:1px solid rgba(255,255,255,0.08);
}

table td{
    display:flex;
    justify-content:space-between;
    padding:6px 0;
    border:none;
    font-size:13px;
}

table td::before{
    content: attr(data-label);
    font-weight:600;
    color:#94a3b8;
}

table td:last-child{
    margin-top:8px;
}

table td:last-child .btn{
    width:100%;
    margin-bottom:6px;
}
}
.desktop-only { display:block; }
.mobile-only { display:none; }

@media (max-width:768px){
    .desktop-only { display:none !important; }
    .mobile-only { display:block !important; }
}

/* ===============================
   PREMIUM GLASS THEME SYSTEM
================================ */

/* ===== FONTS ===== */


body{
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg,#0f172a,#111827,#0b1220);
    color:#fff;
}


/* ===============================
   GLASS CARD
================================ */

.glass-card{
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    padding: 20px;
    transition: .3s;
}

.glass-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}


/* ===============================
   BUTTONS
================================ */

.btn-premium{
    background: linear-gradient(135deg,#22c55e,#16a34a);
    border:none;
    color:white;
    border-radius: 12px;
    padding:8px 18px;
    font-weight:600;
    transition:.25s;
}

.btn-premium:hover{
    transform: scale(1.05);
    box-shadow:0 6px 18px rgba(34,197,94,.5);
}

.btn-danger{
    border-radius:12px;
}

.btn-warning{
    border-radius:12px;
}


/* ===============================
   TABLE PREMIUM
================================ */

.table{
    border-radius:18px;
    overflow:hidden;
}

.table-dark{
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(15px);
}

.table-dark th{
    background: rgba(255,255,255,0.07);
}


/* ===============================
   BADGES
================================ */

.badge{
    border-radius:10px;
    padding:6px 10px;
    font-weight:600;
}


/* ===============================
   MODAL GLASS
================================ */

.modal-content{
    background: rgba(20,20,30,0.85);
    backdrop-filter: blur(20px);
    border-radius: 18px;
}


/* ===============================
   SMOOTH ANIMATION
================================ */

.fade-slide{
    animation: fadeSlide .35s ease;
}

@keyframes fadeSlide{
    from{opacity:0; transform: translateY(15px);}
    to{opacity:1; transform: translateY(0);}
}


/* ===============================
   MOBILE POLISH
================================ */

@media(max-width:768px){

    .glass-card{
        padding:15px;
    }

    .table{
        font-size:14px;
    }

    .btn{
        padding:6px 10px;
    }
}
/* ==============================
   APP CORE LAYOUT
============================== */

.app-body{
    font-family:'Poppins',sans-serif;
    background: linear-gradient(135deg,#0f172a,#1e293b);
    color:#fff;
}

.app-layout{
    display:flex;
    min-height:100vh;
}


/* ===== SIDEBAR ===== */

.app-sidebar{
    width:250px;
    background:rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border-right:1px solid rgba(255,255,255,0.08);
    padding:20px;
    display:flex;
    flex-direction:column;
    transition:.3s;
}

.logo{
    font-size:22px;
    font-weight:600;
}

.menu-list{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.menu-list a{
    color:#cbd5e1;
    padding:10px 12px;
    border-radius:10px;
    text-decoration:none;
    transition:.2s;
}

.menu-list a:hover{
    background:rgba(255,255,255,0.1);
    color:#fff;
}

.logout-btn{
    background:#ef4444;
    color:white;
    padding:10px;
    border-radius:10px;
    text-align:center;
}


/* ===== MAIN ===== */

.app-main{
    flex:1;
    padding:30px;
}


/* ===== TOP BAR ===== */

.topbar{
    background:rgba(255,255,255,0.05);
    padding:12px 20px;
    border-radius:14px;
    backdrop-filter: blur(15px);
}

.welcome-text span{
    color:#00e676;
}

.hamburger{
    background:none;
    border:none;
    color:#fff;
    font-size:22px;
}


/* ===== MOBILE ===== */

@media(max-width:768px){

    .app-sidebar{
        position:fixed;
        left:-260px;
        top:0;
        height:100%;
        z-index:999;
    }

    .app-sidebar.show{
        left:0;
    }

    .app-main{
        padding:15px;
    }
}
/* ===============================
   GLOBAL
=============================== */

body.app-body{
    font-family:'Poppins',sans-serif;
    background: linear-gradient(135deg,#0f172a,#1e293b);
    color:#fff;
}

.app-layout{
    display:flex;
    min-height:100vh;
}


/* ===============================
   SIDEBAR GLASS
=============================== */

.sidebar-glass{
    width:250px;
    padding:20px;

    background:rgba(255,255,255,0.06);
    backdrop-filter:blur(20px);

    border-right:1px solid rgba(255,255,255,0.08);

    display:flex;
    flex-direction:column;
}

.logo{
    font-size:22px;
    font-weight:600;
    margin-bottom:25px;
}

.menu-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.menu-list a{
    padding:10px 14px;
    border-radius:12px;
    color:#cbd5e1;
    text-decoration:none;
    transition:.2s;
}

.menu-list a:hover{
    background:rgba(255,255,255,0.12);
    color:#fff;
}

.logout-btn{
    margin-top:auto;
    background:#ef4444;
    padding:10px;
    border-radius:10px;
    text-align:center;
    color:white;
    text-decoration:none;
}


/* ===============================
   MAIN AREA
=============================== */

.main-area{
    flex:1;
    padding:25px;
}

.topbar-glass{
    background:rgba(255,255,255,0.06);
    backdrop-filter:blur(12px);
    padding:12px 20px;
    border-radius:14px;
    margin-bottom:20px;
}

.topbar-glass span{
    color:#00e676;
}


/* ===============================
   BOTTOM NAV (MOBILE)
=============================== */

.bottom-nav{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    height:65px;

    background:rgba(20,20,20,0.95);
    backdrop-filter:blur(12px);

    display:flex;
    justify-content:space-around;
    align-items:center;

    border-top:1px solid rgba(255,255,255,0.08);

    z-index:999;
}

.bottom-nav a{
    color:#cbd5e1;
    text-align:center;
    font-size:13px;
    text-decoration:none;
}

.bottom-nav a span{
    display:block;
    font-size:11px;
}


/* ===============================
   MOBILE SIDEBAR
=============================== */

@media(max-width:768px){

    .sidebar-glass{
        position:fixed;
        left:-260px;
        top:0;
        height:100%;
        z-index:1000;
        transition:.3s;
    }

    .sidebar-glass.show{
        left:0;
    }

    .main-area{
        padding-bottom:80px;
    }
}

/* LEFT */
.match-date{
    font-weight:600;
    font-size:15px;
}

.match-time{
    font-size:13px;
    color:#94a3b8;
}


/* CENTER */
.ground{
    font-size:16px;
    font-weight:500;
}

.players{
    font-size:13px;
    color:#94a3b8;
}


/* BADGES */
.badge-soft{
    padding:6px 12px;
    border-radius:20px;
    font-size:12px;
}

.blue{
    background:#1e40af;
}

.orange{
    background:#ea580c;
}

.green{
    background:#16a34a;
}


/* ===============================
   MOBILE STACK
=============================== */


.match-right{
    align-self:flex-end;
}


/* =========================
   PREMIUM DASHBOARD UI
========================= */

.stat-card{
    padding:22px;
    text-align:center;
    border-radius:18px;
    backdrop-filter:blur(14px);
    background:rgba(255,255,255,0.06);
    transition:.3s;
}

.stat-card:hover{
    transform:translateY(-4px);
}

.stat-value{
    font-size:22px;
    font-weight:700;
}

.stat-label{
    opacity:.7;
    font-size:13px;
}


/* ================= MATCH CARDS ================= */






.match-date{
    font-weight:600;
}

.match-ground{
    font-size:15px;
}

.match-time{
    font-size:12px;
    opacity:.6;
}




/* ================= AUTH UI ================= */

.auth-bg{
    min-height:100vh;

    background:
    radial-gradient(circle at 20% 20%, #00c85322, transparent 40%),
    radial-gradient(circle at 80% 70%, #00e67622, transparent 40%),
    linear-gradient(135deg,#0f172a,#111827);

    display:flex;
    align-items:center;
    justify-content:center;

    font-family:'Poppins',sans-serif;
}

.auth-wrapper{
    width:100%;
    max-width:420px;
    padding:20px;
}

.auth-card{
    padding:35px;
    border-radius:22px;
    backdrop-filter:blur(20px);
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.1);
    box-shadow:0 0 40px rgba(0,0,0,0.4);
}

.auth-logo{
    width:80px;
    height:auto;
}

.auth-input{
    background:rgba(255,255,255,0.08);
    border:none;
    color:white;
}

.auth-input:focus{
    background:rgba(255,255,255,0.12);
    box-shadow:0 0 0 2px #00c853;
    color:white;
}

.auth-btn{
    padding:12px;
    border-radius:12px;
    font-weight:600;
    transition:.25s;
}

.auth-btn:hover{
    transform:translateY(-2px);
}
/* ================= SELECT FIX (DARK THEME) ================= */

.auth-input,
select.auth-input{
    background: rgba(255,255,255,0.08) !important;
    color: #fff !important;
}

/* dropdown list */
select.auth-input option{
    background: #0f172a !important;
    color: #ffffff !important;
}

/* focus */
select.auth-input:focus{
    background: rgba(255,255,255,0.12) !important;
    color:#fff !important;
}
select.auth-input{
    border-radius:12px;
    padding:12px;
    cursor:pointer;
}
/* ==============================
   PLACEHOLDER TEXT COLOR FIX
   ============================== */

.auth-input::placeholder{
    color: rgba(255,255,255,0.75) !important; /* soft white */
    opacity: 1;
}

/* all browsers support */
.auth-input::-webkit-input-placeholder{ color: rgba(255,255,255,0.75); }
.auth-input:-ms-input-placeholder{ color: rgba(255,255,255,0.75); }
.auth-input::-ms-input-placeholder{ color: rgba(255,255,255,0.75); }

/* focus brighter */
.auth-input:focus::placeholder{
    color: rgba(255,255,255,0.45);
}
/* =================================
   SIDEBAR SCROLL + LOGOUT FIX
   ================================= */

.app-sidebar{
    height: 100vh;
    overflow-y: auto;
    padding-bottom: 110px; /* space for bottom nav */
}

/* smooth scroll look */
.app-sidebar::-webkit-scrollbar{
    width: 6px;
}

.app-sidebar::-webkit-scrollbar-thumb{
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}
/* =================================
   SIDEBAR OVERLAY (tap outside close)
   ================================= */

.sidebar-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    z-index: 998;

    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
}

.sidebar-overlay.show{
    opacity: 1;
    pointer-events: auto;
}
@media(max-width:768px){
    .app-sidebar{
        transform: translateX(-100%);
        transition: 0.3s ease;
    }
    .app-sidebar.show{
        transform: translateX(0);
    }
}
/* =====================================
   DASHBOARD BRANDING (Premium look)
===================================== */

/* =====================================
   PREMIUM DASHBOARD BRANDING
===================================== */

/* =====================================
 /* ===============================
   TECHDOTBIT FIXED BRANDING
================================ */

.techdotbit-brand{
    position: fixed;
    left: 18px;
    bottom: 18px;

    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    padding: 8px 16px;
    border-radius: 14px;

    font-size: 13px;
    font-weight: 500;
    color: #cbd5e1;

    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);

    z-index: 9999;
}

.techdotbit-brand a{
    color: #00e5ff;
    font-weight: 600;
    text-decoration: none;
}

.techdotbit-brand a:hover{
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0,229,255,.7);
}

/* ===============================
   MOBILE SAFE POSITION
================================ */

@media (max-width: 768px){
    .techdotbit-brand{
        bottom: 85px; /* above bottom nav */
        right: 12px;
        font-size: 12px;
        padding: 7px 14px;
    }
}


/* =====================================
   FIX: bottom nav overlap
===================================== */

/* space for fixed mobile navbar */
body{
    padding-bottom: 90px;
}

/* desktop no extra space */
@media (min-width: 768px){
    body{
        padding-bottom: 20px;
    }
}
/* =====================================
   FIX: bottom nav overlap
===================================== */

/* space for fixed mobile navbar */
body{
    padding-bottom: 90px;
}

/* desktop no extra space */
@media (min-width: 768px){
    body{
        padding-bottom: 20px;
    }
}

