﻿:root{--bg:#0d1117;--bg2:#161b22;--bg3:#21262d;--border:#30363d;--accent:#e53935;--text:#f0f0f0;--muted:#c0c8d4;--green:#3fb950;--yellow:#d29332;--blue:#79c0ff}
*{margin:0;padding:0;box-sizing:border-box}

.main{margin-left:220px!important;padding:24px!important;flex:1!important;min-width:0!important;width:calc(100% - 220px)!important;box-sizing:border-box!important;position:relative!important;z-index:10!important;}




html{height:100%;background:#000;}

body{min-height:100vh;background:transparent;color:var(--text);font-family:"Segoe UI",sans-serif;width:100%}
.admin-body{display:flex}

.card,.stat-mini,.section{background:rgba(0,0,0,0.6) !important;backdrop-filter:blur(8px) !important;-webkit-backdrop-filter:blur(8px) !important;border:1px solid rgba(255,255,255,0.1) !important;border-radius:12px !important}
.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin-bottom:24px;width:100%}
.table-wrapper{background:rgba(0,0,0,0.6);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,0.1);border-radius:12px;width:100%;overflow-x:auto}
table{width:100%;border-collapse:collapse}
th{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:1px;border-bottom:1px solid rgba(255,255,255,0.1);padding:10px 14px;white-space:nowrap}
td{border-bottom:1px solid rgba(255,255,255,0.05);font-size:13px;padding:10px 14px;vertical-align:middle}
tr:hover td{background:rgba(255,255,255,0.03) !important}
.btn{border:none;padding:6px 14px;border-radius:8px;font-weight:600;font-size:13px;cursor:pointer;transition:.2s}
.btn:hover{opacity:.85}
.btn-green{background:linear-gradient(135deg,#3fb950,#2ea043);color:#fff}
.btn-red,.btn-ban{background:linear-gradient(135deg,#e53935,#c62828);color:#fff}
.btn-blue{background:linear-gradient(135deg,#3498db,#2980b9);color:#fff}
.btn-orange{background:linear-gradient(135deg,#f39c12,#e67e22);color:#fff}
.btn-purple{background:linear-gradient(135deg,#9b59b6,#8e44ad);color:#fff}
.btn-sm{padding:4px 10px;font-size:12px}
input,select,textarea{background:rgba(0,0,0,0.4) !important;border:1px solid rgba(255,255,255,0.1) !important;color:var(--text) !important;border-radius:8px;padding:8px 12px;font-size:13px;width:100%}
input:focus,select:focus{outline:none;border-color:var(--accent) !important}
.badge-online{background:#3fb95022;color:#3fb950;border:1px solid #3fb95044;font-size:10px;padding:2px 8px;border-radius:4px}
.badge-offline{background:#ffffff11;color:var(--muted);border:1px solid #ffffff22;font-size:10px;padding:2px 8px;border-radius:4px}
.page-title{font-size:22px;font-weight:700;margin-bottom:24px}
@media(max-width:768px){.sidebar{display:none}}
@media(min-width:1920px){}
/* === PATCH RESPONSIVE ADMIN 20/06/2026 === */

.main>*,.container,.container-fluid{width:100%;max-width:100%;box-sizing:border-box}
.card,.section,.players-card,.info-table,.logbox,.rcon-result{width:100%;box-sizing:border-box}
.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px;width:100%;margin-bottom:24px}
.table-wrapper{width:100%;overflow-x:auto;box-sizing:border-box}
table{width:100%;table-layout:auto}
.row{margin-left:0;margin-right:0;width:100%}
[class*="col-"]{padding-left:8px;padding-right:8px;box-sizing:border-box}
input,select,textarea{width:100%;box-sizing:border-box}
@media(min-width:2560px){.stats-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}.page-title{font-size:28px}td,th{font-size:14px;padding:12px 18px}}
@media(max-width:1199px) and (min-width:769px){.stats-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}}
@media(max-width:768px){.sidebar{display:none}.stats-grid{grid-template-columns:repeat(2,1fr);gap:10px}.page-title{font-size:18px;margin-bottom:16px}td,th{font-size:12px;padding:8px 10px}}
@media(max-width:480px){.stats-grid{grid-template-columns:1fr}}


/* Fix fonds blancs tableaux */
table, thead, tbody, tr, th, td{background:transparent!important;color:var(--text)!important;}
.table, .table-striped, .table-hover{--bs-table-bg:transparent!important;--bs-table-striped-bg:transparent!important;--bs-table-hover-bg:rgba(255,255,255,0.03)!important;color:var(--text)!important;}
.card-body, .card-header, .card-footer{background:transparent!important;color:var(--text)!important;}
.card{background:rgba(0,0,0,0.6)!important;border:1px solid rgba(255,255,255,0.1)!important;color:var(--text)!important;}
.modal-content, .modal-header, .modal-body, .modal-footer{background:#161b22!important;color:var(--text)!important;border-color:#30363d!important;}
.list-group-item{background:transparent!important;border-color:rgba(255,255,255,0.05)!important;color:var(--text)!important;}
.form-grid{background:transparent!important;}

/* Fix fonds blancs tableaux */
table, thead, tbody, tr, th, td{background:transparent!important;color:var(--text)!important;}
.table, .table-striped, .table-hover{--bs-table-bg:transparent!important;--bs-table-striped-bg:transparent!important;--bs-table-hover-bg:rgba(255,255,255,0.03)!important;color:var(--text)!important;}
.card-body, .card-header, .card-footer{background:transparent!important;color:var(--text)!important;}
.card{background:rgba(0,0,0,0.6)!important;border:1px solid rgba(255,255,255,0.1)!important;color:var(--text)!important;}
.modal-content, .modal-header, .modal-body, .modal-footer{background:#161b22!important;color:var(--text)!important;border-color:#30363d!important;}
.list-group-item{background:transparent!important;border-color:rgba(255,255,255,0.05)!important;color:var(--text)!important;}
.form-grid{background:transparent!important;}