:root {
/* Base colors - Dark Theme from Image */
--primary-bg: #0f172a; /* Deep dark blue - for the panel's main background */
--content-bg: #181818; /* Very dark grey, from panel header gradient */
--secondary-bg: #2c2c2c; /* Dark grey, for cards, similar to original secondary */
--tertiary-bg: #475569; /* Even lighter slate */
/* Accent colors */
--primary-color: #c0c0c0; /* Light blue accent from image (e.g., restart button) */
--secondary-color: #ffffff;
/* Text colors */
--text-color: #e2e8f0; /* Off-white for general text */
--text-muted: #94a3b8; /* Lighter muted text for better contrast */
--text-heading-color: #ffffff; /* Pure white for main headings */
/* Component colors */
--card-bg: #2c2c2c; /* Cards will use the new --secondary-bg */
--card-hover-bg: #3b3b3b; /* A slightly lighter grey for hover */
--border-color: #3b3b3b;
/* UI elements */
--border-radius: 12px;
--padding: 1vh;
--transition: all 0.3s ease;
/* Status colors */
--success-color: #10b981;
--warning-color: #f59e0b;
--danger-color: #ef4444;
--info-color: #3b82f6;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
color: var(--text-color);
}
.panel {
background-color: var(--primary-bg); /* This will be the outer frame */
border-radius: var(--border-radius);
overflow: hidden;
width: 60vw;
height: 95vh;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
animation: fadeIn 0.5s var(--transition);
display: flex;
flex-direction: column;
}
.header {
background: linear-gradient(145deg, rgb(24, 24, 24), rgb(97, 97, 97));
padding: 2vh;
border-bottom: 1px solid rgb(255, 255, 255);
}
.header h1 {
font-size: 2.2vh;
font-weight: 600;
letter-spacing: 0.5px;
}
.main-content {
display: flex;
height: calc(100% - 5vh);
}
.sidebar {
background: linear-gradient(145deg, rgb(24, 24, 24), rgb(97, 97, 97));
width: 15vw;
padding: var(--padding);
border: 1px solid rgb(24, 24, 24);
overflow-y: auto;
}
.sidebar ul {
list-style: none;
padding: 0;
}
.sidebar ul li {
padding: 1vh;
cursor: pointer;
border-radius: var(--border-radius);
margin-bottom: 1vh;
transition: var(--transition);
display: flex;
align-items: center;
color: var(--text-muted);
font-size: 1.5vh;
}
.sidebar ul li:hover {
background-color: var(--primary-color);
color: var(--text-color);
}
.sidebar ul li i {
margin-right: 1vh;
}
.content {
flex: 1;
padding: var(--padding);
/* overflow-y: auto; */ /* Removed to prevent internal scrollbar */
background-color: var(--content-bg); /* Set content area background */
}
.SpawnTItle {
display: block;
font-weight: 500;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.section h2 { /* General section titles, will be overridden for dashboard specific title */
margin-top: 0;
font-size: 2.2vh; /* Adjusted size */
color: var(--text-heading-color); /* White headings */
margin-bottom: 1.5vh; /* Spacing */
font-weight: 600;
/* animation: slideIn 1s var(--transition); */ /* Removing animation for now */
/* border-bottom: 2px solid var(--border-color); */ /* Removing border for new style */
/* padding-bottom: var(--padding); */
}
.stats-container { /* General stats container, might be used elsewhere */
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* More responsive */
gap: 1.5vh;
margin-top: 2vh;
}
.dashboard-stats-grid { /* Specific for the top 4 dashboard stats */
display: grid;
grid-template-columns: repeat(4, 1fr); /* Four columns as per image */
gap: 2vh; /* Slightly larger gap */
margin-bottom: 3vh; /* Space before performance section */
}
.performance-chart-container {
background: linear-gradient(145deg, var(--card-bg), var(--secondary-bg));
padding: 2vh;
border-radius: 12px;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
margin-top: 2vh;
height: 40vh; /* Adjust as needed */
}
.stat-card {
background-color: var(--secondary-bg); /* Using a slightly lighter shade than content for distinction */
padding: 1.8vh 2vh; /* Adjusted padding */
border-radius: var(--border-radius);
box-shadow: 0 1px 3px rgba(0,0,0,0.2); /* Even more subtle shadow */
transition: all 0.2s ease-in-out;
display: flex;
align-items: center;
gap: 1.2vh; /* Adjusted gap */
}
.stat-card-icon {
font-size: 2vh; /* Adjusted Icon size */
color: var(--text-muted);
background-color: transparent;
padding: 0.3vh;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
width: 3vh;
height: 3vh;
}
/* As noted before, specific icon colors (blue for players, green for uptime etc.)
would require adding classes to each icon in HTML and styling them:
e.g., in HTML:
and in CSS: .players-icon { color: #38bdf8; }
.uptime-icon { color: #10b981; } etc.
*/
.stat-card-info h3 { /* Label e.g. PLAYERS */
color: var(--text-muted);
font-size: 1.1vh; /* Smaller, more subtle label */
margin: 0 0 0.3vh 0;
font-weight: 500; /* Lighter weight */
text-transform: uppercase;
}
.stat-card-info p { /* Value e.g. 32/64 */
font-size: 2vh; /* Adjusted value text size */
font-weight: 600; /* Slightly less bold */
color: var(--text-heading-color);
text-align: center;
margin: 0;
}
.stat-card:hover {
transform: translateY(-1px);
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.actions-container {
background-color: var(--secondary-bg);
padding: 2rem;
border-radius: var(--border-radius);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
max-width: 70%;
height: auto;
margin: auto;
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.actions-title {
font-size: 2rem;
color: var(--primary-color);
border-bottom: 2px solid var(--border-color);
padding-bottom: 0.5rem;
margin-bottom: 1.5rem;
text-align: center;
}
.action-item {
display: flex;
align-items: center;
gap: 1rem;
/* background-color: var(--tertiary-bg); */
padding: 1.2rem;
border-radius: var(--border-radius);
border-color: var(--border-color);
/* box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05), 0 4px 6px rgba(0, 0, 0, 0.1); */
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.action-item:hover {
/* box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05), 0 6px 12px rgba(0, 0, 0, 0.15); */
transform: translateY(-2px);
}
.styled-input {
flex: 1;
padding: 0.75rem 1rem;
border-radius: var(--border-radius);
border: 1px solid var(--border-color);
background-color: var(--card-bg);
color: var(--text-color);
font-size: 1.2rem;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.styled-input:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: 0 0 8px var(--primary-color);
}
.styled-button {
background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
color: var(--text-color);
padding: 0.75rem 1.5rem;
border: none;
border-radius: var(--border-radius);
font-size: 1.2rem;
font-weight: bold;
cursor: pointer;
transition: background 0.3s ease, transform 0.3s ease;
}
.styled-button:hover {
background: linear-gradient(145deg, var(--secondary-color), var(--primary-color));
transform: scale(1.05);
}
.option:hover {
background-color: var(--card-hover-bg);
}
.option {
display: grid;
grid-template-columns: 1fr auto;
align-items: center;
gap: 1vh;
padding: 1vh;
border-radius: var(--border-radius);
transition: background-color 0.3s ease;
}
.option-label {
font-size: 1.8vh;
color: var(--text-muted);
}
.option-toggle {
display: flex;
align-items: center;
}
.toggle-switch {
position: relative;
display: inline-block;
width: 50px;
height: 24px;
}
.toggle-switch input[type="checkbox"] {
opacity: 0;
width: 0;
height: 0;
}
.toggle-switch label {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #3f3f3f;
transition: .4s;
border-radius: 34px;
}
.toggle-switch label:before {
position: absolute;
content: "";
height: 16px;
width: 16px;
left: 4px;
bottom: 4px;
background-color: white;
transition: .4s;
border-radius: 50%;
}
.info-label {
text-align: center;
color: var(--text-muted);
font-size: 12px;
font-weight: 800;
text-transform: uppercase;
border-bottom: 1px solid rgb(143, 143, 143);
}
.info-value {
color: var(--text-color);
font-size: 14px;
word-break: break-all;
}
.ban-reason {
margin-top: 16px;
padding-top: 16px;
border-top: 1px solid var(--border-color);
}
.ban-reason p {
margin: 8px 0 0;
color: var(--text-color);
font-size: 14px;
line-height: 1.5;
}
.modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.75);
backdrop-filter: blur(5px);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.modal-container {
background: var(--card-bg);
width: 90%;
max-width: 600px;
border-radius: 16px;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
overflow: hidden;
}
.modal-header {
padding: 20px;
background: linear-gradient(to right, var(--secondary-bg), var(--card-bg));
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid var(--border-color);
}
.modal-title {
display: flex;
align-items: center;
gap: 12px;
}
.modal-title i {
font-size: 24px;
color: var(--primary-color);
}
.modal-title h3 {
margin: 0;
font-size: 20px;
color: var(--text-color);
}
.modal-close {
background: transparent;
border: none;
color: var(--text-muted);
cursor: pointer;
width: 32px;
height: 32px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
}
.modal-close:hover {
background: rgba(255, 255, 255, 0.1);
color: var(--text-color);
}
.modal-body {
padding: 24px;
}
.modal-user-header {
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 24px;
}
.modal-avatar {
width: 64px;
height: 64px;
background: var(--primary-color);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
color: white;
}
.modal-user-info {
display: flex;
flex-direction: column;
gap: 4px;
}
.modal-user-info h4 {
margin: 0;
font-size: 18px;
color: var(--text-color);
}
.ban-status {
font-size: 14px;
color: var(--danger-color);
background: rgba(239, 68, 68, 0.1);
padding: 4px 8px;
border-radius: 4px;
display: inline-flex;
align-items: center;
width: fit-content;
}
.modal-info-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
.modal-info-item {
display: flex;
flex-direction: column;
gap: 8px;
}
.modal-info-item.full-width {
grid-column: 1 / -1;
}
.modal-label {
font-size: 12px;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.modal-value-container {
display: flex;
align-items: center;
gap: 8px;
background: var(--secondary-bg);
padding: 8px 12px;
border-radius: 6px;
border: 1px solid var(--border-color);
}
.modal-value {
font-size: 14px;
color: var(--text-color);
word-break: break-all;
}
.modal-value.reason {
line-height: 1.5;
}
.copy-btn {
background: transparent;
border: none;
color: var(--text-muted);
cursor: pointer;
padding: 4px;
border-radius: 4px;
transition: all 0.2s ease;
}
.copy-btn:hover {
color: var(--primary-color);
background: rgba(255, 255, 255, 0.1);
}
.modal-footer {
padding: 20px;
display: flex;
justify-content: flex-end;
gap: 12px;
border-top: 1px solid var(--border-color);
}
.modal-btn {
padding: 10px 20px;
border-radius: 8px;
border: none;
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
cursor: pointer;
transition: all 0.2s ease;
}
.modal-btn.secondary {
background: var(--secondary-bg);
color: var(--text-color);
}
.modal-btn.primary {
background: var(--primary-color);
color: white;
}
.modal-btn:hover {
transform: translateY(-1px);
}
.modal-btn.secondary:hover {
background: var(--card-hover-bg);
}
.modal-btn.primary:hover {
background: var(--secondary-color);
}
.modal-fade-enter-active,
.modal-fade-leave-active {
transition: all 0.3s ease;
}
.modal-fade-enter-from,
.modal-fade-leave-to {
opacity: 0;
transform: scale(0.95);
}
.notification-container {
position: fixed;
top: 24px;
right: 24px;
z-index: 9999;
display: flex;
flex-direction: column;
gap: 16px;
max-width: 380px;
}
.notification {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
padding: 16px;
background: #20232b;
border-radius: 5px;
position: relative;
overflow: hidden;
}
.notification::before {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 3px;
background: var(--notify-color);
animation: progress 4s linear forwards;
}
.notification-icon {
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 10px;
margin-right: 14px;
background: var(--notify-color);
color: #fff;
font-size: 16px;
}
.notification-content {
color: #fff;
font-size: 14px;
line-height: 1.5;
}
.notification-close {
background: transparent;
border: none;
color: rgba(255, 255, 255, 0.6);
padding: 4px;
margin-left: 8px;
cursor: pointer;
transition: all 0.2s ease;
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 6px;
}
.notification-close:hover {
background: rgba(255, 255, 255, 0.1);
color: #fff;
}
.notification.success {
--notify-color: #00E676;
}
.notification.error {
--notify-color: #FF5252;
}
.notification.warning {
--notify-color: #FFB300;
}
.notification.info {
--notify-color: #2979FF;
}
@keyframes progress {
from { width: 100%; }
to { width: 0%; }
}
.notification-enter-active {
animation: notify-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.notification-leave-active {
animation: notify-out 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes notify-in {
from {
opacity: 0;
transform: translateX(40px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes notify-out {
from {
opacity: 1;
transform: translateX(0);
}
to {
opacity: 0;
transform: translateX(40px);
}
}
.section-title {
font-size: 24px;
color: #fff;
margin-bottom: 24px;
padding-bottom: 12px;
border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}
.server-options-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
padding: 10px;
}
.server-card {
background: linear-gradient(145deg, #2a2d35, #1e2126);
border-radius: 16px;
padding: 24px;
transition: all 0.3s ease;
border: 1px solid rgba(255, 255, 255, 0.05);
position: relative;
overflow: hidden;
}
.server-card:hover {
transform: translateY(-3px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
border-color: rgba(255, 255, 255, 0.1);
}
.server-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
transform: translateX(-100%);
transition: transform 0.6s;
}
.server-card:hover::before {
transform: translateX(100%);
}
.card-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
}
.card-icon {
width: 48px;
height: 48px;
background: rgba(0, 120, 255, 0.1);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
color: #0078ff;
font-size: 20px;
}
.danger .card-icon {
background: rgba(255, 59, 48, 0.1);
color: #ff3b30;
}
.card-title {
font-size: 18px;
color: #fff;
margin: 0;
text-align: center;
}
.action-button {
width: 100%;
padding: 12px;
border-radius: 12px;
background: linear-gradient(145deg, #0078ff, #0066dd);
border: none;
color: white;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
}
.danger .action-button {
background: linear-gradient(145deg, #ff3b30, #ff2d22);
}
.action-button:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 120, 255, 0.2);
}
.danger .action-button:hover {
box-shadow: 0 4px 12px rgba(255, 59, 48, 0.2);
}
.action-button:active {
transform: translateY(0);
}
.button-text {
font-size: 14px;
}
/* Modal Styles */
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0, 0, 0, 0.7);
justify-content: center;
align-items: center;
}
.modal-content {
background-color: var(--primary-bg);
border: 1px solid var(--border-color);
border-radius: var(--border-radius);
padding: 2vh;
width: 40vw;
animation: fadeIn 0.5s var(--transition);
}
.modal-content .close {
color: var(--text-color);
float: right;
font-size: 2.5vh;
font-weight: bold;
cursor: pointer;
}
.modal-content .close:hover,
.modal-content .close:focus {
color: var(--primary-color);
text-decoration: none;
}
.modal-content .modal-body {
margin-top: 2vh;
color: var(--text-color);
font-size: 1.8vh;
}
.modal-content .modal-body div {
margin-bottom: 1vh;
}
.playersection {
height: 20vh;
}
.player-list-container {
height: calc(100vh - 120px);
overflow-y: auto;
display: flex;
flex-direction: column;
}
.player-list-header {
margin: 0;
padding: 1rem 1.5rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.player-list-header h2 {
margin-top: 1.5vh;
font-size: 2.5vh;
color: var(--primary-color);
animation: slideIn 1s var(--transition);
}
.search-bar {
background: rgba(33, 34, 42, 0.6);
border: 1px solid var(--border-color);
border-radius: 6px;
padding: 0.5rem 1rem;
width: 250px;
color: var(--text-color);
font-size: 0.9rem;
transition: all 0.3s ease;
}
.search-bar:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: 0 0 0 2px rgba(2, 132, 254, 0.2);
}
.player-list {
margin-top: 1rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
padding: 0 1rem;
}
.player-item {
background: rgba(42, 44, 53, 0.6);
padding: 0.8rem 1.2rem;
border-radius: 8px;
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
gap: 1rem;
position: relative;
transition: all 0.3s ease;
border: 1px solid var(--border-color);
}
.player-item:hover {
background: rgba(49, 51, 61, 0.8);
transform: translateX(4px);
border-color: var(--primary-color);
}
.player-status {
width: 15px;
height: 15px;
background: #10b981;
border-radius: 50%;
display: inline-block;
margin-right: 0.5rem;
box-shadow: 0 0 5px rgba(16, 185, 129, 0.5);
animation: pulseStatus 2s ease-in-out infinite;
position: relative;
}
@keyframes pulseStatus {
0% {
box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}
70% {
box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
}
}
.player-status::after {
content: '';
position: absolute;
width: 100%;
height: 100%;
border-radius: 50%;
background: inherit;
opacity: 0.7;
animation: rippleStatus 2s ease-out infinite;
}
@keyframes rippleStatus {
0% {
transform: scale(1);
opacity: 0.7;
}
100% {
transform: scale(2);
opacity: 0;
}
}
.player-info {
display: flex;
flex-direction: column;
gap: 0.3rem;
padding-left: -10.5rem;
}
.player-name {
font-size: 1.1rem;
font-weight: 500;
color: var(--text-color);
}
.player-steamid {
font-size: 0.8rem;
color: var(--text-muted);
font-family: 'Consolas', monospace;
}
.player-actions {
display: flex;
gap: 0.8rem;
margin-left: auto;
}
.player-actions i {
padding: 0.6rem;
border-radius: 6px;
background: rgba(40, 42, 51, 0.6);
transition: all 0.2s ease;
cursor: pointer;
color: var(--text-muted);
}
.player-actions i:hover {
transform: translateY(-2px);
color: var(--text-color);
}
.player-actions .fa-user-slash:hover {
background: #ef4444;
}
.player-actions .fa-ban:hover {
background: #dc2626;
}
.player-actions .fa-camera:hover {
background: #2563eb;
}
.player-actions .fa-eye:hover {
background: #10b981;
}
.player-list:empty::after {
content: 'No players found';
text-align: center;
padding: 2rem;
color: var(--text-muted);
font-size: 1.1rem;
}
.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.modal-content {
background: var(--card-bg);
padding: 2rem;
border-radius: 12px;
max-width: 500px;
width: 90%;
position: relative;
}
.fade-enter-active,
.fade-leave-active {
transition: opacity 0.3s ease;
}
.fade-enter-from,
.fade-leave-to {
opacity: 0;
}
@media (max-width: 768px) {
.player-list-header {
flex-direction: column;
gap: 1rem;
padding: 1rem;
}
.search-bar {
width: 100%;
}
.player-item {
grid-template-columns: 1fr;
text-align: center;
padding: 1rem;
}
.player-info {
padding: 0;
}
.player-actions {
justify-content: center;
margin-top: 0.5rem;
}
.player-status {
position: absolute;
top: 1rem;
left: 1rem;
}
}
.player-list::-webkit-scrollbar {
width: 6px;
}
.player-list::-webkit-scrollbar-track {
background: var(--secondary-bg);
}
.player-list::-webkit-scrollbar-thumb {
background: var(--primary-color);
border-radius: 3px;
}
.player-list::-webkit-scrollbar-thumb:hover {
background: var(--secondary-color);
}
/* Card */
.card, .button-card, .input-card {
background-color: var(--card-bg);
padding: var(--padding);
border-radius: var(--border-radius);
flex: 1;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: space-between;
transition: var(--transition);
animation: fadeIn 1s var(--transition);
}
.card:hover, .button-card:hover, .input-card:hover {
background-color: var(--card-hover-bg);
transform: scale(1.01);
}
.card h3, .button-card h3, .input-card h3 {
margin: 0 0 1vh 0;
font-size: 2vh;
}
.button-card {
padding: 1vh;
max-height: 10vh;
}
.button-card button {
padding: 0.5vh;
font-size: 1.5vh;
}
::-webkit-scrollbar {
width: 5px;
}
::-webkit-scrollbar-track {
background: var(--secondary-bg);
}
::-webkit-scrollbar-thumb {
background-color: var(--primary-color);
border-radius: 10px;
}
.logs {
max-height: 30vh;
overflow-y: auto;
}
.log-entry {
padding: var(--padding);
background-color: var(--card-hover-bg);
border: 1px solid var(--card-bg);
margin-bottom: 1vh;
border-radius: var(--border-radius);
color: var(--text-muted);
animation: fadeIn 1s var(--transition);
}
.execute-button {
background-color: var(--primary-color);
border: none;
padding: var(--padding);
color: var(--text-color);
border-radius: var(--border-radius);
cursor: pointer;
transition: var(--transition);
font-size: 1.5vh;
text-align: center;
}
.execute-button:hover {
background-color: var(--secondary-color);
}
.settings-container {
display: flex;
flex-direction: column;
padding: var(--padding);
}
.setting {
display: flex;
justify-content: space-between;
align-items: center;
padding: var(--padding);
background-color: var(--card-bg);
margin-bottom: 1vh;
border-radius: var(--border-radius);
}
.setting label {
flex: 1;
margin-right: 1vh;
font-size: 1.5vh;
}
.setting input[type="checkbox"] {
transform: scale(1.1);
}
@keyframes fadeIn {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes slideIn {
from {
transform: translateX(-100%);
}
to {
transform: translateX(0);
}
}
.fade-enter-active, .fade-leave-active {
transition: opacity 0.5s;
}
.fade-enter, .fade-leave-to {
opacity: 0;
}
input:checked + label {
background-color: var(--primary-color);
}
input:checked + label:before {
transform: translateX(26px);
}
@media (max-width: 768px) {
.option {
grid-template-columns: 1fr;
grid-template-rows: auto 1fr;
align-items: start;
}
.option-toggle {
justify-self: center;
margin-top: 1vh;
}
}
@media (max-width: 768px) {
.player-actions {
flex-direction: column;
align-items: center;
}
.player-actions button {
width: 100%;
margin-bottom: 0.5vh;
}
.player-list-header, .player-item {
flex-direction: column;
align-items: flex-start;
}
}
.updates-container {
margin-left: -1vw;
margin-top: 1;
border-radius: 15px;
padding: 2.5vh;
}
.updates-container h2 {
font-size: 2.5vh;
color: var(--primary-color);
border-bottom: 2px solid var(--border-color);
padding-bottom: 1vh;
width: auto;
text-align: left;
}
.update-card {
background: var(--card-bg);
margin: 1.5vh 0;
padding: 2vh;
border-radius: 12px;
border-left: 4px solid var(--primary-color);
transition: all 0.3s ease;
}
.update-card:hover {
background: var(--card-hover-bg);
transform: translateX(5px);
}
.update-icon {
background: rgba(0, 123, 255, 0.1);
padding: 1vh;
border-radius: 50%;
}
.updates-container .update-card {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1.5vh;
margin-bottom: 1vh;
background-color: var(--card-bg);
border-radius: var(--border-radius);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
transition: transform 0.3s, box-shadow 0.3s;
}
.updates-container .update-card:hover {
transform: scale(1.02);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.updates-container .update-card strong {
font-size: 2vh;
color: var(--primary-color);
}
.updates-container .update-card em {
font-size: 1.5vh;
color: var(--text-muted);
}
.updates-container .update-icon {
font-size: 2.5vh;
color: var(--primary-color);
margin-right: 1vh;
}
.updates-container .update-content {
flex: 1;
margin-left: 1vh;
}
.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.85);
backdrop-filter: blur(5px);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.modal-content {
background: linear-gradient(145deg, #1e2124, #2d3035);
padding: 2rem;
border-radius: 16px;
max-width: 900px;
width: 95%;
position: relative;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
border: 1px solid rgba(255, 255, 255, 0.1);
animation: modalFade 0.3s ease-out;
}
.modal-content h3 {
color: #ffffff;
font-size: 1.8rem;
font-weight: 600;
margin-bottom: 1.5rem;
padding-bottom: 1rem;
border-bottom: 2px solid rgba(255, 255, 255, 0.1);
text-align: left;
}
.screenshot-image {
max-width: 100%;
height: auto;
border-radius: 12px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.1);
margin: 0.5rem 0;
transition: transform 0.3s ease;
}
.screenshot-image:hover {
transform: scale(1.01);
}
.close-button3 {
position: absolute;
top: -18px;
right: -18px;
width: 36px;
height: 36px;
border-radius: 50%;
background: #e53935;
color: white;
border: none;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s ease;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
font-size: 20px;
z-index: 1001;
}
.close-button3:hover {
background: #f44336;
transform: rotate(90deg);
}
.close-button3:active {
transform: scale(0.95) rotate(90deg);
}
@keyframes modalFade {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
}
.modal.closing {
animation: modalFadeOut 0.2s ease-in forwards;
}
@keyframes modalFadeOut {
from {
opacity: 1;
transform: scale(1);
}
to {
opacity: 0;
transform: scale(0.95);
}
}
.modal-content::-webkit-scrollbar {
width: 8px;
}
.modal-content::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.1);
border-radius: 4px;
}
.modal-content::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.2);
border-radius: 4px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.3);
}
.modal-fade-enter-active, .modal-fade-leave-active {
transition: all 0.3s ease;
}
.modal-fade-enter-from, .modal-fade-leave-to {
opacity: 0;
transform: scale(0.95);
}
.modal-fade-enter-to, .modal-fade-leave-from {
opacity: 1;
transform: scale(1);
}
.section-title {
font-size: 22px;
color: #ffffff;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 2px solid rgba(255, 255, 255, 0.1);
text-transform: uppercase;
font-weight: 600;
letter-spacing: 0.4px;
}
.logs-list {
display: flex;
flex-direction: column;
gap: 15px;
padding: 10px;
max-height: 60vh;
overflow-y: auto;
overflow-x: hidden;
}
.log-item {
display: flex;
align-items: flex-start;
gap: 15px;
background: linear-gradient(145deg, #1e1f26, #25272e);
padding: 15px;
border-radius: 12px;
position: relative;
transition: all 0.3s ease;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.log-item:hover {
transform: scale(1.02);
background: linear-gradient(145deg, #25272e, #1e1f26);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}
.log-icon {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background-color: rgba(0, 120, 255, 0.1);
color: #0078ff;
border-radius: 50%;
font-size: 18px;
transition: background-color 0.3s ease, transform 0.3s ease;
}
.log-item:hover .log-icon {
transform: scale(1.1);
}
.log-icon.error {
background-color: rgba(255, 59, 48, 0.1);
color: #ff3b30;
}
.log-icon.warning {
background-color: rgba(255, 159, 0, 0.1);
color: #ff9f00;
}
.log-icon.success {
background-color: rgba(16, 185, 129, 0.1);
color: #10b981;
}
.log-content {
flex: 1;
display: flex;
flex-direction: column;
gap: 5px;
}
.log-timestamp {
font-size: 14px;
color: rgba(255, 255, 255, 0.6);
font-weight: 500;
display: flex;
align-items: center;
gap: 5px;
}
.log-timestamp i {
color: var(--primary-color);
}
.log-message {
font-size: 15px;
color: #ffffff;
line-height: 1.5;
margin: 0;
transition: color 0.3s ease;
}
.log-item:hover .log-message {
color: #d4d4d8;
}
.logs-list::-webkit-scrollbar {
width: 6px;
}
.logs-list::-webkit-scrollbar-thumb {
background: var(--primary-color);
border-radius: 10px;
}
.logs-list::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.05);
}
.option-card {
display: flex;
justify-content: space-between;
align-items: center;
background: var(--tertiary-bg);
border: 1px solid var(--border-color);
padding: 1.2vh;
margin-bottom: 1vh;
border-radius: var(--border-radius);
transition: background 0.3s ease;
}
.option-card:hover {
background: var(--card-hover-bg);
}
.option-label {
font-size: 1.8vh;
font-weight: 500;
color: var(--text-color);
}
/* Custom Toggle Switch */
.custom-switch {
position: relative;
display: inline-block;
width: 45px;
height: 24px;
}
.custom-switch input {
opacity: 0;
width: 0;
height: 0;
}
.custom-switch .slider {
position: absolute;
cursor: pointer;
top: 0; left: 0; right: 0; bottom: 0;
background-color: #555;
transition: 0.4s;
border-radius: 34px;
}
.custom-switch .slider:before {
position: absolute;
content: "";
height: 16px;
width: 16px;
left: 4px;
bottom: 4px;
background-color: white;
transition: 0.4s;
border-radius: 50%;
}
.custom-switch input:checked + .slider {
background-color: var(--success-color);
}
.custom-switch input:checked + .slider:before {
transform: translateX(21px);
}
/* Action Buttons */
.actions-container {
display: flex;
flex-direction: column;
gap: 1vh;
padding-top: 1vh;
}
.action-button {
background-color: var(--primary-color);
color: black;
font-weight: 600;
font-size: 1.6vh;
padding: 1.2vh;
border: none;
border-radius: var(--border-radius);
cursor: pointer;
display: flex;
align-items: center;
gap: 0.5rem;
transition: background 0.3s ease, transform 0.2s ease;
}
.action-button:hover {
background-color: var(--secondary-color);
transform: translateY(-2px);
}
.check-style {
position: relative;
display: inline-block;
padding-left: 28px;
cursor: pointer;
font-size: 16px;
user-select: none;
}
.check-style input {
position: absolute;
opacity: 0;
cursor: pointer;
}
.checkmark {
position: absolute;
top: 0;
left: 0;
height: 20px;
width: 20px;
background-color: #3f3f3f;
border: 2px solid #777;
border-radius: 4px;
transition: 0.3s ease;
}
.check-style input:checked ~ .checkmark {
background-color: var(--success-color);
border-color: var(--success-color);
}
.checkmark:after {
content: "";
position: absolute;
display: none;
}
.check-style input:checked ~ .checkmark:after {
display: block;
}
.check-style .checkmark:after {
left: 6px;
top: 1px;
width: 5px;
height: 10px;
border: solid white;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
/* Dashboard Specific Styles */
.dashboard-header {
display: flex;
bottom: 30px;
margin-top: 1vh;
justify-content: center; /* Center the server name */
align-items: center; /* Vertically align items */
position: relative; /* For positioning the subtitle */
width: 100%;
}
.dashboard-title {
font-size: 2.8vh;
color: var(--text-heading-color);
margin: 0; /* Remove bottom margin */
font-weight: 700;
}
.dashboard-subtitle {
font-size: 1.4vh;
color: var(--text-muted);
margin: 0;
position: absolute;
right: 50;
top: 30px;
transform: translateY(-50%);
background-color: var(--secondary-bg);
padding: 0.5vh 1vh;
border-radius: var(--border-radius);
}
.performance-section {
background-color: var(--card-bg);
padding: 2vh;
border-radius: var(--border-radius);
margin-bottom: 3vh;
}
.performance-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5vh;
}
.performance-header h3 { /* "Server Performance" title */
font-size: 2vh; /* Larger title */
color: var(--text-heading-color);
margin: 0;
font-weight: 600;
}
.performance-live-stats {
display: flex;
gap: 2vh; /* Increased gap */
}
.performance-live-stats span {
font-size: 1.4vh; /* Slightly larger */
color: var(--text-color); /* Brighter text */
background-color: transparent; /* No background box */
padding: 0; /* No padding */
border-radius: 0; /* No radius */
}
.performance-live-stats .live-cpu::after,
.performance-live-stats .live-memory::after {
content: '%';
}
.performance-chart-container {
background-color: transparent; /* Chart container itself is transparent, parent has bg */
padding: 0; /* Remove padding if parent .performance-section has it */
box-shadow: none; /* Remove shadow if parent .performance-section has it */
height: 30vh; /* Further reduced height to help fit everything */
}
.dashboard-columns {
display: grid;
grid-template-columns: 2fr 1fr; /* 2/3 for left, 1/3 for right */
gap: 2vh;
}
.dashboard-column-left, .dashboard-column-right {
display: flex;
flex-direction: column;
gap: 2vh;
}
.section-card {
background-color: var(--card-bg);
padding: 1.5vh; /* Reduced padding */
border-radius: var(--border-radius);
}
.section-card h3 {
font-size: 1.5vh; /* Reduced font size */
color: var(--text-heading-color);
margin: 0 0 1.5vh 0;
font-weight: 600;
}
.section-card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5vh;
}
.section-card-header h3 {
margin: 0;
}
.view-all-link {
font-size: 1.1vh; /* Reduced font size */
color: var(--primary-color);
text-decoration: none;
display: flex;
align-items: center;
gap: 0.5vh;
}
.view-all-link i {
font-size: 1.1vh;
}
/* Recent Activity */
.recent-activity-list {
list-style: none;
padding: 0;
margin: 0;
max-height: 8.5vh; /* Constrain height */
overflow-y: auto; /* Enable scroll for overflow */
}
.recent-activity-list li {
display: flex;
align-items: center;
padding: 0.8vh 0.5vh; /* Adjusted padding */
font-size: 1.0vh;
color: var(--text-color);
border-bottom: 1px solid var(--border-color);
transition: background-color 0.2s ease;
}
.recent-activity-list li:hover {
background-color: var(--secondary-bg); /* Subtle hover */
}
.recent-activity-list li:last-child {
border-bottom: none;
}
/* Targeting the tag with .activity-icon class */
.recent-activity-list li .activity-icon {
width: 2.2vh;
height: 2.2vh;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
margin-right: 1vh;
color: white; /* Color of the FA icon itself */
font-size: 1.1vh; /* Size of the FA icon inside the circle */
flex-shrink: 0;
}
.recent-activity-list li .activity-icon.Ban { background-color: var(--danger-color); }
.recent-activity-list li .activity-icon.Kick { background-color: var(--warning-color); }
.recent-activity-list li .activity-icon.warned { background-color: var(--info-color); }
.recent-activity-list li .activity-icon.Unban { background-color: var(--success-color); }
/* Default/unknown type for icons */
.recent-activity-list li .activity-icon:not(.Ban):not(.Kick):not(.warned):not(.Unban) {
background-color: var(--text-muted);
}
.recent-activity-list li .activity-text {
flex-grow: 1;
margin-right: 1vh;
line-height: 1.4; /* Improve readability */
}
/* Styling for the .activity-time span */
.recent-activity-list li .activity-time {
margin-left: auto; /* Pushes it to the right */
font-size: 0.9vh;
color: var(--text-muted);
white-space: nowrap;
flex-shrink: 0;
}
/* Server Information */
.server-info-list {
list-style: none;
padding: 0;
margin: 0;
max-height: 10vh; /* Constrain height */
}
.server-info-list li {
display: flex;
justify-content: space-between;
font-size: 1.4vh;
color: var(--text-muted);
padding: 0.8vh 0;
}
.server-info-list li span:last-child {
color: var(--text-color);
font-weight: 500;
}
.status-enabled {
color: var(--success-color) !important;
font-weight: bold;
}
/* New */
.ban-card-expanded {
background: linear-gradient(135deg, #1f1e1e 80%, #410d0d 120%);
border-radius: 12px;
margin-top: 2px;
margin-bottom: 30px;
padding: 28px 32px 18px 32px;
border: 2px solid rgb(85, 14, 14);
animation: fadeIn 0.2s;
box-shadow: 0 8px 32px 0 rgba(255, 0, 0, 0.1);
display: flex;
flex-direction: column;
gap: 18px;
}
.ban-expanded-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 32px;
margin-bottom: 10px;
}
.ban-expanded-user {
display: flex;
align-items: center;
gap: 18px;
}
.ban-avatar-expanded {
width: 54px;
height: 54px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 2rem;
}
.ban-expanded-name {
font-size: 1.3rem;
font-weight: 700;
color: #fff;
margin-bottom: 2px;
letter-spacing: 0.5px;
border-bottom: 2px solid rgba(151, 151, 151, 0.87);
}
.ban-expanded-id {
margin-top: 5px;
background: rgba(73, 61, 54, 0.767);
border-left: 4px solid rgba(150, 58, 5, 0.685);
border-radius: 8px;
padding: 10px 18px;
display: flex;
flex-direction: column;
min-width: 180px;
max-width: 320px;
margin-left: auto;
}
.ban-id-value {
font-size: 0.95rem;
font-weight: 900;
color: orange;
font-family: 'Consolas', monospace;
margin-top: 2px;
}
.ban-id-value span {
color: #fff;
}
.ban-discord-avatar {
width: 54px;
height: 54px;
border-radius: 50%;
object-fit: cover;
}
.ban-expanded-reason {
background: rgba(73, 54, 54, 0.767);
border-left: 4px solid rgba(150, 5, 5, 0.685);
border-radius: 8px;
padding: 10px 18px;
display: flex;
flex-direction: column;
min-width: 180px;
max-width: 320px;
margin-left: auto;
}
.ban-reason-label {
font-size: 0.95rem;
color: rgba(255, 37, 37, 0.589);
text-shadow: rgb(255, 0, 0) 0 0 2px;
font-weight: 600;
margin-bottom: 2px;
text-align: center;
border-bottom: 1px solid rgba(134, 134, 134, 0.822);
}
.ban-reason-value {
font-size: 1.1rem;
color: #fff;
font-weight: 500;
word-break: break-word;
}
.ban-expanded-content {
display: flex;
gap: 32px;
flex-wrap: wrap;
margin-bottom: 10px;
}
.ban-expanded-section {
background: #2c2b2b;
border-radius: 12px;
border: 2px solid rgba(179, 179, 179, 0.15);
padding: 18px 18px 10px 18px;
min-width: 180px;
flex: 1 1 220px;
box-shadow: 0 2px 8px 0 rgba(255, 255, 255, 0.04);
margin-bottom: 0;
}
.ban-expanded-section .ban-section-title {
font-size: 1rem;
color: white;
font-weight: 700;
margin-bottom: 8px;
text-align: left;
border-bottom: 1px solid rgba(255, 255, 255, 0.15);
padding-bottom: 4px;
text-align: center;
}
.ban-expanded-section .ban-section-list {
list-style: none;
padding: 0;
margin: 0;
}
.ban-expanded-section .ban-section-list li {
font-size: 0.98rem;
color: #e2e8f0;
margin-bottom: 6px;
display: flex;
align-items: center;
gap: 8px;
font-family: 'Consolas', monospace;
word-break: break-all;
}
.ban-expanded-section .ban-section-list li i {
color: var(--primary-color);
font-size: 1.1em;
margin-right: 4px;
}
.ban-actions-expanded {
display: flex;
justify-content: flex-end;
margin-top: 10px;
}
.ban-actions-expanded .unban-btn {
background: linear-gradient(90deg, #53b910 30%, #53b910 100%);
color: #ffffff;
border: 2px solid rgb(187, 186, 186);
border-radius: 8px;
padding: 10px 28px;
font-size: 1.1rem;
font-weight: 700;
cursor: pointer;
box-shadow: 0 2px 8px 0 rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
gap: 10px;
transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.ban-actions-expanded .unban-btn:hover {
background: linear-gradient(90deg, #f83838 60%, #f83838 100%);
color: #fff;
box-shadow: 0 4px 16px 0 rgba(255, 255, 255, 0.18);
}
.ban-expanded-screenshot {
max-width: 100%;
border-radius: 10px;
margin-top: 8px;
box-shadow: 0 2px 12px 0 rgba(255, 255, 255, 0.12);
border: 2px solid gray;
cursor: pointer;
transition: transform 0.2s, box-shadow 0.2s;
}
.ban-expanded-screenshot:hover {
transform: scale(1.03);
box-shadow: 0 4px 24px 0 rgba(255, 255, 255, 0.18);
z-index: 2;
}
.screenshot-zoom-modal {
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0,0,0,0.85);
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
animation: fadeIn 0.2s;
}
.screenshot-zoom-modal img {
max-width: 50vw;
max-height: 50vh;
border-radius: 18px;
background: #23272f;
}
.screenshot-zoom-modal .close-zoom-btn {
position: absolute;
top: 32px;
right: 48px;
background: #ef4444;
color: #fff;
border: none;
border-radius: 50%;
width: 44px;
height: 44px;
font-size: 2rem;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 10001;
transition: background 0.2s;
}
.screenshot-zoom-modal .close-zoom-btn:hover {
background: #b91c1c;
}
.ban-expanded-section {
max-height: 220px;
overflow-y: auto;
}
.ban-expanded-section::-webkit-scrollbar {
width: 8px;
}
.ban-expanded-section::-webkit-scrollbar-thumb {
background: var(--primary-color);
border-radius: 8px;
}
.ban-expanded-section::-webkit-scrollbar-track {
background: #23272f;
}
.ban-list-container {
background: linear-gradient(120deg, rgba(34, 33, 33, 0.774) 60%, rgba(136, 136, 136, 0.1) 100%);
border-radius: 10px;
box-shadow: 0 8px 40px 0 rgba(195, 195, 196, 0.1), 0 1.5px 12px 0 rgba(0,0,0,0.18);
padding: 36px 24px 36px 24px;
overflow: auto;
backdrop-filter: blur(10px);
height: 720px;
border: 1px solid rgba(255, 255, 255, 0.548);
margin-left: 10px;
margin-right: 10px;
}
.ban-card-row {
background: rgba(26, 24, 24, 0.98);
border-radius: 14px;
box-shadow: 0 2px 18px 0 rgba(41, 42, 43, 0.13), 0 1.5px 8px 0 rgba(0,0,0,0.13);
border: 1.5px solid rgba(201, 199, 199, 0.13);
margin-bottom: 8px;
transition: box-shadow 0.22s, transform 0.18s, border-color 0.18s;
position: relative;
overflow: hidden;
display: grid;
grid-template-columns: 1.6fr 3fr 1.2fr auto;
align-items: center;
min-height: 70px;
padding: 0 22px;
}
.ban-card-row:hover {
box-shadow: 0 4px 32px 0 rgba(248, 56, 56, 0.22), 0 2px 12px 0 rgba(0,0,0,0.22);
transform: scale(1.015);
border-color: #f83838;
z-index: 2;
background: rgba(44, 30, 30, 0.99);
}
.ban-cell-ban-reason {
font-size: 1.08rem;
background: linear-gradient(90deg, #3a2323 60%, #b91c1c 120%);
border-left: 5px solid #ff3b3b;
border-radius: 8px;
padding: 10px 20px;
color: #fff;
font-weight: 600;
letter-spacing: 0.01em;
box-shadow: 0 1px 8px 0 rgba(239,68,68,0.10);
margin: 0 12px;
display: block;
transition: background 0.2s;
text-shadow: 0 1px 8px #b91c1c33;
max-width: 80%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ban-cell-ban-name {
font-size: 1.08rem;
background: linear-gradient(90deg, #283a23 60%, #48b91c 120%);
border-left: 5px solid #41ff3b;
border-radius: 8px;
padding: 10px 20px;
color: #fff;
font-weight: 600;
letter-spacing: 0.01em;
box-shadow: 0 1px 8px 0 rgba(82, 239, 68, 0.1);
margin: 0 12px;
display: block;
transition: background 0.2s;
text-shadow: 0 1px 8px #1cb92433;
max-width: 80%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ban-cell-ban-name::before {
color: #c1ffb4;
font-weight: 700;
margin-right: 8px;
letter-spacing: 0.03em;
}
.details-btn {
font-size: 1.08rem;
background: linear-gradient(90deg, #23353a 60%, #1c72b9 120%);
border-left: 5px solid #3b89ff;
border-right: 2px solid #3b89ff00;
border-top: 2px solid #3b89ff00;
border-bottom: 2px solid #3b89ff00;
border-radius: 8px;
padding: 10px 20px;
color: #fff;
font-weight: 600;
letter-spacing: 0.01em;
box-shadow: 0 1px 8px 0 rgba(68, 185, 239, 0.1);
margin: 0 12px;
display: block;
transition: background 0.2s;
text-shadow: 0 1px 8px #1ca1b933;
max-width: 80%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.details-btn:hover {
background: linear-gradient(90deg, #0c718a 60%, #0c718a 100%);
color: #fff;
transform: scale(1.04);
}
.ban-card-row::after {
content: "";
position: absolute;
left: 0; top: 0; right: 0; bottom: 0;
pointer-events: none;
border-radius: 14px;
box-shadow: 0 0 0 0 #f83838;
transition: box-shadow 0.22s;
}
.ban-card-row:hover::after {
box-shadow: 0 0 24px 2px #f83838cc;
}
.no-bans {
padding: 48px 0;
color: #ff2b2b;
font-family: 'Audiowide', 'Segoe UI', sans-serif;
font-size: 2rem;
font-weight: 800;
margin-top: 32px;
text-align: center;
letter-spacing: 0.01em;
}
.ban-grid {
gap: 32px;
margin-top: 24px;
}
.ban-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 24px;
margin-bottom: 24px;
}
.ban-controls .search-container {
display: flex;
align-items: center;
max-width: 370px;
}
.ban-title {
margin-left: 100px;
}
.ban-options-title {
margin: 0;
}
.ban-options-title {
font-family: 'Audiowide', 'Segoe UI', sans-serif;
font-size: 2.5rem;
font-weight: normal;
margin: 0;
color: #ffffff;
letter-spacing: 0.05em;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.ban-search {
margin-right: 20px;
align-items: center;
position: relative;
width: 100%;
padding: 16px 20px 16px 52px;
border-radius: 18px;
background: rgba(39, 39, 39, 0.55);
border: 1.5px solid rgb(187, 187, 187);
color: #ffffff;
font-size: 1.15rem;
font-family: 'Audiowide', 'Segoe UI', sans-serif;
box-shadow: 0 8px 32px 0 rgba(176, 176, 177, 0.1), 0 1.5px 8px 0 rgba(0,0,0,0.13);
transition: border 0.22s, box-shadow 0.22s, background 0.22s;
outline: none;
letter-spacing: 0.03em;
}
.ban-search:focus {
background: rgba(60, 62, 63, 0.13);
border: 2px solid #737677;
}
.search-container {
position: relative;
width: 100%;
max-width: 370px;
display: flex;
align-items: center;
}
.search-icon {
position: absolute;
left: 16px;
color: rgba(255, 255, 255, 0.6);
font-size: 1.2rem;
pointer-events: none;
}
.ban-search:focus ~ .search-icon,
.ban-search:not(:placeholder-shown) ~ .search-icon {
color: #fff;
transform: translateY(-50%) scale(1.15) rotate(-8deg);
}
@media (max-width: 900px) {
.ban-list-container { padding: 12px 2vw; }
.ban-card-row { flex-direction: column; gap: 10px; grid-template-columns: 1fr; }
.ban-cell-ban-reason { margin: 8px 0; }
.ban-cell.ban-name, .ban-cell.ban-id { max-width: 100%; }
}
@media (max-width: 600px) {
.ban-controls .search-container {
max-width: 100%;
margin: 0;
}
.ban-search {
font-size: 1rem;
padding: 12px 16px 12px 44px;
}
.search-icon {
left: 12px;
font-size: 1.1rem;
}
}
/* Logs */
.log-grid {
display: block;
margin-top: 24px;
max-height: 720px;
padding-bottom: 18px;
}
.log-list-container {
background: linear-gradient(120deg, rgba(34, 33, 33, 0.774) 60%, rgba(136, 136, 136, 0.1) 100%);
border-radius: 10px;
box-shadow: 0 8px 40px 0 rgba(195, 195, 196, 0.1), 0 1.5px 12px 0 rgba(0,0,0,0.18);
padding: 36px 24px 36px 24px;
overflow: auto;
backdrop-filter: blur(10px);
height: 720px;
border: 1px solid rgba(255, 255, 255, 0.548);
margin-left: 10px;
margin-right: 10px;
}
.log-card {
margin-bottom: 18px;
background: linear-gradient(120deg, rgba(38, 44, 34, 0.93) 60%, rgba(49, 66, 44, 0.82) 100%);
border-radius: 12px;
box-shadow: 0 4px 18px 0 rgba(0,0,0,0.14), 0 0 0 2px rgba(96, 246, 59, 0.1);
border-left: 6px solid #1a912a;
border-right: 6px solid #1a912a;
position: relative;
overflow: hidden;
transition: box-shadow 0.3s, transform 0.2s, border-color 0.3s;
animation: logPopIn 0.5s cubic-bezier(0.4,0,0.2,1);
backdrop-filter: blur(4px);
min-height: 48px;
}
.log-card:last-child {
margin-bottom: 0; /* Remove margin after last item */
}
.log-card-row {
display: grid;
grid-template-columns: 1.2fr 2fr 2fr 1.5fr 2fr;
align-items: center;
gap: 12px;
padding: 12px 18px;
border-radius: 12px;
position: relative;
min-height: 38px;
word-break: break-word;
}
.log-card.banned {
background: linear-gradient(120deg, rgba(44, 34, 34, 0.93) 60%, rgba(66, 44, 44, 0.82) 100%);
box-shadow: 0 4px 18px 0 rgba(0,0,0,0.14), 0 0 0 2px rgba(246, 59, 59, 0.1);
border-color: #ff3b3b;
}
.log-card.kicked {
background: linear-gradient(120deg, rgba(44, 41, 34, 0.93) 60%, rgba(66, 58, 44, 0.82) 100%);
box-shadow: 0 4px 18px 0 rgba(0,0,0,0.14), 0 0 0 2px rgba(246, 165, 59, 0.1);
border-color: #f59e0b;
}
.log-card.warned {
background: linear-gradient(120deg, rgba(34, 39, 44, 0.93) 60%, rgba(44, 58, 66, 0.82) 100%);
box-shadow: 0 4px 18px 0 rgba(0,0,0,0.14), 0 0 0 2px rgba(59, 134, 246, 0.1);
border-color: #3b82f6;
}
.log-action-badge {
display: inline-block;
font-size: 1rem;
font-weight: 800;
padding: 6px 14px;
border-radius: 8px;
width: 80px;
text-align: center;
background: linear-gradient(90deg, #273a23 60%, #273a23 120%);
color: #fff;
box-shadow: 0 1px 6px rgba(74, 239, 68, 0.1);
border: 1px solid #1a912a;
letter-spacing: 0.03em;
text-shadow: 0 1px 4px #2eb91c33;
transition: background 0.2s, border-color 0.2s;
}
.log-action-badge.banned {
background: linear-gradient(90deg, #3a2323 60%, #3a2323 120%);
border-color: #ff3b3b;
}
.log-action-badge.kicked {
background: linear-gradient(90deg, #3a2c23 60%, #3a2c23 120%);
border-color: #f59e0b;
}
.log-action-badge.warned {
background: linear-gradient(90deg, #23353a 60%, #23353a 120%);
border-color: #3b82f6;
}
.log-cell {
display: flex;
align-items: center;
gap: 8px;
font-size: 0.98rem;
font-weight: 500;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: normal;
word-break: break-word;
}
.log-name.banned { color: #ff3b3b; }
.log-name.kicked { color: #f59e0b; }
.log-name.warned { color: #3b82f6; }
.log-name .fa-ban { color: #ff3b3b; }
.log-name .fa-user-slash { color: #f59e0b; }
.log-name .fa-exclamation-triangle { color: #3b82f6; }
.log-reason { color: #fff; }
.log-admin i { color: #c084fc; }
.log-date i { color: #3b82f6; }
.log-name,
.log-reason,
.log-admin {
max-width: 80%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: block;
}
.log-date {
margin-left: 50px;
}
@keyframes logPopIn {
from { opacity: 0; transform: scale(0.95) translateY(20px);}
to { opacity: 1; transform: scale(1) translateY(0);}
}
@media (max-width: 900px) {
.log-card-row { grid-template-columns: 1fr; padding: 10px 8px; }
.log-card { border-radius: 8px; }
}
.logs-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 24px;
margin-bottom: 24px;
}
.logs-controls .log-search-container {
display: flex;
align-items: center;
max-width: 370px;
}
.logs-title {
margin-left: 100px;
}
.logs-options-title {
margin: 0;
}
.logs-options-title {
font-family: 'Audiowide', 'Segoe UI', sans-serif;
font-size: 2.5rem;
font-weight: normal;
margin: 0;
color: #ffffff;
letter-spacing: 0.05em;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.logs-search-input {
margin-right: 20px;
align-items: center;
position: relative;
width: 100%;
padding: 16px 20px 16px 52px;
border-radius: 18px;
background: rgba(39, 39, 39, 0.55);
border: 1.5px solid rgb(187, 187, 187);
color: #ffffff;
font-size: 1.15rem;
font-family: 'Audiowide', 'Segoe UI', sans-serif;
box-shadow: 0 8px 32px 0 rgba(176, 176, 177, 0.1), 0 1.5px 8px 0 rgba(0,0,0,0.13);
transition: border 0.22s, box-shadow 0.22s, background 0.22s;
outline: none;
letter-spacing: 0.03em;
}
.logs-search-input:focus {
background: rgba(60, 62, 63, 0.13);
border: 2px solid #737677;
}
.logs-search-container {
position: relative;
width: 100%;
max-width: 370px;
display: flex;
align-items: center;
}
.logs-search-icon {
position: absolute;
left: 16px;
color: rgba(255, 255, 255, 0.6);
font-size: 1.2rem;
pointer-events: none;
}
.logs-search-input:focus ~ .logs-search-icon,
.logs-search-input:not(:placeholder-shown) ~ .logs-search-icon {
color: #fff;
transform: translateY(-50%) scale(1.15) rotate(-8deg);
}
/* Dashboard */
.dashboard-title {
font-size: 3.2vh;
color: #fff;
font-weight: 800;
letter-spacing: 2px;
text-shadow: 0 2px 8px #00000044;
}
.dashboard-stats-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 2vw;
margin-bottom: 3vh;
}
.stat-card {
background: linear-gradient(135deg, #23272f 80%, #1e293b 100%);
border-radius: 18px;
box-shadow: 0 2px 12px rgba(0,0,0,0.12);
padding: 2.5vh 2vw;
display: flex;
align-items: center;
gap: 1.5vw;
transition: box-shadow 0.2s, transform 0.2s;
border: 1.5px solid #334155;
min-width: 0;
}
.stat-card:hover {
box-shadow: 0 6px 24px rgba(16,185,129,0.18);
transform: translateY(-4px) scale(1.03);
}
.stat-card-icon {
font-size: 3.2vh;
width: 4.5vh;
height: 4.5vh;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
background: rgba(255,255,255,0.08);
color: #fff;
box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.stat-card-info h3 {
color: #eab308;
font-size: 1.2vh;
margin: 0 0 0.5vh 0;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
}
.stat-card-info p {
font-size: 2.6vh;
font-weight: 800;
color: #fff;
margin: 0;
letter-spacing: 1px;
text-shadow: 0 2px 8px #00000033;
}
.performance-section {
background: #20232b;
padding: 2vh 2vw;
border-radius: 16px;
margin-bottom: 2vh;
box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}
.performance-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5vh;
}
.performance-header h3 {
font-size: 2vh;
color: #fff;
font-weight: 700;
margin: 0;
letter-spacing: 1px;
}
.performance-live-stats span {
font-size: 1.5vh;
color: #eab308;
margin-right: 2vw;
font-weight: 600;
}
.performance-chart-container {
background: transparent;
padding: 0;
height: 28vh;
}
.dashboard-actions-top {
display: flex;
justify-content: center;
align-items: center;
margin: 2vh 0 2vh 0;
}
.quick-actions-icons.colored-actions {
display: flex;
gap: 2vw;
background: #23272f;
border-radius: 18px;
padding: 1.5vh 3vw;
box-shadow: 0 2px 16px rgba(0,0,0,0.10);
justify-content: center;
align-items: center;
margin-bottom: 1.5vh;
height: 6vh;
width: 32vw;
}
.action-icon {
border: none;
font-size: 1.5rem;
cursor: pointer;
position: relative;
padding: 0.7rem 1.2rem;
border-radius: 14px;
outline: none;
transition: background 0.18s, color 0.18s, transform 0.18s;
color: #fff;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
height: 48px;
width: 48px;
display: flex;
align-items: center;
justify-content: center;
}
.action-icon.restart { background: linear-gradient(120deg, #2563eb 60%, #1e40af 100%); }
.action-icon.announce { background: linear-gradient(120deg, #eab308 60%, #f59e0b 100%); color: #222; }
.action-icon.peds { background: linear-gradient(120deg, #ef4444 60%, #991b1b 100%); }
.action-icon.props { background: linear-gradient(120deg, #a3e635 60%, #65a30d 100%); color: #222; }
.action-icon.vehicles { background: linear-gradient(120deg, #3b82f6 60%, #1e3a8a 100%); }
.action-icon.entities { background: linear-gradient(120deg, #ca3bf6 60%, #6b1e8a 100%); }
.action-icon:hover,
.action-icon:focus {
filter: brightness(1.18) saturate(1.25);
transform: translateY(-4px) scale(1.12);
box-shadow: 0 6px 24px rgba(0,0,0,0.22);
z-index: 2;
}
.icon-tooltip {
display: none;
position: absolute;
left: 50%;
top: 110%;
transform: translateX(-50%);
background: #222;
color: #fff;
padding: 0.4em 1em;
border-radius: 8px;
font-size: 1.1rem;
white-space: nowrap;
z-index: 10;
pointer-events: none;
opacity: 0.95;
}
.action-icon:hover .icon-tooltip,
.action-icon:focus .icon-tooltip {
display: block;
}
.dashboard-columns-2 {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2vw;
margin: 0 2vw;
}
.dashboard-col {
display: flex;
flex-direction: column;
min-width: 0;
}
.section-card {
background: linear-gradient(120deg, #23272f 80%, #1e293b 100%);
border-radius: 18px;
box-shadow: 0 2px 16px rgba(0,0,0,0.13);
border: 1.5px solid #334155;
padding: 2vh 2vw;
margin-bottom: 1.5vh;
}
.section-card h3 {
color: #eab308;
font-size: 1.3rem;
margin-bottom: 1.2vh;
letter-spacing: 1px;
}
.server-info-container.section-card h3 {
color: #3b82f6;
}
.recent-activity-container.section-card h3 {
color: #eab308;
}
.server-info-list li span:last-child {
color: #38bdf8;
font-weight: 700;
}
@media (max-width: 1200px) {
.dashboard-stats-grid {
grid-template-columns: 1fr 1fr;
gap: 2vh;
}
.quick-actions-icons.colored-actions {
width: 90vw;
gap: 2vh;
}
.dashboard-columns-2 {
grid-template-columns: 1fr;
gap: 2vh;
}
}
.dashboard-section {
padding: 2vh 2vw;
border-radius: 16px;
margin-bottom: 2vh;
}
.dashboard-title {
font-size: 2.2vh;
letter-spacing: 1.5px;
padding: 0;
}
.dashboard-stats-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1.5vw;
margin-bottom: 2vh;
}
.stat-card {
padding: 1.5vh 1.2vw;
border-radius: 14px;
gap: 1vw;
min-width: 0;
}
.stat-card-icon {
font-size: 2.2vh;
width: 3vh;
height: 3vh;
border-radius: 8px;
}
.stat-card-info h3 {
font-size: 1vh;
margin-bottom: 0.3vh;
}
.stat-card-info p {
font-size: 1.7vh;
}
.performance-section {
padding: 1.5vh 1.2vw;
border-radius: 14px;
margin-bottom: 2vh;
}
.performance-header h3 {
font-size: 1.4vh;
}
.performance-live-stats span {
font-size: 1.1vh;
margin-right: 1vw;
}
.performance-chart-container {
height: 28vh;
}
.dashboard-actions-top {
margin: 1.2vh 0 1.2vh 0;
}
.quick-actions-icons.colored-actions {
gap: 1vw;
padding: 1vh 1.5vw;
border-radius: 14px;
height: 4vh;
width: fit-content;
}
.action-icon {
font-size: 1.2rem;
padding: 0.5rem 0.9rem;
border-radius: 10px;
height: 36px;
width: 36px;
}
.icon-tooltip {
font-size: 0.9rem;
padding: 0.2em 0.7em;
border-radius: 7px;
}
.dashboard-columns-2 {
gap: 1.5vw;
margin: 0 1.5vw;
}
.section-card {
border-radius: 14px;
padding: 1.2vh 1vw;
margin-bottom: 1.2vh;
}
.section-card h3 {
font-size: 1.2vh;
margin-bottom: 0.8vh;
}
@media (max-width: 1200px) {
.dashboard-stats-grid {
grid-template-columns: 1fr 1fr;
gap: 1.5vh;
}
.quick-actions-icons.colored-actions {
width: 60vw;
gap: 1.2vh;
}
.dashboard-columns-2 {
grid-template-columns: 1fr;
gap: 1.2vh;
}
}
.performance-live-stats {
display: flex;
gap: 1px;
padding: 1rem;
background: #1b1b1b; /* Dark card background */
border-radius: 12px;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
color: #fff;
width: fit-content; /* Or set a fixed width */
font-size: 1rem;
}
/* Optional: consistent styling for individual items */
.performance-live-stats span {
display: flex;
align-items: center;
gap: 6px;
font-weight: 500;
}
.performance-live-stats i {
color: #3b82f6; /* Blue icon color */
font-size: 1.2rem;
}
/* ...existing code... */
.recent-activity-list li {
display: flex;
align-items: flex-start;
gap: 1.2vh;
padding: 1vh 0.5vh;
font-size: 1.15vh;
color: var(--text-color);
border-bottom: 1px solid var(--border-color);
background: transparent;
transition: background 0.18s;
}
.recent-activity-list li:last-child {
border-bottom: none;
}
.recent-activity-list li .activity-icon-wrapper {
display: flex;
align-items: center;
justify-content: center;
min-width: 2.2vh;
margin-top: 0.2vh;
}
.recent-activity-list li .activity-icon {
width: 2.2vh;
height: 2.2vh;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2vh;
color: #fff;
}
.recent-activity-list li .activity-icon.banned { background: var(--danger-color); }
.recent-activity-list li .activity-icon.kicked { background: var(--warning-color); }
.recent-activity-list li .activity-icon.warned { background: var(--info-color); }
.recent-activity-list li .activity-icon.unbanned { background: var(--success-color); }
.recent-activity-list li .activity-icon:not(.banned):not(.kicked):not(.warned):not(.unbanned) {
background: var(--text-muted);
}
.recent-activity-list li .activity-main {
display: flex;
flex-direction: column;
flex: 1;
min-width: 0;
gap: 0.2vh;
}
.recent-activity-list li .activity-title-row {
display: flex;
align-items: baseline;
gap: 0.1vh;
font-size: 1.15vh;
font-weight: 600;
flex-wrap: wrap;
line-height: 1.2;
}
.recent-activity-list li .activity-type b {
font-size: 1.15vh;
color: #fff;
font-weight: 700;
}
.recent-activity-list li .activity-name {
color: #fff;
font-size: 1.1vh;
font-weight: 500;
word-break: break-word;
margin-left: 0.2vh;
}
.recent-activity-list li .activity-meta-row {
display: flex;
align-items: center;
gap: 1.2vh;
font-size: 1.05vh;
color: var(--text-muted);
flex-wrap: wrap;
margin-top: 0.1vh;
}
.recent-activity-list li .activity-admin i,
.recent-activity-list li .activity-reason i,
.recent-activity-list li .activity-time i {
margin-right: 0.3vh;
color: var(--primary-color);
font-size: 1.05vh;
}
.recent-activity-list li .activity-admin,
.recent-activity-list li .activity-reason,
.recent-activity-list li .activity-time {
display: flex;
align-items: center;
gap: 0.2vh;
white-space: nowrap;
}
/* Player List Styles */
.player-card-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 2vw;
cursor: pointer;
padding: 1.2vh 1vw;
border-radius: 12px;
background: linear-gradient(135deg, #23272f 80%, #1e293b 100%);
border: 1.5px solid #334155;
transition: background 0.2s, box-shadow 0.2s;
}
.player-card-row:hover {
background: var(--card-hover-bg);
box-shadow: 0 4px 16px rgba(16,185,129,0.10);
}
.player-card-expanded {
background: linear-gradient(135deg, #23272f 80%, #1e293b 100%);
border-radius: 14px;
margin-top: 8px;
padding: 2vh 2vw;
box-shadow: 0 2px 12px rgba(0,0,0,0.12);
border: 1.5px solid #334155;
display: flex;
flex-direction: column;
gap: 2vh;
animation: fadeIn 0.2s;
}
.player-expanded-header {
display: flex;
align-items: flex-start;
gap: 2vw;
margin-bottom: 1vh;
}
.player-avatar-expanded {
width: 54px;
height: 54px;
border-radius: 50%;
background: #3b82f6;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 2rem;
}
.player-expanded-name {
font-size: 1.3rem;
font-weight: 700;
color: #fff;
margin-bottom: 2px;
letter-spacing: 0.5px;
}
.player-expanded-id {
background: rgba(39, 39, 39, 0.55);
border-left: 4px solid #3b82f6;
border-radius: 8px;
padding: 8px 16px;
margin-top: 4px;
font-size: 1rem;
color: #e2e8f0;
}
.player-id-label {
color: #94a3b8;
font-weight: 600;
margin-right: 8px;
}
.player-id-value {
color: #fff;
font-weight: 700;
}
.player-expanded-identifiers {
margin-left: auto;
}
.player-section-title {
font-size: 1rem;
color: #fff;
font-weight: 700;
margin-bottom: 6px;
border-bottom: 1px solid rgba(255,255,255,0.15);
padding-bottom: 2px;
}
.player-section-list {
list-style: none;
padding: 0;
margin: 0;
}
.player-section-list li {
font-size: 0.98rem;
color: #e2e8f0;
margin-bottom: 4px;
display: flex;
align-items: center;
gap: 8px;
font-family: 'Consolas', monospace;
word-break: break-all;
}
.player-section-list li i {
color: var(--primary-color);
font-size: 1.1em;
margin-right: 4px;
}
.player-expanded-actions {
display: flex;
gap: 1vh;
margin-top: 1vh;
justify-content: flex-end;
flex-wrap: wrap;
}
.action-btn {
background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
color: var(--text-color);
border: none;
border-radius: 8px;
padding: 0.7vh 1.2vh;
font-size: 1.5vh;
cursor: pointer;
transition: background 0.3s, transform 0.2s;
display: flex;
align-items: center;
gap: 0.5vh;
position: relative;
}
.action-btn.kick { background: linear-gradient(145deg, #ef4444, #dc2626); }
.action-btn.ban { background: linear-gradient(145deg, #b91c1c, #ef4444); }
.action-btn.bring { background: linear-gradient(145deg, #3b82f6, #2563eb); }
.action-btn.teleport { background: linear-gradient(145deg, #eab308, #f59e0b); color: #222; }
.action-btn.spectate { background: linear-gradient(145deg, #10b981, #059669); }
.action-btn.screenshot { background: linear-gradient(145deg, #a3e635, #65a30d); color: #222; }
.action-btn:active { transform: scale(0.97); }
.details-btn {
background: linear-gradient(90deg, #23353a 60%, #1c72b9 120%);
border-left: 5px solid #3b89ff;
border-radius: 8px;
padding: 8px 18px;
color: #fff;
font-weight: 600;
box-shadow: 0 1px 8px 0 rgba(68, 185, 239, 0.1);
margin: 0 12px;
transition: background 0.2s;
text-shadow: 0 1px 8px #1ca1b933;
max-width: 80%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.details-btn:hover {
background: linear-gradient(90deg, #0c718a 60%, #0c718a 100%);
color: #fff;
transform: scale(1.04);
}
.player-list-unique {
flex-direction: column;
gap: 1.5vh;
padding: 1vh 0;
}
.player-card-unique {
background: linear-gradient(135deg, #23272f 80%, #1e293b 100%);
border-radius: 16px;
box-shadow: 0 2px 12px rgba(16,185,129,0.08);
transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
cursor: pointer;
margin-bottom: 0.5vh;
border: 1.5px solid var(--border-color);
overflow: hidden;
position: relative;
}
.player-card-unique:hover {
box-shadow: 0 4px 24px rgba(16,185,129,0.18);
background: linear-gradient(135deg, #29313d 90%, #1e293b 100%);
border-color: var(--primary-color);
transform: scale(1.01);
}
.player-card-row-unique {
display: flex;
align-items: center;
padding: 1.2vh 2vh;
gap: 1.5vh;
}
.player-avatar-unique {
width: 48px;
height: 48px;
background: rgba(16,185,129,0.12);
color: #10b981;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 2.2vh;
margin-right: 1.5vh;
box-shadow: 0 2px 8px rgba(16,185,129,0.08);
}
.player-info-unique {
flex: 1;
display: flex;
flex-direction: column;
gap: 0.2vh;
}
.player-ingame-name-unique {
font-size: 1.2rem;
font-weight: 700;
color: var(--text-heading-color);
letter-spacing: 0.5px;
}
.player-id-unique {
font-size: 1.05rem;
color: var(--primary-color);
font-family: 'Consolas', monospace;
font-weight: 600;
}
.player-job-unique {
font-size: 1rem;
color: var(--text-muted);
font-weight: 500;
}
.details-btn-unique {
background: none;
border: none;
color: var(--primary-color);
font-size: 1.5rem;
cursor: pointer;
margin-left: 1vh;
transition: color 0.2s;
border-radius: 8px;
padding: 0.5vh 1vh;
}
.details-btn-unique:hover {
color: var(--secondary-color);
background: rgba(16,185,129,0.08);
}
.player-card-expanded-unique {
background: linear-gradient(135deg, #1e2124 80%, #23272f 100%);
border-top: 1px solid var(--border-color);
padding: 2vh 2.5vh 1.5vh 6.5vh;
display: flex;
flex-direction: column;
gap: 1.5vh;
animation: fadeIn 0.3s;
}
.player-identifiers-unique {
display: flex;
flex-wrap: wrap;
gap: 2vh;
margin-bottom: 1vh;
}
.identifier-group {
display: flex;
flex-direction: column;
gap: 0.5vh;
font-size: 1rem;
color: var(--text-color);
}
.identifier-group span {
display: flex;
align-items: center;
gap: 0.7vh;
background: var(--card-bg);
border-radius: 6px;
padding: 0.5vh 1vh;
margin-bottom: 0.3vh;
font-family: 'Consolas', monospace;
font-size: 0.98rem;
color: var(--text-color);
}
.identifier-group i {
color: var(--primary-color);
font-size: 1.1em;
}
.action-btn-unique {
border: none;
border-radius: 10px;
padding: 0.9vh 1.2vh;
font-size: 1.2rem;
cursor: pointer;
transition: background 0.2s, transform 0.2s;
color: #fff;
background: linear-gradient(145deg, #3b82f6, #2563eb);
box-shadow: 0 2px 8px rgba(59,130,246,0.08);
display: flex;
align-items: center;
justify-content: center;
}
.action-btn-unique.kick { background: linear-gradient(145deg, #ef4444, #dc2626); }
.action-btn-unique.ban { background: linear-gradient(145deg, #b91c1c, #ef4444); }
.action-btn-unique.bring { background: linear-gradient(145deg, #3b82f6, #2563eb); }
.action-btn-unique.teleport { background: linear-gradient(145deg, #eab308, #f59e0b); color: #222; }
.action-btn-unique.spectate { background: linear-gradient(145deg, #10b981, #059669); }
.action-btn-unique.screenshot { background: linear-gradient(145deg, #a3e635, #65a30d); color: #222; }
.action-btn-unique:hover {
transform: translateY(-2px) scale(1.07);
filter: brightness(1.1);
}
.no-players-unique {
text-align: center;
color: var(--text-muted);
font-size: 1.2rem;
margin-top: 2vh;
padding: 2vh 0;
background: var(--card-bg);
border-radius: 12px;
box-shadow: 0 2px 8px rgba(59,130,246,0.04);
}
.player-list-title {
font-family: 'Audiowide', sans-serif;
font-size: 2.2vh;
color: var(--primary-color);
margin: 0;
display: flex;
align-items: center;
gap: 8px;
}
/* Two-column layout for identifiers/hardware */
.player-identifiers-unique-row {
display: flex;
gap: 3vw;
margin-bottom: 2vh;
margin-top: 1vh;
}
.player-identifiers-unique-col {
flex: 1;
min-width: 0;
}
.section-title-unique {
font-size: 1.1rem;
color: var(--primary-color);
font-weight: 700;
margin-bottom: 1vh;
display: flex;
align-items: center;
gap: 0.7vh;
letter-spacing: 1px;
text-transform: uppercase;
border-bottom: 1px solid var(--border-color);
padding-bottom: 0.5vh;
}
.identifier-group {
display: flex;
flex-direction: column;
gap: 0.5vh;
}
.identifier-group span {
display: flex;
align-items: center;
gap: 0.7vh;
background: var(--card-bg);
border-radius: 6px;
padding: 0.5vh 1vh;
margin-bottom: 0.3vh;
font-family: 'Consolas', monospace;
font-size: 0.98rem;
color: var(--text-color);
word-break: break-all;
}
.identifier-group i {
color: var(--primary-color);
font-size: 1.1em;
}
.player-actions-unique {
align-items: center; /* vertical centering in flex row */
text-align: center; /* affects inline content inside children */
margin-top: 2vh;
display: flex;
gap: 1.2vh;
justify-content: center; /* horizontal centering in flex row */
}
.custom-tooltip {
position: absolute;
bottom: 110%;
left: 50%;
transform: translateX(-50%);
background: #23272f;
color: #eab308;
padding: 6px 14px;
border-radius: 8px;
font-size: 0.95rem;
font-family: 'Audiowide', sans-serif;
white-space: nowrap;
box-shadow: 0 2px 8px rgba(0,0,0,0.18);
opacity: 0;
pointer-events: none;
transition: opacity 0.18s;
z-index: 10;
}
.action-btn-unique:hover .custom-tooltip,
.action-btn-unique:focus .custom-tooltip {
opacity: 1;
}
.action-btn-unique {
position: relative;
}