/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[12].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[12].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"Inter","arguments":[{"subsets":["latin"]}],"variableName":"inter"} ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/ba9851c3c22cd980-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/21350d82a1f187e9-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/df0a9ae256c0569c-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/8e9860b6e62d6359-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__Inter_f367f3';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: '__Inter_Fallback_f367f3';src: local("Arial");ascent-override: 90.20%;descent-override: 22.48%;line-gap-override: 0.00%;size-adjust: 107.40%
}.__className_f367f3 {font-family: '__Inter_f367f3', '__Inter_Fallback_f367f3';font-style: normal
}

/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[12].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[12].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
/* Variables CSS para el tema oscuro azul/morado */
:root {
  --primary-dark: #0a0a0f;
  --secondary-dark: #1a1a2e;
  --accent-purple: #16213e;
  --accent-blue: #0f3460;
  --light-blue: #4a90e2;
  --bright-blue: #5dade2;
  --purple-glow: #8e44ad;
  --text-primary: #ffffff;
  --text-secondary: #b8c6db;
  --border-color: #2c3e50;
  --error: #e74c3c;
}

/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-primary);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Fondo fijo que no se mueve */
html::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('/paisaje.jpg') center center/cover no-repeat;
  z-index: -2;
}

/* Overlay sin blur */
html::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

/* Contenedor principal */
.main-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Estilos para botones */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.btn-icon {
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(2px);
}

.btn-primary {
  background: var(--light-blue);
  color: white;
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}

.btn-primary:hover {
  background: var(--bright-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.5);
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn:disabled:hover {
  transform: none;
}

/* Estilos para inputs */
.input-group {
  margin-bottom: 20px;
  position: relative;
}

.input-field {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 15px;
  transition: all 0.3s ease;
}

.input-field:focus {
  outline: none;
  border-color: var(--light-blue);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(74, 144, 226, 0.3);
}

.input-field::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.input-field.error {
  border-color: var(--error);
  box-shadow: 0 0 20px rgba(231, 76, 60, 0.3);
}

/* Estilos para labels */
.label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  font-size: 14px;
}

.label-icon {
  color: var(--light-blue);
}

/* Cards y contenedores */
.card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 40px;
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Títulos */
.title {
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.title-icon {
  color: var(--light-blue);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-bottom: 30px;
}

/* Estados de error */
.error-message {
  color: var(--error);
  font-size: 13px;
  margin-top: 8px;
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Accesibilidad */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus visible para accesibilidad */
.btn:focus-visible,
.input-field:focus-visible {
  outline: 2px solid var(--light-blue);
  outline-offset: 2px;
}

/* Mejoras para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
    padding: 16px 28px;
  }
  
  .input-field {
    min-height: 44px;
    padding: 18px 20px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .main-container {
    padding: 15px;
  }
  
  .card {
    padding: 35px 25px;
  }
  
  .title {
    font-size: 2.2rem;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 15px;
  }
}

/* Skin de Minecraft */
.skin-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.minecraft-skin {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px auto;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  animation: float 3s ease-in-out infinite;
  border-radius: 4px;
  overflow: hidden;
}

.minecraft-skin .skin-image {
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Responsive para móvil */
@media (max-width: 768px) {
  .minecraft-skin {
    width: 60px;
    height: 60px;
  }
}

/* Dashboard y componentes de usuario */
.user-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.user-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar {
  width: 60px;
  height: 60px;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.user-details {
  flex: 1 1;
}

.username {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin: 0 0 8px 0;
}

.user-role {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}

.welcome-message {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.welcome-message p {
  margin: 8px 0;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--accent-purple), var(--purple-glow));
  color: white;
  box-shadow: 0 4px 15px rgba(142, 68, 173, 0.4);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--purple-glow), #9b59b6);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(142, 68, 173, 0.5);
}

/* Loading spinner */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid var(--light-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Dashboard Layout */
.dashboard-layout {
  min-height: 100vh;
  display: flex;
  position: relative;
}

.dashboard-layout::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('/paisaje2.jpg') center center/cover no-repeat;
  z-index: -2;
}

.dashboard-layout::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

/* Sidebar */
.mobile-menu-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 12px;
  color: white;
  cursor: pointer;
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: none;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.mobile-menu-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

.sidebar {
  width: 280px;
  background: rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  transform: translateX(-100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sidebar-open {
  transform: translateX(0);
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.sidebar-header {
  padding: 25px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  font-size: 1.5rem;
}

.brand-text {
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
}

.close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: none;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Info del usuario en sidebar */
.sidebar-user {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.user-details {
  flex: 1 1;
}

.user-name {
  color: white;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 2px;
}

.user-role {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-nav {
  padding: 20px 0;
  flex: 1 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 25px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  border-radius: 0;
  margin: 2px 0;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding-left: 30px;
}

.nav-item.active {
  background: linear-gradient(90deg, var(--light-blue), transparent);
  color: white;
  border-right: 3px solid var(--bright-blue);
  padding-left: 30px;
}

/* Footer del sidebar */
.sidebar-footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
  flex-shrink: 0;
}

.logout-sidebar-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: 8px;
  color: #e74c3c;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.logout-sidebar-btn:hover {
  background: rgba(231, 76, 60, 0.2);
  border-color: rgba(231, 76, 60, 0.5);
  transform: translateY(-1px);
}

/* Main Content */
.main-content {
  flex: 1 1;
  margin-left: 280px;
  min-height: 100vh;
}

.floating-header {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  margin: 20px;
  padding: 20px 30px;
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.floating-header h1 {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.role-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  color: white;
  text-transform: uppercase;
}

.logout-btn {
  background: var(--error);
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.logout-btn:hover {
  background: #c0392b;
  transform: translateY(-1px);
}

.content-area {
  padding: 0 20px 20px;
}

/* Secciones */
.welcome-section,
.section-placeholder {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 40px;
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  text-align: center;
  color: white;
}

.welcome-section h2,
.section-placeholder h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.welcome-section p,
.section-placeholder p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

/* Server Control Component - Moderno y Profesional */
.server-control-modern {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 32px;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  max-width: 600px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.server-control-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--light-blue), var(--bright-blue), var(--purple-glow));
  border-radius: 20px 20px 0 0;
}

.server-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.server-icon {
  width: 28px;
  height: 28px;
  color: var(--light-blue);
  filter: drop-shadow(0 2px 8px rgba(74, 144, 226, 0.4));
}

.server-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.server-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 32px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.stat-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(74, 144, 226, 0.15);
  border: 1px solid rgba(74, 144, 226, 0.3);
}

.status-indicator-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
}

.status-indicator-dot.running {
  background: #00ff88;
  box-shadow: 
    0 0 20px rgba(0, 255, 136, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: statusPulse 2s ease-in-out infinite;
}

.status-indicator-dot.starting {
  background: #ffaa00;
  box-shadow: 
    0 0 20px rgba(255, 170, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: statusPulse 1s ease-in-out infinite;
}

.status-indicator-dot.restarting {
  background: #ff6b35;
  box-shadow: 
    0 0 20px rgba(255, 107, 53, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: statusPulse 1.5s ease-in-out infinite;
}

.status-indicator-dot.stopped {
  background: #ff4757;
  box-shadow: 
    0 0 10px rgba(255, 71, 87, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@keyframes statusPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.stat-icon {
  width: 20px;
  height: 20px;
  color: var(--light-blue);
}

.stat-info {
  flex: 1 1;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.stat-value.status-running {
  color: #00ff88;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.stat-value.status-starting {
  color: #ffaa00;
  text-shadow: 0 0 10px rgba(255, 170, 0, 0.3);
}

.stat-value.status-restarting {
  color: #ff6b35;
  text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.stat-value.status-stopped {
  color: #ff4757;
  text-shadow: 0 0 10px rgba(255, 71, 87, 0.3);
}

.server-error {
  background: linear-gradient(135deg, rgba(255, 71, 87, 0.15), rgba(255, 71, 87, 0.1));
  border: 1px solid rgba(255, 71, 87, 0.3);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
  color: #ff4757;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.2);
}

.server-actions {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-gap: 16px;
  gap: 16px;
}

.server-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.server-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.server-btn:hover::before {
  left: 100%;
}

.server-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.server-btn:disabled::before {
  display: none;
}

.server-btn.start {
  background: linear-gradient(135deg, #00ff88, #00d46a);
  color: #003d1a;
  box-shadow: 
    0 8px 25px rgba(0, 255, 136, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.server-btn.start:hover:not(:disabled) {
  background: linear-gradient(135deg, #00d46a, #00b359);
  transform: translateY(-3px);
  box-shadow: 
    0 12px 35px rgba(0, 255, 136, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.server-btn.restart {
  background: linear-gradient(135deg, #ffaa00, #ff8c00);
  color: #4d2d00;
  box-shadow: 
    0 8px 25px rgba(255, 170, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.server-btn.restart:hover:not(:disabled) {
  background: linear-gradient(135deg, #ff8c00, #ff7700);
  transform: translateY(-3px);
  box-shadow: 
    0 12px 35px rgba(255, 170, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.server-btn.stop {
  background: linear-gradient(135deg, #ff4757, #ff3742);
  color: #4d0d11;
  box-shadow: 
    0 8px 25px rgba(255, 71, 87, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.server-btn.stop:hover:not(:disabled) {
  background: linear-gradient(135deg, #ff3742, #ff2635);
  transform: translateY(-3px);
  box-shadow: 
    0 12px 35px rgba(255, 71, 87, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Server Control en Welcome Section */
.welcome-section .mt-6 {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .server-control-modern {
    max-width: 100%;
    margin: 0 -10px;
    padding: 24px 20px;
  }
  
  .server-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .server-actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .server-btn {
    padding: 14px 20px;
    font-size: 14px;
  }
  
  .stat-item {
    padding: 16px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .sidebar {
    width: 100%;
  }
  
  .sidebar-overlay {
    display: block;
  }
  
  .close-btn {
    display: block;
  }
  
  .main-content {
    margin-left: 0;
  }
  
  .floating-header {
    margin: 70px 10px 10px;
    padding: 15px 20px;
    flex-direction: column;
    gap: 15px;
  }
  
  .content-area {
    padding: 0 10px 20px;
  }
}

@media (min-width: 769px) {
  .sidebar {
    transform: translateX(0);
  }
}

/* Monitor del Sistema */
.system-monitor {
  color: white;
}

.monitor-header {
  margin-bottom: 25px;
}

.monitor-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 25px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 25px;
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.stat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.stat-header h3 {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.stat-icon {
  width: 20px;
  height: 20px;
}

.stat-icon.cpu { color: #4a90e2; }
.stat-icon.memory { color: #8e44ad; }
.stat-icon.disk { color: #e67e22; }
.stat-icon.network { color: #27ae60; }

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 5px;
}

.stat-detail {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.chart-container {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 25px;
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.chart-container h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

/* Gestión de Usuarios */
.user-management {
  color: white;
}

.management-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.management-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
}

/* Filtros */
.filters-container {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.filter-input {
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: white;
  font-size: 14px;
  min-width: 200px;
  transition: all 0.3s ease;
}

.filter-input:focus {
  outline: none;
  border-color: var(--light-blue);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 15px rgba(74, 144, 226, 0.3);
}

.filter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.filter-select {
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: white;
  font-size: 14px;
  min-width: 160px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-select:focus {
  outline: none;
  border-color: var(--light-blue);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 15px rgba(74, 144, 226, 0.3);
}

.filter-select option {
  background: #1a1a2e;
  color: white;
  padding: 8px;
}

.clear-filters-btn {
  padding: 10px 16px;
  background: rgba(142, 68, 173, 0.2);
  border: 1px solid rgba(142, 68, 173, 0.4);
  border-radius: 8px;
  color: #8e44ad;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.clear-filters-btn:hover {
  background: rgba(142, 68, 173, 0.3);
  border-color: rgba(142, 68, 173, 0.6);
  transform: translateY(-1px);
}

.results-count {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  margin-left: auto;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.users-table-container {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 20px;
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  height: 500px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.users-table-container::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.users-table-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.users-table-container::-webkit-scrollbar-thumb {
  background: var(--light-blue);
  border-radius: 4px;
}

.users-table-container::-webkit-scrollbar-thumb:hover {
  background: var(--bright-blue);
}

@media (max-width: 1200px) {
  .users-table-container {
    max-width: 800px;
  }
}

@media (max-width: 900px) {
  .users-table-container {
    max-width: 600px;
  }
}

@media (max-width: 600px) {
  .users-table-container {
    height: 400px;
    max-width: 350px;
    margin: 0 auto;
  }
}

.users-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
}

.users-table th {
  text-align: left;
  padding: 12px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 14px;
}

.users-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.users-table tr.banned-user {
  background: rgba(231, 76, 60, 0.1);
}

.user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.username {
  font-weight: 500;
}

.ban-indicator {
  background: var(--error);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
}

.admin-indicator {
  background: linear-gradient(45deg, #FFD700, #FFA500);
  color: #000;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-shadow: none;
}

.protected-user {
  color: #FFD700;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.role-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  color: white;
  text-transform: uppercase;
}

.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
}

.status-badge.active {
  background: rgba(39, 174, 96, 0.2);
  color: #27ae60;
}

.status-badge.banned {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
}

.action-buttons {
  display: flex;
  gap: 8px;
}

.action-btn {
  padding: 6px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-btn.edit {
  background: rgba(52, 152, 219, 0.2);
  color: #3498db;
}

.action-btn.edit:hover {
  background: rgba(52, 152, 219, 0.3);
}

.action-btn.ban {
  background: rgba(230, 126, 34, 0.2);
  color: #e67e22;
}

.action-btn.ban:hover {
  background: rgba(230, 126, 34, 0.3);
}

.action-btn.unban {
  background: rgba(39, 174, 96, 0.2);
  color: #27ae60;
}

.action-btn.unban:hover {
  background: rgba(39, 174, 96, 0.3);
}

.action-btn.delete {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
}

.action-btn.delete:hover {
  background: rgba(231, 76, 60, 0.3);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.modal-content {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  max-width: 450px;
  width: 90%;
  max-height: 600px;
  color: white;
  overflow-y: auto;
}

.modal-header {
  padding: 25px 30px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
  margin: 0;
}

.modal-form {
  padding: 25px 30px 30px;
}

.modal-form .input-group {
  margin-bottom: 20px;
}

.modal-form .input-field {
  background: rgba(255, 255, 255, 0.1);
}

.modal-form .input-field:focus {
  background: rgba(255, 255, 255, 0.15);
}

.select-wrapper {
  position: relative;
}

.select-field {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: white;
  font-size: 15px;
  transition: all 0.3s ease;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
}

.select-field:focus {
  outline: none;
  border-color: var(--light-blue);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(74, 144, 226, 0.3);
}

.select-field option {
  background: #1a1a2e;
  color: white;
  padding: 10px;
}

.role-preview {
  margin-top: 8px;
  display: flex;
  justify-content: center;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.modal-actions .btn {
  flex: 1 1;
  padding: 12px 20px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .management-header {
    flex-direction: column;
    gap: 15px;
  }
  
  .filters-container {
    padding: 15px;
    gap: 10px;
  }
  
  .filter-input,
  .filter-select {
    min-width: 140px;
    font-size: 13px;
  }
  
  .results-count {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
  
  .users-table-container {
    padding: 10px;
    margin: 0 auto;
  }
  
  .users-table {
    font-size: 11px;
    min-width: 600px;
  }
  
  .users-table th,
  .users-table td {
    padding: 6px;
    font-size: 11px;
  }
  
  .role-badge,
  .status-badge {
    font-size: 9px;
    padding: 2px 4px;
  }
  
  .admin-indicator,
  .ban-indicator {
    font-size: 8px;
    padding: 1px 3px;
  }
  
  .modal-content {
    max-width: 95%;
    margin: 10px;
    max-height: 600px;
  }
  
  .modal-overlay {
    padding: 10px;
    align-items: flex-start;
    overflow-y: auto;
  }
  
  .modal-actions {
    flex-direction: column;
  }
  
  .action-buttons {
    flex-direction: column;
    gap: 4px;
  }
  
  .action-btn {
    padding: 4px;
  }
}

/* Gestor de Archivos - Estilo Windows */
.file-manager {
  display: flex;
  height: calc(100vh - 140px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

/* Navegador lateral */
.file-sidebar {
  width: 250px;
  background: rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.folder-tree {
  flex: 1 1;
  overflow-y: auto;
  padding: 10px 0;
}

.tree-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.tree-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.tree-item.active {
  background: rgba(74, 144, 226, 0.2);
  color: white;
  border-right: 3px solid var(--light-blue);
}

.tree-icon {
  width: 16px;
  height: 16px;
  color: #ffd700;
}

/* Área principal */
.file-main {
  flex: 1 1;
  display: flex;
  flex-direction: column;
}

/* Toolbar */
.file-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.nav-buttons {
  display: flex;
  gap: 5px;
}

.nav-btn {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.address-bar {
  flex: 1 1;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 8px 12px;
  margin: 0 15px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1 1;
}

.breadcrumb-btn {
  background: none;
  border: none;
  color: var(--light-blue);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 13px;
}

.breadcrumb-btn:hover {
  background: rgba(74, 144, 226, 0.2);
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 3px;
}

.toolbar-actions {
  display: flex;
  gap: 8px;
}

.toolbar-btn {
  padding: 8px 12px;
  background: var(--light-blue);
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.toolbar-btn:hover {
  background: var(--bright-blue);
  transform: translateY(-1px);
}

/* Área de contenido */
.file-content {
  flex: 1 1;
  display: flex;
  flex-direction: column;
}

/* Filtros */
.file-filters {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.search-group {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 8px 12px;
}

.search-input {
  background: none;
  border: none;
  color: white;
  font-size: 14px;
  min-width: 200px;
  outline: none;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.type-filter {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: white;
  font-size: 14px;
  cursor: pointer;
}

.type-filter option {
  background: #1a1a2e;
  color: white;
}

/* Vista de archivos */
.file-view {
  flex: 1 1;
  overflow-y: auto;
  padding: 20px;
}

.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  grid-gap: 15px;
  gap: 15px;
}

.file-list-view {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.file-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.05);
}

.file-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.file-item.selected {
  background: rgba(74, 144, 226, 0.2);
  border-color: var(--light-blue);
}

.file-item.cut {
  opacity: 0.5;
  background: rgba(255, 255, 255, 0.03);
  border: 2px dashed rgba(255, 255, 255, 0.3);
}

.file-item-list {
  flex-direction: row;
  padding: 8px 15px;
  gap: 12px;
}

.file-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.file-item-list .file-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 0;
}

.file-icon.folder { color: #ffd700; }
.file-icon.image { color: #ff6b6b; }
.file-icon.text { color: #4ecdc4; }
.file-icon.code { color: #45b7d1; }
.file-icon.json { color: #96ceb4; }
.file-icon.nbt { color: #dda0dd; }
.file-icon.archive { color: #ffa726; }
.file-icon.default { color: rgba(255, 255, 255, 0.7); }

.file-name {
  font-size: 13px;
  color: white;
  text-align: center;
  word-break: break-word;
  line-height: 1.2;
  max-width: 100px;
}

.file-item-list .file-name {
  text-align: left;
  max-width: none;
  flex: 1 1;
}

.file-details {
  display: none;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.file-item-list .file-details {
  display: flex;
  gap: 15px;
  margin-top: 0;
}

.context-menu {
  position: fixed;
  background: rgba(26, 26, 46, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 0;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 3000;
  min-width: 180px;
}

.context-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.context-menu button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.view-toggle {
  display: flex;
  gap: 5px;
  margin-left: auto;
}

.view-btn {
  padding: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-btn.active {
  background: var(--light-blue);
  color: white;
}

.view-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Barra de acciones de archivos */
.file-actions-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.action-group {
  display: flex;
  gap: 5px;
  align-items: center;
}

.file-action-btn {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.file-action-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.file-action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.05);
}

.file-action-btn.primary {
  background: var(--light-blue);
  border-color: var(--light-blue);
}

.file-action-btn.primary:hover:not(:disabled) {
  background: var(--bright-blue);
}

.file-action-btn.danger {
  background: rgba(231, 76, 60, 0.2);
  border-color: rgba(231, 76, 60, 0.4);
  color: #e74c3c;
}

.file-action-btn.danger:hover:not(:disabled) {
  background: rgba(231, 76, 60, 0.3);
}

/* Checkbox para selección */
.file-checkbox {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  cursor: pointer;
  accent-color: var(--light-blue);
}

.select-all-checkbox {
  margin-right: 8px;
}

.selection-info {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.clipboard-info {
  color: var(--light-blue);
  font-size: 12px;
  background: rgba(74, 144, 226, 0.1);
  border: 1px solid rgba(74, 144, 226, 0.3);
  border-radius: 4px;
  padding: 4px 8px;
  margin-left: 10px;
  cursor: help;
  transition: all 0.3s ease;
}

.clipboard-info:hover {
  background: rgba(74, 144, 226, 0.2);
  border-color: rgba(74, 144, 226, 0.5);
}

.multi-select-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  cursor: pointer;
  margin-left: 15px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.multi-select-toggle input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--light-blue);
}

.multi-select-toggle:hover {
  color: white;
}

/* Progress modals */
.progress-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4000;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.progress-modal {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  padding: 30px;
  min-width: 300px;
  text-align: center;
  color: white;
}

.progress-modal h4 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  color: white;
}

.progress-modal p {
  margin: 0 0 20px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--light-blue), var(--bright-blue));
  border-radius: 4px;
  transition: width 0.3s ease;
  animation: progressGlow 2s ease-in-out infinite alternate;
}

@keyframes progressGlow {
  0% { box-shadow: 0 0 5px rgba(74, 144, 226, 0.5); }
  100% { box-shadow: 0 0 15px rgba(74, 144, 226, 0.8); }
}

.progress-modal span {
  font-size: 14px;
  font-weight: 600;
  color: var(--light-blue);
}

/* Modal de subida */
.upload-zone {
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.upload-zone:hover {
  border-color: var(--light-blue);
  background: rgba(74, 144, 226, 0.1);
}

.upload-zone svg {
  color: var(--light-blue);
  margin-bottom: 16px;
}

/* Modal de imagen */
.image-modal {
  background: rgba(26, 26, 46, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
}

.image-header {
  background: linear-gradient(135deg, var(--light-blue), var(--bright-blue));
  color: white;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.image-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.image-header .close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.3s;
}

.image-header .close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.image-container {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
}

/* Crear archivo modal */
.create-file-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.create-file-content {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  padding: 30px;
  max-width: 400px;
  width: 90%;
  color: white;
}

.create-file-content h3 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.3rem;
}

.file-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  grid-gap: 15px;
  gap: 15px;
  margin-bottom: 20px;
}

.file-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
}

.file-type-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.file-type-icon {
  width: 32px;
  height: 32px;
}

.file-type-name {
  font-size: 12px;
  text-align: center;
}

.tree-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 13px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.tree-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.tree-item.active {
  background: rgba(74, 144, 226, 0.2);
  color: white;
  border-right: 3px solid var(--light-blue);
}

.tree-item.has-children {
  padding-left: 10px;
}

.tree-expand {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease;
}

.tree-expand.expanded {
  transform: rotate(90deg);
}

.tree-children {
  margin-left: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .file-manager {
    flex-direction: column;
    height: auto;
  }
  
  .file-sidebar {
    width: 100%;
    height: 180px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .file-toolbar {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 15px;
  }
  
  .nav-buttons {
    order: 1;
  }
  
  .toolbar-actions {
    order: 2;
  }
  
  .address-bar {
    margin: 8px 0 0 0;
    order: 3;
    width: 100%;
  }
  
  .file-actions-bar {
    padding: 8px 15px;
    gap: 5px;
  }
  
  .file-action-btn {
    padding: 5px 8px;
    font-size: 12px;
  }
  
  .file-filters {
    flex-direction: column;
    gap: 10px;
    padding: 10px 15px;
  }
  
  .search-group {
    width: 100%;
  }
  
  .search-input {
    min-width: 100%;
  }
  
  .file-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
  }
  
  .file-icon {
    width: 32px;
    height: 32px;
  }
  
  .file-name {
    font-size: 12px;
    max-width: 80px;
  }
  
  .file-view {
    padding: 15px;
  }
  
  .context-menu {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
  
  .create-file-content {
    padding: 20px;
    margin: 20px;
  }
  
  .file-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Editor estilo Bloc de Notas Windows 11 */
.notepad-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.notepad-window {
  width: 90%;
  max-width: 900px;
  height: 80%;
  background: rgba(26, 26, 46, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.notepad-titlebar {
  background: linear-gradient(135deg, var(--light-blue), var(--bright-blue));
  color: white;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.notepad-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

.notepad-controls {
  display: flex;
  gap: 2px;
}

.notepad-btn {
  width: 32px;
  height: 24px;
  border: none;
  background: transparent;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s;
}

.notepad-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.notepad-btn.close:hover {
  background: #e81123;
}

.notepad-menubar {
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 20px;
}

.notepad-menu {
  display: flex;
  gap: 20px;
}

.notepad-menu span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.notepad-menu span:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.notepad-toolbar {
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notepad-tool-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.3s ease;
}

.notepad-tool-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.notepad-separator {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 8px;
}

.notepad-editor {
  flex: 1 1;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  border-radius: 0 0 16px 16px;
}

.notepad-textarea {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  padding: 20px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 15px;
  line-height: 1.6;
  color: white;
  background: transparent;
  resize: none;
}

.notepad-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.notepad-statusbar {
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.notepad-statusbar span {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

/* Responsive para el editor */
@media (max-width: 768px) {
  .notepad-window {
    width: 95%;
    height: 90%;
  }
  
  .notepad-toolbar {
    flex-wrap: wrap;
    gap: 4px;
  }
  
  .notepad-tool-btn {
    padding: 4px 8px;
    font-size: 11px;
  }
  
  .notepad-textarea {
    padding: 12px;
    font-size: 13px;
  }
}

/* Indicador de conexión en tiempo real */
.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.status-indicator.connected {
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: #00ff88;
}

.status-indicator.disconnected {
  background: rgba(255, 71, 87, 0.15);
  border: 1px solid rgba(255, 71, 87, 0.3);
  color: #ff4757;
}

.status-indicator .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: statusBlink 2s ease-in-out infinite;
}

.status-indicator.connected .status-dot {
  background: #00ff88;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
}

.status-indicator.disconnected .status-dot {
  background: #ff4757;
  box-shadow: 0 0 10px rgba(255, 71, 87, 0.6);
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Server Configuration */
.server-config {
  padding: 20px;
  color: white;
}

.config-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.config-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
}

.server-type-selector {
  display: flex;
  gap: 8px;
}

.type-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.type-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.type-btn.active {
  background: var(--light-blue);
  border-color: var(--bright-blue);
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.config-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.action-btn.refresh {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.action-btn.refresh:hover {
  background: rgba(255, 255, 255, 0.2);
}

.action-btn.save {
  background: var(--light-blue);
  color: white;
  border-color: var(--bright-blue);
}

.action-btn.save:hover {
  background: var(--bright-blue);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.action-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.spinning {
  animation: spin 1s linear infinite;
}

.config-content {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 25px;
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  max-height: 70vh;
  overflow-y: auto;
}

.config-grid {
  display: grid;
  grid-gap: 15px;
  gap: 15px;
}

.config-item {
  display: grid;
  grid-template-columns: 1fr 250px;
  grid-gap: 16px;
  gap: 16px;
  align-items: start;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.config-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.config-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.config-label label {
  font-weight: 600;
  color: white;
  font-size: 13px;
}

.config-comment {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.3;
}

.config-control {
  display: flex;
  align-items: center;
}

.config-input {
  width: 100%;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  color: white;
  font-size: 13px;
  transition: all 0.3s ease;
}

.config-input:focus {
  outline: none;
  border-color: var(--light-blue);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

.config-input option {
  background: #1a1a2e;
  color: white;
}

@media (max-width: 768px) {
  .config-header {
    flex-direction: column;
    gap: 15px;
  }
  
  .config-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .config-actions {
    flex-direction: column;
  }
  
  .config-content {
    max-height: 60vh;
  }
}

/* Config Disabled Warning */
.config-disabled-warning {
  background: rgba(243, 156, 18, 0.2);
  border: 1px solid rgba(243, 156, 18, 0.4);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.warning-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.warning-icon {
  color: #f39c12;
}

.warning-title {
  color: #f39c12;
  font-weight: 600;
  font-size: 14px;
}

.warning-text {
  color: rgba(243, 156, 18, 0.9);
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
}

/* Scrollbars personalizados */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--light-blue), var(--bright-blue));
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--bright-blue), #7bb3f0);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.5);
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(135deg, #3a7bc8, var(--light-blue));
}

::-webkit-scrollbar-corner {
  background: rgba(255, 255, 255, 0.1);
}

/* Scrollbars para Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--light-blue) rgba(255, 255, 255, 0.1);
}

/* Scrollbars específicos para contenedores */
.config-content::-webkit-scrollbar,
.file-view::-webkit-scrollbar,
.users-table-container::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.config-content::-webkit-scrollbar-thumb,
.file-view::-webkit-scrollbar-thumb,
.users-table-container::-webkit-scrollbar-thumb {
  background: var(--light-blue);
  border-radius: 4px;
  border: none;
}

.config-content::-webkit-scrollbar-thumb:hover,
.file-view::-webkit-scrollbar-thumb:hover,
.users-table-container::-webkit-scrollbar-thumb:hover {
  background: var(--bright-blue);
}

/* Player Inventory - Inventario de Jugadores */
.player-inventory {
  color: white;
  padding: 20px;
}

.inventory-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  -webkit-backdrop-filter: blur(25px);
          backdrop-filter: blur(25px);
  text-align: center;
  color: white;
}

.inventory-loading p {
  margin-top: 16px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.inventory-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.inventory-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
}

.inventory-title .title-icon {
  color: var(--light-blue);
  filter: drop-shadow(0 2px 8px rgba(74, 144, 226, 0.4));
}

.refresh-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--light-blue);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.refresh-btn:hover:not(:disabled) {
  background: var(--bright-blue);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.refresh-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.inventory-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  grid-gap: 25px;
  gap: 25px;
  height: calc(100vh - 200px);
}

/* Players Sidebar */
.players-sidebar {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(25px);
          backdrop-filter: blur(25px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.players-search {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.players-search svg {
  color: rgba(255, 255, 255, 0.6);
}

.players-search .search-input {
  flex: 1 1;
  background: none;
  border: none;
  outline: none;
  color: white;
  font-size: 14px;
  padding: 8px 0;
}

.players-search .search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.players-list {
  flex: 1 1;
  overflow-y: auto;
  padding: 10px 0;
}

.player-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  position: relative;
}

.player-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--light-blue);
}

.player-item.active {
  background: rgba(74, 144, 226, 0.15);
  border-left-color: var(--bright-blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.player-item.offline {
  opacity: 0.7;
}

.player-item .player-avatar {
  position: relative;
  flex-shrink: 0;
}

.status-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.status-indicator.online {
  background: #00ff88;
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
  animation: statusPulse 2s ease-in-out infinite;
}

.status-indicator.offline {
  background: #666;
}

.player-item .player-info {
  flex: 1 1;
  min-width: 0;
}

.player-item .player-name {
  font-weight: 600;
  color: white;
  font-size: 14px;
  margin-bottom: 4px;
}

.player-status {
  font-size: 12px;
  margin-bottom: 4px;
}

.online-status {
  color: #00ff88;
}

.offline-status {
  color: rgba(255, 255, 255, 0.6);
}

.health-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
}

/* Inventory Panel */
.inventory-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(25px);
          backdrop-filter: blur(25px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  overflow-y: auto;
  padding: 25px;
}

.player-details {
  margin-bottom: 30px;
}

.player-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.player-avatar-large {
  flex-shrink: 0;
}

.player-stats h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0 0 16px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 12px;
  gap: 12px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: white;
}

/* Armor Section */
.armor-section {
  margin-bottom: 30px;
}

.armor-section h4,
.inventory-section h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.armor-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.armor-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.armor-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.no-armor {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
}

/* Inventory Section */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.inventory-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.inventory-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--light-blue);
  flex-shrink: 0;
}

.item-info {
  flex: 1 1;
  min-width: 0;
}

.item-name {
  font-weight: 600;
  color: white;
  font-size: 14px;
  margin-bottom: 4px;
}

.item-count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.item-durability {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.durability-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  flex: 1 1;
  position: relative;
}

.durability-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--width, 0%);
  background: var(--color, #00ff88);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.item-durability span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  min-width: 30px;
}

.item-enchantments {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.enchantment {
  background: linear-gradient(135deg, var(--purple-glow), #9b59b6);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(142, 68, 173, 0.3);
}

/* No Player Selected */
.no-player-selected {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.no-player-selected svg {
  margin-bottom: 16px;
  opacity: 0.5;
}

.no-player-selected p {
  font-size: 16px;
  margin: 0;
}

/* Scrollbars para inventory panel */
.players-list::-webkit-scrollbar,
.inventory-panel::-webkit-scrollbar {
  width: 6px;
}

.players-list::-webkit-scrollbar-track,
.inventory-panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.players-list::-webkit-scrollbar-thumb,
.inventory-panel::-webkit-scrollbar-thumb {
  background: var(--light-blue);
  border-radius: 3px;
}

.players-list::-webkit-scrollbar-thumb:hover,
.inventory-panel::-webkit-scrollbar-thumb:hover {
  background: var(--bright-blue);
}

/* Responsive */
@media (max-width: 1200px) {
  .inventory-layout {
    grid-template-columns: 300px 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .armor-slots {
    grid-template-columns: 1fr;
  }
  
  .inventory-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .player-inventory {
    padding: 15px;
  }
  
  .inventory-header {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .inventory-layout {
    grid-template-columns: 1fr;
    height: auto;
    gap: 20px;
  }
  
  .players-sidebar {
    height: 300px;
  }
  
  .player-header {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .armor-slots,
  .inventory-grid {
    grid-template-columns: 1fr;
  }
  
  .inventory-panel {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .inventory-layout {
    gap: 15px;
  }
  
  .players-sidebar {
    height: 250px;
  }
  
  .player-item {
    padding: 12px 15px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .inventory-panel {
    padding: 15px;
  }
  
  .armor-item,
  .inventory-item {
    padding: 10px;
  }
  
  .item-icon {
    width: 32px;
    height: 32px;
  }
}

/* Utilidades */
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
.mt-6 { margin-top: 1.5rem; }
.w-full { width: 100%; }

/* Server Console - Estilo que combina con el diseño */
.server-console {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  -webkit-backdrop-filter: blur(25px);
          backdrop-filter: blur(25px);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
  height: 70vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.server-console::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00ff88, var(--light-blue), var(--purple-glow), #ff6b35);
  border-radius: 24px 24px 0 0;
}

.console-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.console-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.console-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.console-icon {
  width: 24px;
  height: 24px;
  color: var(--light-blue);
  filter: drop-shadow(0 2px 8px rgba(74, 144, 226, 0.4));
}

.console-title h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.connection-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.connection-status.connected {
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: #00ff88;
}

.connection-status.disconnected {
  background: rgba(255, 71, 87, 0.15);
  border: 1px solid rgba(255, 71, 87, 0.3);
  color: #ff4757;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: statusBlink 2s ease-in-out infinite;
}

.connection-status.connected .status-dot {
  background: #00ff88;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
}

.connection-status.disconnected .status-dot {
  background: #ff4757;
  box-shadow: 0 0 10px rgba(255, 71, 87, 0.6);
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.console-actions {
  display: flex;
  gap: 8px;
}

.console-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.console-action-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
}

.console-action-btn:hover::before {
  width: 100%;
  height: 100%;
}

.console-action-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.console-logs {
  flex: 1 1;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2));
  padding: 24px;
  overflow-y: auto;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.console-logs::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
  pointer-events: none;
}

.console-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.empty-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  opacity: 0.3;
}

.console-empty p {
  font-size: 16px;
  margin: 0;
}

.console-empty .status-indicator {
  margin-top: 12px;
}

.log-entry {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.log-entry:hover {
  background: rgba(255, 255, 255, 0.05);
}

.log-entry.info {
  border-left-color: var(--light-blue);
}

.log-entry.info .log-timestamp {
  color: var(--light-blue);
}

.log-entry.warning {
  border-left-color: #ffaa00;
  background: rgba(255, 170, 0, 0.05);
}

.log-entry.warning .log-timestamp {
  color: #ffaa00;
}

.log-entry.error {
  border-left-color: #ff4757;
  background: rgba(255, 71, 87, 0.05);
}

.log-entry.error .log-timestamp {
  color: #ff4757;
}

.log-entry.command {
  border-left-color: #00ff88;
  background: rgba(0, 255, 136, 0.05);
}

.log-entry.command .log-timestamp {
  color: #00ff88;
}

.log-timestamp {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  min-width: 80px;
  text-align: right;
  font-family: 'Consolas', monospace;
}

.log-message {
  flex: 1 1;
  color: rgba(255, 255, 255, 0.9);
  word-break: break-word;
  font-family: 'Consolas', monospace;
}

.log-entry.command .log-message {
  color: #00ff88;
  font-weight: 600;
}

.console-input {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 24px 32px;
  position: relative;
}

.console-input::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.input-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 16px 20px;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.input-wrapper:focus-within {
  border-color: var(--light-blue);
  box-shadow: 
    0 0 20px rgba(74, 144, 226, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.command-prompt {
  color: #00ff88;
  font-weight: 700;
  font-family: 'Consolas', monospace;
  font-size: 16px;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.command-input {
  flex: 1 1;
  background: none;
  border: none;
  outline: none;
  color: white;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 14px;
  padding: 4px 0;
}

.command-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
}

.send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--light-blue), var(--bright-blue));
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.send-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
}

.send-btn:hover::before {
  width: 100%;
  height: 100%;
}

.send-btn:hover {
  background: linear-gradient(135deg, var(--bright-blue), #7bb3f0);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

.send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.send-btn:disabled::before {
  display: none;
}

/* Console Restricted */
.console-restricted {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  -webkit-backdrop-filter: blur(25px);
          backdrop-filter: blur(25px);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.console-restricted::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple-glow), #ff6b35, var(--light-blue));
  border-radius: 24px 24px 0 0;
}

.restricted-icon {
  width: 64px;
  height: 64px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 24px;
}

.console-restricted h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0 0 16px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.console-restricted p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 400px;
  margin: 0;
}

/* Scrollbar personalizado para la consola */
.console-logs::-webkit-scrollbar {
  width: 8px;
}

.console-logs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.console-logs::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--light-blue), var(--bright-blue));
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.console-logs::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--bright-blue), #7bb3f0);
}

@media (max-width: 768px) {
  .server-console {
    height: 60vh;
    border-radius: 16px;
  }
  
  .console-header {
    padding: 16px 20px;
    flex-direction: column;
    gap: 12px;
  }
  
  .console-title {
    gap: 12px;
  }
  
  .console-title h3 {
    font-size: 1.1rem;
  }
  
  .console-logs {
    padding: 16px;
    font-size: 13px;
  }
  
  .console-input {
    padding: 16px 20px;
  }
  
  .input-wrapper {
    padding: 10px 14px;
  }
  
  .command-input {
    font-size: 13px;
  }
  
  .send-btn {
    width: 32px;
    height: 32px;
  }
  
  .console-restricted {
    height: 300px;
    border-radius: 16px;
  }
  
  .restricted-icon {
    width: 48px;
    height: 48px;
  }
  
  .console-restricted h3 {
    font-size: 1.2rem;
  }
  
  .console-restricted p {
    font-size: 14px;
  }
}
/* Dashboard Moderno y Profesional */
.dashboard-layout {
  min-height: 100vh;
  display: flex;
  position: relative;
}

.dashboard-layout::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('/paisaje2.jpg') center center/cover no-repeat;
  z-index: -2;
}

.dashboard-layout::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  z-index: -1;
}

/* Floating Header Mejorado */
.floating-header {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  margin: 20px;
  padding: 24px 32px;
  -webkit-backdrop-filter: blur(25px);
          backdrop-filter: blur(25px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.floating-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--light-blue), var(--bright-blue), var(--purple-glow));
  border-radius: 20px 20px 0 0;
}

.floating-header h1 {
  color: white;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  background: linear-gradient(135deg, #ffffff, #e3f2fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Welcome Section Mejorada */
.welcome-section {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 48px;
  -webkit-backdrop-filter: blur(25px);
          backdrop-filter: blur(25px);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.welcome-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00ff88, var(--light-blue), var(--purple-glow), #ff6b35);
  border-radius: 24px 24px 0 0;
}

.welcome-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff, #e3f2fd, var(--light-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.welcome-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 32px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Section Placeholder Mejorada */
.section-placeholder {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 48px;
  -webkit-backdrop-filter: blur(25px);
          backdrop-filter: blur(25px);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.section-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple-glow), #ff6b35, var(--light-blue));
  border-radius: 24px 24px 0 0;
}

.section-placeholder h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff, #e3f2fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-placeholder p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Content Area Mejorada */
.content-area {
  padding: 0 20px 20px;
  position: relative;
}

/* Animaciones suaves */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.welcome-section,
.section-placeholder,
.floating-header {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.server-control-modern {
  animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

/* Efectos de hover mejorados */
.welcome-section:hover,
.section-placeholder:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 35px 70px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-header:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive mejorado */
@media (max-width: 768px) {
  .floating-header {
    margin: 15px 10px;
    padding: 20px 24px;
    border-radius: 16px;
  }
  
  .floating-header h1 {
    font-size: 1.4rem;
  }
  
  .welcome-section,
  .section-placeholder {
    padding: 32px 24px;
    border-radius: 20px;
  }
  
  .welcome-section h2,
  .section-placeholder h2 {
    font-size: 1.8rem;
  }
  
  .welcome-section p,
  .section-placeholder p {
    font-size: 1rem;
  }
  
  .content-area {
    padding: 0 10px 20px;
  }
}
/* Sidebar Moderno y Profesional */
.sidebar {
  width: 280px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(25px);
          backdrop-filter: blur(25px);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  transform: translateX(-100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    4px 0 30px rgba(0, 0, 0, 0.4),
    inset -1px 0 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--light-blue), var(--purple-glow), #ff6b35);
}

.sidebar-open {
  transform: translateX(0);
}

/* Sidebar Header Mejorado */
.sidebar-header {
  padding: 28px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  position: relative;
}

.sidebar-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--light-blue), var(--bright-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(74, 144, 226, 0.4));
}

.brand-text {
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #ffffff, #e3f2fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sidebar User Info Mejorada */
.sidebar-user {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  position: relative;
}

.sidebar-user::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.user-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--light-blue), var(--bright-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 
    0 8px 25px rgba(74, 144, 226, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.user-details {
  flex: 1 1;
}

.user-name {
  color: white;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.user-role {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-glow), #9b59b6);
  color: white;
  box-shadow: 0 2px 8px rgba(142, 68, 173, 0.4);
  display: inline-block;
}

/* Sidebar Navigation Mejorada */
.sidebar-nav {
  padding: 24px 0;
  flex: 1 1;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(100vh - 200px);
}

.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 15px;
  font-weight: 500;
  border-radius: 0;
  margin: 2px 0;
  position: relative;
  overflow: hidden;
}

.nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(135deg, var(--light-blue), var(--bright-blue));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  padding-left: 32px;
  transform: translateX(4px);
}

.nav-item:hover::before {
  width: 4px;
}

.nav-item.active {
  background: linear-gradient(90deg, rgba(74, 144, 226, 0.2), rgba(74, 144, 226, 0.05));
  color: white;
  padding-left: 32px;
  transform: translateX(4px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-item.active::before {
  width: 4px;
  background: linear-gradient(135deg, var(--bright-blue), #7bb3f0);
  box-shadow: 0 0 15px rgba(74, 144, 226, 0.6);
}

.nav-item svg {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

.nav-item:hover svg,
.nav-item.active svg {
  color: var(--bright-blue);
  filter: drop-shadow(0 2px 8px rgba(74, 144, 226, 0.4));
}

/* Sidebar Footer Mejorado */
.sidebar-footer {
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  margin-top: auto;
  flex-shrink: 0;
}

.sidebar-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.logout-sidebar-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(255, 71, 87, 0.15), rgba(255, 71, 87, 0.1));
  border: 1px solid rgba(255, 71, 87, 0.3);
  border-radius: 12px;
  color: #ff4757;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.logout-sidebar-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.logout-sidebar-btn:hover::before {
  left: 100%;
}

.logout-sidebar-btn:hover {
  background: linear-gradient(135deg, rgba(255, 71, 87, 0.25), rgba(255, 71, 87, 0.15));
  border-color: rgba(255, 71, 87, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 71, 87, 0.3);
}

.logout-sidebar-btn svg {
  width: 18px;
  height: 18px;
}

/* Mobile Menu Button Mejorado */
.mobile-menu-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1001;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 16px;
  color: white;
  cursor: pointer;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: none;
}

.mobile-menu-btn:hover {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.12));
  transform: translateY(-2px);
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.mobile-menu-btn.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
}

/* Close Button Mejorado */
.close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 12px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: none;
  position: relative;
  overflow: hidden;
}

.close-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
}

.close-btn:hover::before {
  width: 100%;
  height: 100%;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: rotate(90deg);
}

/* Sidebar Overlay */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  display: none;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

/* Responsive mejorado */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .sidebar {
    width: 100%;
    box-shadow: none;
  }
  
  .sidebar-overlay {
    display: block;
  }
  
  .close-btn {
    display: block;
  }
  
  .main-content {
    margin-left: 0;
  }
}

@media (min-width: 769px) {
  .sidebar {
    transform: translateX(0);
  }
  
  .main-content {
    margin-left: 280px;
  }
}

/* Server Console - Indicadores de Estado Mejorados */
.status-indicators {
  display: flex;
  align-items: center;
  gap: 16px;
}

.connection-status,
.server-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.connection-status.connected {
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: #00ff88;
}

.connection-status.disconnected {
  background: rgba(255, 71, 87, 0.15);
  border: 1px solid rgba(255, 71, 87, 0.3);
  color: #ff4757;
}

.server-status.running {
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: #00ff88;
}

.server-status.stopped {
  background: rgba(255, 170, 0, 0.15);
  border: 1px solid rgba(255, 170, 0, 0.3);
  color: #ffaa00;
}

.server-status .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: statusBlink 2s ease-in-out infinite;
}

.server-status.running .status-dot {
  background: #00ff88;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
}

.server-status.stopped .status-dot {
  background: #ffaa00;
  box-shadow: 0 0 10px rgba(255, 170, 0, 0.6);
}

/* Loading Indicator para Console */
.loading-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.loading-dots {
  animation: loadingDots 1.5s ease-in-out infinite;
}

@keyframes loadingDots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}

/* Mejoras para timestamps en logs */
.log-timestamp {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  min-width: 70px;
  text-align: right;
  font-family: 'Consolas', monospace;
  margin-right: 8px;
}

/* Responsive para status indicators */
@media (max-width: 768px) {
  .status-indicators {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
  
  .connection-status,
  .server-status {
    justify-content: center;
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .console-title {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .console-header {
    text-align: center;
  }
}

/* Mejoras para el estado del servidor en la consola */
.console-empty p {
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
}

/* Indicador de carga en botón de envío */
.send-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.send-btn:disabled:hover {
  transform: none;
  box-shadow: none;
}

/* Tooltip para botón deshabilitado */
.send-btn[title] {
  position: relative;
}

.send-btn[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1000;
  margin-bottom: 5px;
}

.send-btn[title]:hover::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
}
/* Server Console - Estilo CMD Simple */
.console-line {
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.4;
  color: #ffffff;
  padding: 2px 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.console-logs {
  background: #000000;
  color: #ffffff;
  font-family: 'Consolas', 'Courier New', monospace;
  padding: 16px;
  overflow-y: auto;
  height: 100%;
}

.console-logs::-webkit-scrollbar {
  width: 12px;
}

.console-logs::-webkit-scrollbar-track {
  background: #1a1a1a;
}

.console-logs::-webkit-scrollbar-thumb {
  background: #555555;
  border-radius: 6px;
}

.console-logs::-webkit-scrollbar-thumb:hover {
  background: #777777;
}
/* Player Management - Tarjetas de Jugadores con Skins */
.player-management {
  color: white;
  padding: 20px;
}

.management-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.management-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
}

.title-icon {
  color: var(--light-blue);
  filter: drop-shadow(0 2px 8px rgba(74, 144, 226, 0.4));
}

/* Tabs */
.tabs-container {
  margin-bottom: 25px;
}

.tabs {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 6px;
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: none;
  border: none;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
}

.tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.tab.active {
  background: var(--light-blue);
  color: white;
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

/* Tab Content */
.tab-content {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 25px;
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Players Grid */
.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

/* Player Card */
.player-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 20px;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.player-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--light-blue), var(--bright-blue), var(--purple-glow));
  border-radius: 16px 16px 0 0;
}

.player-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Player Header */
.player-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.player-avatar {
  flex-shrink: 0;
}

.player-avatar .minecraft-skin {
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.player-avatar .minecraft-skin:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.player-info {
  flex: 1 1;
}

.player-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin: 0 0 4px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.player-id {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Consolas', monospace;
  margin-bottom: 8px;
}

.op-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.player-gamemode {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  text-transform: capitalize;
}

/* Player Actions */
.player-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.action-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.action-group label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gamemode-select {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gamemode-select:focus {
  outline: none;
  border-color: var(--light-blue);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 15px rgba(74, 144, 226, 0.3);
}

.gamemode-select option {
  background: #1a1a2e;
  color: white;
  padding: 8px;
}

.action-buttons {
  display: flex;
  gap: 10px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex: 1 1;
  justify-content: center;
}

.action-btn.op {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.action-btn.op:hover {
  background: linear-gradient(135deg, #FFA500, #FF8C00);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.action-btn.deop {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.action-btn.deop:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
  transform: translateY(-2px);
}

.action-btn.ban {
  background: linear-gradient(135deg, #ff4757, #ff3742);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.action-btn.ban:hover {
  background: linear-gradient(135deg, #ff3742, #ff2635);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

.action-btn.unban {
  background: linear-gradient(135deg, #00ff88, #00d46a);
  color: #003d1a;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.action-btn.unban:hover {
  background: linear-gradient(135deg, #00d46a, #00b359);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

.action-btn.remove {
  background: linear-gradient(135deg, #e67e22, #d35400);
  color: white;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.action-btn.remove:hover {
  background: linear-gradient(135deg, #d35400, #c0392b);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

/* Player Meta */
.player-meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.player-meta small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

/* Players List (para banned y whitelist) */
.players-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.banned-player-item,
.whitelist-player-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  transition: all 0.3s ease;
}

.banned-player-item:hover,
.whitelist-player-item:hover {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.banned-player-item .player-info,
.whitelist-player-item .player-info {
  flex: 1 1;
}

.banned-player-item h4,
.whitelist-player-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin: 0 0 4px 0;
}

.ban-reason {
  color: #ff6b6b;
  font-size: 14px;
  margin: 4px 0;
  font-style: italic;
}

/* No Players State */
.no-players {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.no-players svg {
  margin-bottom: 16px;
  opacity: 0.5;
}

.no-players p {
  font-size: 16px;
  margin: 0;
}

/* Whitelist Header */
.whitelist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

/* Minecraft Skin Component */
.minecraft-skin {
  border-radius: 4px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  transition: all 0.3s ease;
}

.minecraft-skin.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.skin-loader {
  font-size: 16px;
  animation: spin 1s linear infinite;
}

.skin-image {
  border-radius: inherit;
}

/* Responsive */
@media (max-width: 768px) {
  .players-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .player-card {
    padding: 16px;
  }
  
  .player-header {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .player-gamemode {
    align-self: center;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .tabs {
    flex-direction: column;
    gap: 4px;
  }
  
  .tab {
    justify-content: center;
  }
  
  .banned-player-item,
  .whitelist-player-item {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .whitelist-header {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .player-management {
    padding: 15px;
  }
  
  .tab-content {
    padding: 20px 15px;
  }
  
  .player-card {
    padding: 12px;
  }
  
  .player-name {
    font-size: 1.1rem;
  }
  
  .action-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
}
