@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap"); @import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;700&display=swap'); * { font-family: 'Plus Jakarta Sans', sans-serif; } body { margin: 0; color: #fff; } html, body { overflow: hidden; } @keyframes dashboardFadeIn { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } } .dashboard { overflow: hidden; display: none; height: 100vh; width: 100vw; display: flex; animation: dashboardFadeIn 0.4s ease-out; justify-content: center; align-items: center; transform-style: preserve-3d; } .sidebar { width: 240px; background: linear-gradient(to right, #000000, #000000); padding: 20px; border-radius: 8px; font-family: 'Plus Jakarta Sans', sans-serif; border-top-right-radius: 12px; border-bottom-right-radius: 12px; box-shadow: 0 0 15px rgba(255, 255, 255, 0.911); } .sidebar h2 { color: #ffffff; text-align: center; margin-bottom: 30px; font-size: 45px; text-transform: uppercase; letter-spacing: 1.2px; text-shadow: 0 0 8px #ffffff; } .sidebar ul { list-style: none; padding: 0; margin: 0; } .sidebar li { padding: 14px 18px; cursor: pointer; display: flex; align-items: center; border-radius: 8px; font-size: 24px; /* LETRAS MÁS GRANDES */ font-weight: bold; color: #ffffff; margin-bottom: 10px; transition: all 0.25s ease-in-out; } .sidebar li:hover { background: rgb(255, 255, 255); } .sidebar li.active { background-color: #f7f7f7 !important; color: rgb(0, 0, 0) !important; font-weight: bold; box-shadow: 0 0 10px rgba(255, 255, 255, 0.4); } .sidebar li.active i { color: #000000; /* azul moderno */ } .sidebar li .icon { margin-right: 12px; font-size: 20px; width: 24px; text-align: center; } .main { flex: 1; max-width: 60%; width: 60%; border-radius: 8px; background: linear-gradient(to right, #000000, #000000e0); padding: 30px 40px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.979); display: flex; margin-right: 20px; flex-direction: column; align-items: stretch; } .top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; width: 95%; /* Añade espacio para que el texto no se pegue al botón */ } .top-bar h1 { text-shadow: 0 0 10px #ffffff; font-size: 36px; margin-right: -420px; white-space: normal; overflow: visible; text-overflow: unset; margin-right: auto; /* Esto lo empuja hacia la izquierda */ } .close-btn { background: #ff5555; border: none; padding: 5px 10px; border-radius: 6px; color: white; font-size: 14px; cursor: pointer; margin-left: 20px; height: fit-content; align-self: center; } .stats { display: flex; gap: 20px; margin-bottom: 20px; } .stat-card { background: linear-gradient(145deg, #1e1e1e, #2c2c2c); padding: 25px 20px; border-radius: 18px; box-shadow: 0 0 10px rgba(255, 255, 255, 0.05), 0 4px 20px rgba(0, 0, 0, 0.6); flex: 1; text-align: center; border: 1px solid rgba(255, 255, 255, 0.05); transition: transform 0.2s ease, box-shadow 0.2s ease; } .stat-card:hover { transform: translateY(-5px); box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1); } .stat-card span { display: block; margin-bottom: 6px; } .stat-card strong { font-size: 32px; color: #ffffff; text-shadow: 0 0 6px #fff; display: block; } .notice { margin-top: 25px; background: rgba(255, 215, 0, 0.1); padding: 12px 16px; border-radius: 10px; color: #ffd700; font-weight: bold; font-size: 14px; text-align: center; border: 1px solid rgba(255, 215, 0, 0.3); text-shadow: 0 0 5px #ffd700; } input[type="text"] { width: 100%; padding: 10px; margin-bottom: 10px; border: none; border-radius: 6px; background: #2a2a2a; color: #fff; } button { padding: 10px 20px; background: #000000; border: none; border-radius: 6px; color: rgb(255, 255, 255); cursor: pointer; margin-bottom: 10px; } ul#weaponList { list-style: none; padding: 0; margin-top: 10px; } ul#weaponList li { background: #2a2a2a; padding: 10px; margin-bottom: 5px; border-radius: 6px; display: flex; justify-content: space-between; align-items: center; } .hidden { display: none; } button:hover { background: #fffefe !important; color: #000000 !important; transition: background 0.2s ease, color 0.2s ease; } /* Tabla de armas (mejora de estilo y distribución) */ #section-weapons table { width: 100%; max-width: 100%; border-collapse: collapse; background-color: #111; color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 15px rgba(255, 255, 255, 0.1); margin-top: 15px; } #section-profiles>div:first-of-type { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; } #section-weapons th, #section-weapons td { padding: 14px 16px; text-align: left; } #section-weapons thead th { background-color: #1c1c1c; color: #ccc; text-transform: uppercase; font-weight: 600; border-bottom: 1px solid #333; letter-spacing: 0.6px; } #section-weapons tbody tr:hover { background-color: #1a1a1a; } /* Botones dentro de tabla */ #section-weapons button { padding: 8px 16px; margin-right: 6px; border: none; border-radius: 6px; font-size: 13px; font-weight: bold; cursor: pointer; } #section-weapons .edit-btn { background-color: #0d6efd; color: white; } #section-weapons .delete-btn { background-color: #dc3545; color: white; } #section-weapons .edit-btn:hover, #section-weapons .delete-btn:hover { opacity: 0.9; } /* Botón Agregar arriba de tabla */ #section-weapons>button { align-self: flex-start; background-color: #198754; color: white; font-weight: bold; border: none; border-radius: 6px; padding: 10px 20px; margin-bottom: 20px; transition: background-color 0.2s ease; } #section-weapons>button:hover { background-color: #157347; } /* xdddddddddddddddddd */ /* Estilo para tabla de Perfiles */ #section-profiles table { width: 100%; border-collapse: collapse; background-color: #111; color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; border-radius: 10px; overflow: hidden; box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); } #section-profiles th { background-color: #1c1c1c; color: #bbb; padding: 12px; border-bottom: 1px solid #333; text-align: left; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; } #section-profiles td { padding: 12px; border-bottom: 1px solid #2a2a2a; } #section-profiles tbody tr:hover { background-color: #1a1a1a; } /* Botones de acción dentro de la tabla */ #section-profiles button { padding: 6px 12px; margin-right: 5px; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; font-size: 13px; } #section-profiles .edit-btn { background-color: #0d6efd; color: white; } #section-profiles .delete-btn { background-color: #dc3545; color: white; } #section-profiles .edit-btn:hover, #section-profiles .delete-btn:hover { opacity: 0.85; } #section-weapons table { width: 100%; border-collapse: collapse; background-color: #111; color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; border-radius: 10px; overflow: hidden; box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); } #section-weapons th { background-color: #1c1c1c; color: #bbb; padding: 12px; border-bottom: 1px solid #333; text-align: left; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; } #section-weapons td { padding: 12px; border-bottom: 1px solid #2a2a2a; } #section-weapons tbody tr:hover { background-color: #1a1a1a; } #section-weapons button { padding: 6px 12px; margin-right: 5px; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; font-size: 13px; } #section-weapons .edit-btn { background-color: #0d6efd; color: white; } #section-weapons .delete-btn { background-color: #dc3545; color: white; } #section-weapons .edit-btn:hover, #section-weapons .delete-btn:hover { opacity: 0.85; } #section-weapons #addWeaponForm button { background-color: #0d6efd; color: white; font-weight: bold; border: none; border-radius: 6px; padding: 10px 16px; cursor: pointer; transition: background-color 0.2s ease; } #section-weapons #addWeaponForm button:hover { background-color: #0b5ed7; } #section-weapons>button { background-color: #198754; color: white; font-weight: bold; border: none; border-radius: 6px; padding: 10px 16px; margin-bottom: 15px; cursor: pointer; transition: background-color 0.2s ease; } #section-weapons>button:hover { background-color: #157347; } /* Estilo para DataTables u otras tablas que usan filtros y búsqueda */ .dataTables_wrapper { width: 100%; margin-bottom: 15px; } .dataTables_length, .dataTables_filter { margin-bottom: 10px; } .dataTables_length label, .dataTables_filter label { color: #ccc; font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 5px; } .dataTables_filter input { background: #2a2a2a; border: 1px solid #444; color: white; padding: 6px 10px; border-radius: 5px; margin-left: 5px; } .dataTables_wrapper .dataTables_paginate { margin-top: 15px; text-align: right; } .dataTables_paginate .paginate_button { background: #111; color: #ccc !important; padding: 6px 12px; border-radius: 5px; border: none; margin: 0 2px; font-weight: bold; cursor: pointer; } .dataTables_paginate .paginate_button.current { background: #0d6efd !important; color: #fff !important; } #section-profiles .dataTables_wrapper { width: 100%; margin-bottom: 15px; } #section-profiles .dataTables_length, #section-profiles .dataTables_filter { margin-bottom: 10px; } #section-profiles .dataTables_length label, #section-profiles .dataTables_filter label { color: #ccc; font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 5px; } #section-profiles .dataTables_filter input { background: #2a2a2a; border: 1px solid #444; color: white; padding: 6px 10px; border-radius: 5px; margin-left: 5px; } #section-profiles .dataTables_wrapper .dataTables_paginate { margin-top: 15px; text-align: right; } #section-profiles .paginate_button { background: #111; color: #ccc !important; padding: 6px 12px; border-radius: 5px; border: none; margin: 0 2px; font-weight: bold; cursor: pointer; } #section-profiles .paginate_button.current { background: #0d6efd !important; color: #fff !important; } .edit-attachments-modal { position: fixed; top: 0; left: 0; height: 100vh; width: 100vw; background: rgba(0, 0, 0, 0.85); display: none; align-items: center; justify-content: center; z-index: 9999; backdrop-filter: blur(5px); animation: fadeIn 0.3s ease-out; } .edit-attachments-modal .modal-content { background: #1a1a1a; padding: 25px 30px; border-radius: 12px; box-shadow: 0 0 25px rgba(255, 255, 255, 0.1); width: 400px; color: white; font-family: 'Plus Jakarta Sans', sans-serif; animation: scaleIn 0.25s ease; } .edit-attachments-modal .modal-content h3 { margin-top: 0; text-align: center; margin-bottom: 15px; font-size: 20px; text-shadow: 0 0 8px #fff; } .edit-attachments-modal .modal-content label { font-size: 13px; font-weight: bold; margin-top: 8px; display: block; } .edit-attachments-modal .modal-content input[type="text"] { width: 100%; padding: 8px; background: #2a2a2a; color: white; border: none; border-radius: 6px; margin-top: 4px; } .edit-attachments-modal .modal-content .modal-actions { margin-top: 15px; display: flex; justify-content: space-between; gap: 10px; } .edit-attachments-modal .modal-content .modal-actions button { flex: 1; padding: 10px; border: none; border-radius: 6px; font-weight: bold; cursor: pointer; font-size: 14px; } .edit-attachments-modal .modal-content .modal-actions .save-btn { background-color: #0d6efd; color: white; } .edit-attachments-modal .modal-content .modal-actions .cancel-btn { background-color: #dc3545; color: white; } .edit-attachments-modal .modal-content .modal-actions button:hover { opacity: 0.9; } /* Animaciones */ @keyframes fadeIn { from { background-color: rgba(0, 0, 0, 0); } to { background-color: rgba(0, 0, 0, 0.85); } } @keyframes scaleIn { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } } /* Modal de Añadir Jugador */ .add-player-modal { position: fixed; top: 0; left: 0; height: 100vh; width: 100vw; background: rgba(0, 0, 0, 0.85); display: none; align-items: center; justify-content: center; z-index: 9999; backdrop-filter: blur(5px); animation: fadeIn 0.3s ease-out; } .add-player-modal .modal-content { background: #1a1a1a; padding: 25px 30px; border-radius: 12px; box-shadow: 0 0 25px rgba(255, 255, 255, 0.1); width: 400px; color: white; font-family: 'Plus Jakarta Sans', sans-serif; animation: scaleIn 0.25s ease; } .add-player-modal .modal-content h2 { margin-top: 0; text-align: center; margin-bottom: 15px; font-size: 20px; text-shadow: 0 0 8px #fff; } .add-player-modal .modal-content label { font-size: 13px; font-weight: bold; margin-top: 8px; display: block; } .add-player-modal .modal-content input[type="text"], .add-player-modal .modal-content select { width: 100%; padding: 10px 14px; background: #1f1f1f; color: #fff; border: 1px solid #444; border-radius: 6px; appearance: none; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: bold; text-transform: uppercase; background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23ffffff' d='M2 0L0 2h4z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 10px; cursor: pointer; transition: background-color 0.2s ease; } .add-player-modal .modal-content select:focus { outline: none; background-color: #292929; border-color: #0d6efd; } .add-player-modal .modal-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 15px; } .add-player-modal .modal-actions button { flex: 1; padding: 10px; border: none; border-radius: 6px; font-weight: bold; cursor: pointer; font-size: 14px; } .add-player-modal .modal-actions .save-btn { background-color: #0d6efd; color: white; } .add-player-modal .modal-actions .cancel-btn { background-color: #dc3545; color: white; } .add-player-modal .modal-actions button:hover { opacity: 0.9; } /* Modal de Añadir Arma */ .add-weapon-modal { position: fixed; top: 0; left: 0; height: 100vh; width: 100vw; background: rgba(0, 0, 0, 0.85); display: none; align-items: center; justify-content: center; z-index: 9999; backdrop-filter: blur(5px); animation: fadeIn 0.3s ease-out; } .add-weapon-modal .modal-content { background: #1a1a1a; padding: 25px 30px; border-radius: 12px; box-shadow: 0 0 25px rgba(255, 255, 255, 0.1); width: 400px; color: white; font-family: 'Plus Jakarta Sans', sans-serif; animation: scaleIn 0.25s ease; } .add-weapon-modal .modal-content h2 { text-align: center; margin-bottom: 15px; font-size: 20px; text-shadow: 0 0 8px #fff; } .add-weapon-modal .modal-content label { font-size: 13px; font-weight: bold; margin-top: 8px; display: block; } .add-weapon-modal .modal-content input[type="text"] { width: 100%; padding: 10px; margin-bottom: 10px; border: none; border-radius: 6px; background: #2a2a2a; color: white; } .add-weapon-modal .modal-actions { margin-top: 15px; display: flex; justify-content: space-between; gap: 10px; } .add-weapon-modal .modal-actions button { flex: 1; padding: 10px; border: none; border-radius: 6px; font-weight: bold; cursor: pointer; font-size: 14px; } .add-weapon-modal .modal-actions .save-btn { background-color: #4CAF50; color: white; } .add-weapon-modal .modal-actions .cancel-btn { background-color: #e53935; color: white; } .add-weapon-modal .modal-actions button:hover { opacity: 0.9; } /* EDITAR JUGADORRRR */ .edit-player-modal { position: fixed; top: 0; left: 0; height: 100vh; width: 100vw; background: rgba(0, 0, 0, 0.85); display: none; align-items: center; justify-content: center; z-index: 9999; backdrop-filter: blur(5px); animation: fadeIn 0.3s ease-out; } .edit-player-modal .modal-content { background: #1a1a1a; padding: 25px 30px; border-radius: 12px; box-shadow: 0 0 25px rgba(255, 255, 255, 0.1); width: 500px; color: white; animation: scaleIn 0.25s ease; } .edit-player-modal h3 { font-size: 20px; text-align: center; margin-bottom: 20px; word-break: break-all; max-width: 90%; margin-left: auto; margin-right: auto; } .edit-player-modal table { width: 100%; border-collapse: collapse; background-color: #121212; border-radius: 10px; overflow: hidden; font-size: 14px; } .edit-player-modal th, .edit-player-modal td { padding: 10px; text-align: center; vertical-align: middle; white-space: nowrap; } .edit-player-modal th { background-color: #1e1e1e; color: #ccc; font-weight: 600; text-transform: uppercase; } .edit-player-modal td button { white-space: nowrap; padding: 6px 12px; max-width: 100%; } .edit-player-modal .edit-btn { background-color: #0d6efd; color: white; } .edit-player-modal .delete-btn { background-color: #dc3545; color: white; } .edit-player-modal td button:hover { opacity: 0.85; transform: scale(1.03); } /* ----------------------------------------------------------------------- */ .custom-toast-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; background-color: rgba(0, 0, 0, 0.7); /* fondo oscuro translúcido */ z-index: 9999; } .toast-modal-content { background: #000000; border-radius: 10px; width: 320px; padding: 20px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.6); color: white; font-family: 'Arial', sans-serif; animation: fadeInScale 0.3s ease; } .toast-modal-header { display: flex; justify-content: space-between; align-items: center; font-size: 20px; font-weight: bold; color: rgb(255, 255, 255); } .toast-modal-body { margin-top: 10px; font-size: 16px; } .toast-close-btn { margin-top: 15px; padding: 8px 15px; background: #0d6efd; border: none; border-radius: 5px; color: white; cursor: pointer; width: 100%; } .toast-close-btn:hover { background: #0a58ca; } .close-btn { background: none; border: none; color: white; font-size: 18px; cursor: pointer; } .topbar-logo { height: 120px; margin-top: -140px; margin-right: 420px; transition: transform 0.2s ease; } .topbar-logo:hover { transform: scale(1.05); } @keyframes fadeInScale { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } } select { width: 100%; padding: 10px 15px; font-size: 16px; background-color: #1c1c1c; color: #fff; border: 2px solid #555; border-radius: 8px; outline: none; transition: all 0.2s ease-in-out; margin-top: 5px; box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); } select:hover { border-color: #888; background-color: #222; } select:focus { border-color: #ffffff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); } #giveWeaponSelect { font-weight: bold; font-size: 18px; border-color: #ffffff; } #give-weapon-modal table { width: 100%; border-collapse: collapse; background-color: #111; color: #fff; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; border-radius: 10px; overflow: hidden; box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); } #give-weapon-modal th { background-color: #1c1c1c; color: #bbb; padding: 12px; border-bottom: 1px solid #333; text-align: left; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; } #give-weapon-modal td { padding: 12px; border-bottom: 1px solid #2a2a2a; } #give-weapon-modal tbody tr:hover { background-color: #1a1a1a; } /* IDIOMAAAAAAAAAAAA */ .lang-btn { background: #0d6efd; color: white; border: none; border-radius: 6px; padding: 6px 12px; font-weight: bold; cursor: pointer; margin-left: 10px; margin-right: 10px; font-size: 14px; height: fit-content; } .lang-btn:hover { background-color: #0b5ed7; } /* ----------------------------------------------*/ body, * { -webkit-user-select: none; /* Chrome/Safari */ -moz-user-select: none; /* Firefox */ -ms-user-select: none; /* IE/Edge */ user-select: none; /* Estándar */ pointer-events: auto; }