/* K3 ADMIN PANEL */
.k3-admin-panel-box{
    max-width:1100px;
    margin:0px auto 70px auto;
    padding:34px;
    background:rgba(0,0,0,.92);
    border:1px solid #00ff33;
    border-radius:18px;
    box-shadow:
        0 0 18px rgba(0,255,60,.45),
        inset 0 0 22px rgba(0,255,60,.08);
    color:#fff;
}

.k3-admin-header{
    text-align:center;
    margin-bottom:26px;
}

.k3-admin-header h1{
    margin:0;
    color:#fff;
    font-size:42px;
    letter-spacing:2px;
    text-shadow:
        0 0 8px #00ff33,
        0 0 18px rgba(0,255,60,.8);
}

.k3-admin-subtitle{
    margin-top:8px;
    color:#b000ff;
    font-size:15px;
    letter-spacing:2px;
    text-shadow:
        0 0 8px #b000ff,
        0 0 16px #7a00ff;
}

.k3-admin-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    justify-content:center;
    margin:22px 0 30px 0;
}

.k3-admin-tabs span{
    padding:10px 16px;
    border:1px solid rgba(0,255,60,.55);
    border-radius:10px;
    color:#fff;
    background:rgba(0,255,60,.05);
    text-transform:uppercase;
    font-size:13px;
    letter-spacing:1px;
}

.k3-admin-tabs span.active{
    color:#00ff33;
    box-shadow:0 0 14px rgba(0,255,60,.45);
}

.k3-admin-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:18px;
}

.k3-admin-card{
    min-height:120px;
    padding:22px 18px;
    border:1px solid #00ff33;
    border-radius:14px;
    background:linear-gradient(180deg, rgba(0,255,60,.08), rgba(0,0,0,.55));
    box-shadow:
        0 0 16px rgba(0,255,60,.35),
        inset 0 0 18px rgba(0,255,60,.06);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.k3-admin-card span{
    color:#00ff33;
    font-size:14px;
    font-weight:900;
    letter-spacing:1px;
    text-transform:uppercase;
    text-shadow:0 0 8px rgba(0,255,60,.75);
}

.k3-admin-card strong{
    margin-top:12px;
    color:#fff;
    font-size:30px;
    font-weight:900;
    text-shadow:
        0 0 8px rgba(255,255,255,.45),
        0 0 18px rgba(0,255,60,.35);
}

.k3-green{
    color:#00ff33 !important;
}

.k3-red{
    color:#ff3030 !important;
}

.k3-admin-section{
    margin-top:30px;
    padding:24px;
    border:1px solid rgba(176,0,255,.7);
    border-radius:14px;
    background:rgba(176,0,255,.06);
    box-shadow:0 0 18px rgba(176,0,255,.25);
}

.k3-admin-section h2{
    margin:0 0 18px 0;
    text-align:center;
    color:#b000ff;
    font-size:26px;
    text-shadow:
        0 0 8px #b000ff,
        0 0 18px #7a00ff;
}

.k3-admin-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    justify-content:center;
}

.k3-admin-actions button{
    padding:12px 18px;
    border:1px solid #b000ff;
    border-radius:10px;
    background:rgba(0,0,0,.8);
    color:#b000ff;
    font-weight:900;
    letter-spacing:1px;
    text-transform:uppercase;
    text-shadow:0 0 8px #b000ff;
    box-shadow:0 0 12px rgba(176,0,255,.3);
    opacity:.65;
}

.k3-admin-note{
    text-align:center;
    color:#aaa;
    margin:16px 0 0 0;
    font-size:13px;
}

@media(max-width:900px){
    .k3-admin-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media(max-width:600px){
    .k3-admin-panel-box{
        margin:20px 12px 50px 12px;
        padding:22px;
    }

    .k3-admin-grid{
        grid-template-columns:1fr;
    }

    .k3-admin-header h1{
        font-size:32px;
    }
}




.k3-admin-players-section{
    margin-top:28px;
}

.k3-admin-table-wrap{
    width:100%;
    overflow-x:auto;
    border:1px solid rgba(0,255,60,.45);
    border-radius:14px;
    box-shadow:0 0 16px rgba(0,255,60,.18);
}

.k3-admin-table{
    width:100%;
    border-collapse:collapse;
    min-width:900px;
    background:rgba(0,0,0,.55);
}

.k3-admin-table th{
    padding:14px 12px;
    color:#00ff33;
    font-size:13px;
    letter-spacing:1px;
    text-align:left;
    border-bottom:1px solid rgba(0,255,60,.45);
    text-shadow:0 0 8px rgba(0,255,60,.75);
}

.k3-admin-table td{
    padding:13px 12px;
    color:#fff;
    font-size:14px;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.k3-admin-table tbody tr:hover{
    background:rgba(0,255,60,.07);
}

.k3-admin-small-btn{
    text-decoration:none !important;
    padding:7px 12px;
    border:1px solid #b000ff;
    border-radius:8px;
    background:rgba(176,0,255,.08);
    color:#b000ff;
    font-size:14px;
    font-weight:900;
    letter-spacing:1px;
    text-transform:uppercase;
    text-shadow:0 0 8px #b000ff;
    opacity:.65;
}

.k3-admin-empty{
    text-align:center !important;
    color:#aaa !important;
}



/* K3 ADMIN DASHBOARD 3x5 */
.k3-admin-grid-5{
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
}

.k3-admin-grid-5 .k3-admin-card{
    min-height:115px;
}

.k3-admin-grid-5 .k3-admin-card span{
    font-size:18px !important;
}

.k3-admin-grid-5 .k3-admin-card strong{
    font-size:24px;
}

@media(max-width:1200px){
    .k3-admin-grid-5{
        grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    }
}

@media(max-width:700px){
    .k3-admin-grid-5{
        grid-template-columns:1fr !important;
    }
}



/* K3 ADMIN PLAYERS MODULE */
.k3-admin-tabs a{
    display:inline-block;
    padding:10px 16px;
    border:1px solid rgba(0,255,60,.55);
    border-radius:10px;
    color:#fff !important;
    background:rgba(0,255,60,.05);
    text-transform:uppercase;
    font-size:14px;
    letter-spacing:1px;
    text-decoration:none !important;
    margin:5px;
    transition:all .22s ease !important;
}

.k3-admin-tabs a:hover{
    color:#00ff33 !important;
    border-color:#00ff55 !important;
    background:rgba(0,255,60,.12) !important;
    box-shadow:0 0 12px rgba(0,255,80,.45), 0 0 24px rgba(0,255,80,.25) !important;
    transform:translateY(-2px) !important;
    text-decoration:none !important;
}
.k3-admin-tabs a.active{
    color:#00ff33 !important;
    box-shadow:0 0 14px rgba(0,255,60,.45);
}

.k3-admin-module-header{
    text-align:center;
    margin:18px 0 22px 0;
}

.k3-admin-module-header h2{
    margin:0;
    color:#00ff33;
    font-size:34px;
    text-shadow:0 0 10px #00ff33, 0 0 22px rgba(0,255,60,.6);
}

.k3-admin-module-header p{
    color:#aaa;
    margin-top:8px;
}

.k3-admin-search{
    display:flex;
    justify-content:center;
    gap:12px;
    margin:0 0 22px 0;
    flex-wrap:wrap;
}

.k3-admin-search input{
    width:min(420px, 100%);
    padding:13px 15px;
    border:1px solid #00ff33;
    border-radius:10px;
    background:rgba(0,0,0,.8);
    color:#fff;
    outline:none;
    box-shadow:0 0 12px rgba(0,255,60,.25);
}

.k3-admin-search button,
.k3-admin-search a{
    padding:13px 18px;
    border:1px solid #b000ff;
    border-radius:10px;
    background:rgba(176,0,255,.08);
    color:#b000ff !important;
    text-decoration:none !important;
    font-weight:900;
    text-shadow:0 0 8px #b000ff;
}

.k3-admin-table-wrap{
    width:100%;
    overflow-x:auto;
    border:1px solid rgba(0,255,60,.45);
    border-radius:14px;
    box-shadow:0 0 16px rgba(0,255,60,.18);
}

.k3-admin-table{
    width:100%;
    border-collapse:collapse;
    min-width:1100px;
    background:rgba(0,0,0,.55);
}

.k3-admin-table th{
    padding:14px 12px;
    color:#00ff33;
    font-size:13px;
    letter-spacing:1px;
    text-align:left;
    border-bottom:1px solid rgba(0,255,60,.45);
    text-shadow:0 0 8px rgba(0,255,60,.75);
}

.k3-admin-table td{
    padding:13px 12px;
    color:#fff;
    font-size:14px;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.k3-admin-table tbody tr:hover{
    background:rgba(0,255,60,.07);
}

.k3-admin-small-btn{
    text-decoration:none !important;
    padding:7px 12px;
    border:1px solid #b000ff;
    border-radius:8px;
    background:rgba(176,0,255,.08);
    color:#b000ff;
    font-size:12px;
    font-weight:900;
    letter-spacing:1px;
    text-transform:uppercase;
    text-shadow:0 0 8px #b000ff;
    opacity:.65;
}

.k3-admin-empty{
    text-align:center !important;
    color:#aaa !important;
}



/* K3 PLAYERS TABLE FIX */
.k3-admin-search{
    align-items:center !important;
}

.k3-admin-search input{
    height:44px !important;
    padding:0 15px !important;
}

.k3-admin-search button,
.k3-admin-search a{
    height:44px !important;
    min-height:44px !important;
    line-height:1 !important;
    padding:0 18px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    box-sizing:border-box !important;
}

.k3-admin-table-wrap{
    overflow-x:hidden !important;
}

.k3-admin-table{
    min-width:0 !important;
    table-layout:fixed !important;
}

.k3-admin-table th,
.k3-admin-table td{
    font-size:13px !important;
    padding:12px 10px !important;
    white-space:normal !important;
    word-break:break-word !important;
}

.k3-admin-table th:nth-child(1),
.k3-admin-table td:nth-child(1){
    width:110px !important;
}

.k3-admin-table th:nth-child(2),
.k3-admin-table td:nth-child(2){
    width:200px !important;
}

.k3-admin-table th:nth-child(3),
.k3-admin-table td:nth-child(3){
    width:150px !important;
}

.k3-admin-table th:nth-child(4),
.k3-admin-table td:nth-child(4){
    width:80px !important;
}

.k3-admin-table th:nth-child(5),
.k3-admin-table td:nth-child(5){
    width:150px !important;
}

.k3-admin-table th:nth-child(6),
.k3-admin-table td:nth-child(6){
    width:170px !important;
}

.k3-admin-table th:nth-child(7),
.k3-admin-table td:nth-child(7){
    width:115px !important;
}

.k3-admin-small-btn{
    text-decoration:none !important;
    padding:7px 10px !important;
    font-size:11px !important;
}



/* K3 PLAYERS TABLE BUTTON + HEADERS FIX */
.k3-admin-table th,
.k3-admin-table td{
    vertical-align:middle !important;
}

.k3-admin-table th:nth-child(7),
.k3-admin-table td:nth-child(7){
    text-align:center !important;
}

.k3-admin-small-btn{
    text-decoration:none !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    height:32px !important;
    min-width:82px !important;
    padding:0 12px !important;
    border:1px solid #b000ff !important;
    border-radius:8px !important;
    background:rgba(176,0,255,.10) !important;
    color:#b000ff !important;
    font-size:11px !important;
    font-weight:900 !important;
    letter-spacing:.5px !important;
    text-transform:uppercase !important;
    text-shadow:0 0 8px #b000ff !important;
    box-shadow:0 0 10px rgba(176,0,255,.20) !important;
    opacity:1 !important;
    cursor:pointer !important;
    transition:all .18s ease !important;
}

.k3-admin-small-btn:hover{
    text-decoration:none !important;
    color:#ffffff !important;
    background:rgba(176,0,255,.35) !important;
    box-shadow:
        0 0 8px rgba(176,0,255,.8),
        0 0 18px rgba(176,0,255,.45) !important;
    transform:translateY(-1px) !important;
}



/* K3 PLAYERS TABLE FINAL CLEAN */
.k3-admin-table{
    width:100% !important;
    table-layout:auto !important;
    border-collapse:separate !important;
    border-spacing:0 !important;
}

.k3-admin-table th,
.k3-admin-table td{
    border-right:1px solid rgba(0,255,60,.35) !important;
    border-bottom:1px solid rgba(0,255,60,.18) !important;
}

.k3-admin-table th:last-child,
.k3-admin-table td:last-child{
    border-right:none !important;
}

.k3-admin-table th{
    border-bottom:1px solid rgba(0,255,60,.55) !important;
}

.k3-admin-table th:nth-child(1),
.k3-admin-table td:nth-child(1),
.k3-admin-table th:nth-child(4),
.k3-admin-table td:nth-child(4),
.k3-admin-table th:nth-child(5),
.k3-admin-table td:nth-child(5),
.k3-admin-table th:nth-child(6),
.k3-admin-table td:nth-child(6),
.k3-admin-table th:nth-child(7),
.k3-admin-table td:nth-child(7){
    text-align:center !important;
}

.k3-admin-table th:nth-child(2),
.k3-admin-table td:nth-child(2),
.k3-admin-table th:nth-child(3),
.k3-admin-table td:nth-child(3){
    text-align:left !important;
}

.k3-admin-table th:nth-child(1){width:110px !important;}
.k3-admin-table th:nth-child(2){width:220px !important;}
.k3-admin-table th:nth-child(3){width:180px !important;}
.k3-admin-table th:nth-child(4){width:80px !important;}
.k3-admin-table th:nth-child(5){width:150px !important;}
.k3-admin-table th:nth-child(6){width:170px !important;}
.k3-admin-table th:nth-child(7){width:115px !important;}

.k3-admin-table-wrap{
    overflow-x:hidden !important;
}



/* FIX WHITE TOP/LEFT BORDER */
.k3-admin-table-wrap{
    border:1px solid rgba(0,255,60,.55) !important;
    border-radius:18px !important;
    overflow:hidden !important;
    box-shadow:0 0 18px rgba(0,255,60,.25) !important;
    background:#050505 !important;
}

.k3-admin-table{
    border:none !important;
}

.k3-admin-table thead tr th:first-child{
    border-left:none !important;
}

.k3-admin-table thead tr:first-child th{
    border-top:none !important;
}

.k3-admin-table tbody tr:last-child td{
    border-bottom:none !important;
}



/* SEARCH / RESET = MANAGE STYLE */
.k3-admin-search button,
.k3-admin-search a{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    height:32px !important;
    min-width:82px !important;
    padding:0 12px !important;

    border:1px solid #b000ff !important;
    border-radius:8px !important;

    background:rgba(176,0,255,.10) !important;
    color:#b000ff !important;

    font-size:11px !important;
    font-weight:900 !important;
    letter-spacing:.5px !important;
    text-transform:uppercase !important;
    text-decoration:none !important;

    text-shadow:0 0 8px #b000ff !important;
    box-shadow:0 0 10px rgba(176,0,255,.20) !important;

    transition:all .18s ease !important;
}

.k3-admin-search button:hover,
.k3-admin-search a:hover{
    color:#fff !important;
    background:rgba(176,0,255,.35) !important;

    box-shadow:
        0 0 8px rgba(176,0,255,.8),
        0 0 18px rgba(176,0,255,.45) !important;

    transform:translateY(-1px) !important;
}
