/* Cencraft Server Status Plugin Styles */

/* Grid layout */
.server-status-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 15px;
padding: 20px;
}

/* Server card */
.server-status {
position: relative;
padding: 20px;
border-radius: 10px;
background-color: #f8f9fa;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
transition: all 0.3s ease;
box-sizing: border-box;
margin-bottom: 15px;
cursor: pointer;
}
.server-status:hover {
transform: scale(1.05);
box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Online/Offline colors */
.online { background-color: #28a745; color: white; }
.offline { background-color: #dc3545; color: white; }

/* Server info */
.status-title { font-weight: bold; font-size: 1.2em; margin-bottom: 10px; }
.status-detail { font-size: 1em; margin-bottom: 5px; }

/* Whitelisted banner */
.whitelisted-banner {
position: absolute;
top: 10px;
right: 10px;
background-color: #ff6666;
color: black;
padding: 5px 10px;
font-size: 14px;
font-weight: bold;
border-radius: 4px;
text-align: center;
}

/* Player list inside modal */
.player-item {
display: flex;
align-items: center;
margin-bottom: 8px;
}
.player-head {
width: 32px;
height: 32px;
border-radius: 4px;
margin-right: 8px;
}
.no-players {
text-align: center;
color: #666;
font-weight: bold;
font-size: 1.1em;
margin-top: 10px;
}

/* Last updated text */
.last-updated {
font-size: 14px;
color: #aaa;
text-align: center;
margin-top: 10px;
}

/* Modal adjustments (optional, ensures modal looks good) */
.modal-body {
max-height: 400px;
overflow-y: auto;
}
#playersModal .modal-header .btn-close {
background: none;
border: none;
}
