/* Variables CSS para consistencia y mantenibilidad */ :root { /* Colores principales */ --primary-color: #2563eb; --primary-hover: #1d4ed8; --secondary-color: #64748b; --accent-color: #f59e0b; --accent-hover: #d97706; /* Colores de fondo */ --bg-dark: #0f172a; --bg-card: #1e293b; --bg-light: #f8fafc; /* Colores de texto */ --text-primary: #ffffff; --text-secondary: #cbd5e1; --text-dark: #1e293b; /* Colores de estado */ --success-color: #10b981; --success-hover: #059669; --warning-color: #f59e0b; --warning-hover: #d97706; --danger-color: #ef4444; --danger-hover: #dc2626; --border-color: #6600a1; /* Sombras */ --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05); --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); /* Transiciones */ --transition-fast: 0.15s ease-in-out; --transition-normal: 0.3s ease-in-out; --transition-slow: 0.5s ease-in-out; /* Espaciado */ --spacing-xs: 0.25rem; --spacing-sm: 0.5rem; --spacing-md: 1rem; --spacing-lg: 1.5rem; --spacing-xl: 2rem; /* Border radius */ --radius-sm: 0.375rem; --radius-md: 0.5rem; --radius-lg: 0.75rem; --radius-xl: 1rem; } * { box-sizing: border-box; font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; } .sidebar { position: fixed; top: 0; left: 0; width: 60px; height: 100%; background-color: #192e55; flex-direction: column; align-items: center; padding-top: 20px; transition: width 0.3s ease; z-index: 1000; display: flex; flex-direction: column; align-items: center; flex: 1; justify-content: center; width: 80%; } .sidebar:hover { width: 220px; align-items: flex-start; padding-left: 10px; } .sidebar-button { font-size: 20px; display: flex; align-items: center; width: 90%; margin: 10px 0; padding: 10px; border: none; color: #fff; cursor: pointer; background-color: transparent; transition: all 0.3s ease; overflow: hidden; white-space: nowrap; } .sidebar-button i { min-width: 30px; text-align: center; } .sidebar-button span { margin-left: 10px; opacity: 0; transition: opacity 0.3s ease; } .sidebar:hover .sidebar-button span { opacity: 1; } .sidebar-button:hover { background-color: var(--bg-card); } .main-menu { margin-left: 60px; transition: margin-left 0.3s ease; } .sidebar:hover ~ .main-menu { margin-left: 220px; /* se ajusta cuando la sidebar se expande */ } /* Caja del buscador para la sección de baneados */ .searchBoxBans { width: 50%; margin-bottom: var(--spacing-md); margin-right: 23%; } /* Input de búsqueda */ #banSearch { width: 100%; padding: 10px 14px; border-radius: 8px; border: 2px solid var(--primary-color); background: #2a003f; /* morado oscuro */ color: #ffffff; /* letras blancas */ outline: none; transition: all 0.2s ease-in-out; } /* Placeholder gris claro */ #banSearch::placeholder { color: #bbbbbb; } /* Efecto al enfocar */ #banSearch:focus { border-color: #8a2be2; /* morado brillante */ box-shadow: 0 0 6px rgba(138, 43, 226, 0.6); } /* Caja del buscador */ .searchBox { width: 50%; margin-bottom: var(--spacing-md); margin-right: 23%; } /* Input de búsqueda */ #playerSearch { width: 100%; padding: 10px 14px; border-radius: 8px; border: 2px solid var(--primary-color); background: #2a003f; /* morado oscuro */ color: #ffffff; /* letras blancas */ font-size: 14px; outline: none; transition: all 0.2s ease-in-out; } /* Efecto al escribir o enfocar */ #playerSearch::placeholder { color: #bbbbbb; } #playerSearch:focus { border-color: #8a2be2; /* un morado más brillante */ box-shadow: 0 0 6px rgba(138, 43, 226, 0.6); } body { position: absolute; width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden; color: var(--text-primary); } /* Contenedor principal */ .main { display: flex; align-items: center; justify-content: center; align-content: center; flex-wrap: nowrap; flex-direction: column; width: 100%; height: 100%; padding: var(--spacing-lg); } /* Tarjeta principal */ .main-card { background: var(--bg-dark); backdrop-filter: blur(10px); border-radius: 5px; padding: var(--spacing-lg); width: min(90vw, 1200px); height: min(85vh, 800px); overflow: hidden; display: flex; flex-direction: column; } /* Sidebar */ .sidebar { position: fixed; top: 0; left: 0; width: 60px; /* tamaño reducido por defecto */ height: 100%; border-right: 2px; overflow-x: hidden; transition: width 0.3s ease; display: flex; flex-direction: column; z-index: 1000; } .sidebar:hover { width: 200px; /* se expande al hover */ } .sidebar-menu { list-style: none; padding: 0; margin: 0; margin-top: 20px; } .sidebar-menu li { width: 100%; } .sidebar-menu li a { display: flex; align-items: center; padding: 15px 10px; color: #fff; text-decoration: none; transition: all 0.3s ease; } .sidebar-menu li a i { font-size: 1.5rem; min-width: 30px; text-align: center; } .sidebar-menu li a span { margin-left: 10px; opacity: 0; white-space: nowrap; transition: opacity 0.3s ease; } /* Mostrar el texto solo al hover de la sidebar */ .sidebar:hover .sidebar-menu li a span { opacity: 1; } /* Efecto hover en los items */ .sidebar-menu li a:hover { background-color: rgba(87, 95, 207, 0.8); border-radius: var(--radius-sm); } /* Ajuste del contenido principal */ .main { margin-left: 60px; /* coincide con el ancho inicial de la sidebar */ transition: margin-left 0.3s ease; } .sidebar:hover ~ .main { margin-left: 200px; /* se ajusta cuando la sidebar se expande */ } .sidebar li :active { background-color: rgba(87, 95, 207, 0.8); } /* Header */ .main-card .header { display: flex; flex-direction: row; flex-wrap: nowrap; align-content: center; justify-content: space-between; align-items: center; border: 2px solid var(--bg-card); height: auto; min-height: 80px; width: 100%; border-radius: var(--radius-sm); padding: var(--spacing-md); margin-bottom: var(--spacing-lg); } .main-card .header .title { display: flex; align-items: center; justify-content: center; flex-direction: column; flex: 1; } .main-card .header .titleText { font-size: 2rem; font-weight: 700; color: var(--text-primary); margin: 0; text-align: center; } .main-card .header .close-button { position: absolute; right: var(--spacing-lg); top: var(--spacing-lg); background: transparent; border: none; color: var(--text-secondary); font-size: 1.5rem; padding: var(--spacing-sm); border-radius: var(--radius-sm); transition: all var(--transition-fast); cursor: pointer; } .main-card .header .close-button:hover { background: var(--danger-color); color: var(--text-primary); transform: scale(1.1); } .main-card .header .right-logo, .main-card .header .left-logo { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; } /* Body */ .main-card .body { display: flex; flex-wrap: nowrap; flex-direction: column; align-items: center; justify-content: flex-start; flex: 1; width: 100%; overflow: hidden; } .main-card .body .content { display: flex; width: 100%; height: 100%; overflow: hidden; } /* Menús principales */ .main-card .body .main-menu, .main-card .body .admin-menu, .main-card .body .player-menu, .main-card .body .server-menu, .main-card .body .teleport-menu, .main-card .body .vision-menu, .main-card .body .vehicle-menu, .main-card .body .banlist-menu{ display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; align-content: flex-start; /*gap: var(--spacing-md);*/ overflow-x: hidden; overflow-y: auto; width: 100%; height: 100%; padding: var(--spacing-md); } /* Scrollbar personalizado */ .main-card .body .main-menu::-webkit-scrollbar, .main-card .body .mainbar::-webkit-scrollbar { width: 6px; } .main-card .body .main-menu::-webkit-scrollbar-track, .main-card .body .mainbar::-webkit-scrollbar-track { background: var(--bg-dark); border-radius: 3px; } .main-card .body .main-menu::-webkit-scrollbar-thumb, .main-card .body .mainbar::-webkit-scrollbar-thumb { background: var(--accent-color); border-radius: 3px; } .main-card .body .main-menu::-webkit-scrollbar-thumb:hover, .main-card .body .mainbar::-webkit-scrollbar-thumb:hover { background: var(--accent-hover); } /* Botones del menú principal */ .main-card .body .main-menu button { /*display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--spacing-sm); min-width: 120px; height: 120px; background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%); border: none; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); transition: all var(--transition-normal); cursor: pointer; color: var(--text-primary); font-weight: 600; font-size: 0.875rem; padding: var(--spacing-md);*/ } .main-card .body .main-menu button:hover { background: var(--border-color); } .main-card .body .main-menu button:active { box-shadow: var(--shadow-sm); } .main-card .body .main-menu span { font-size: 0.75rem; font-weight: 600; text-align: center; } /* Footer */ .main-card .footer { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; align-content: center; flex-direction: column; height: auto; min-height: 60px; width: 100%; padding: var(--spacing-md); border-top: 1px solid var(--secondary-color); margin-top: auto; } .main-card .footer .footerText { font-size: 0.875rem; text-align: center; color: var(--text-secondary); margin: 0; } .main-card .footer .footerText button { color: var(--accent-color); text-decoration: none; font-size: 0.875rem; background: transparent; border: none; padding: var(--spacing-xs); border-radius: var(--radius-sm); transition: all var(--transition-fast); cursor: pointer; } .main-card .footer .footerText button:hover { color: var(--border-color); background: rgba(245, 158, 11, 0.1); } /* Barras de cierre y principales */ .main-card .body .admin-menu .closebar, .main-card .body .player-menu .closebar, .main-card .body .server-menu .closebar, .main-card .body .teleport-menu .closebar, .main-card .body .vision-menu .closebar, .main-card .body .vehicle-menu .closebar, .main-card .body .banlist-menu .closebar { display: flex; flex-direction: row; align-content: center; justify-content: flex-start; align-items: center; width: 200px; height: 100%; padding: var(--spacing-md); } .main-card .body .admin-menu .closebar button, .main-card .body .player-menu .closebar button, .main-card .body .server-menu .closebar button, .main-card .body .teleport-menu .closebar button, .main-card .body .vision-menu .closebar button, .main-card .body .vehicle-menu .closebar button, .main-card .body .banlist-menu .closebar button { display: flex; align-items: center; justify-content: center; background: var(--danger-color); border: none; border-radius: var(--radius-lg); font-size: 0.875rem; font-weight: 600; color: var(--text-primary); transition: all var(--transition-normal); cursor: pointer; width: 120px; height: 40px; box-shadow: var(--shadow-sm); } .main-card .body .admin-menu .closebar button:hover, .main-card .body .player-menu .closebar button:hover, .main-card .body .server-menu .closebar button:hover, .main-card .body .teleport-menu .closebar button:hover, .main-card .body .vision-menu .closebar button:hover, .main-card .body .vehicle-menu .closebar button:hover, .main-card .body .banlist-menu .closebar button:hover { background: var(--danger-hover); box-shadow: var(--shadow-md); } .main-card .body .admin-menu .mainbar, .main-card .body .player-menu .mainbar, .main-card .body .server-menu .mainbar, .main-card .body .teleport-menu .mainbar, .main-card .body .vision-menu .mainbar, .main-card .body .vehicle-menu .mainbar, .main-card .body .banlist-menu .mainbar { flex: 1; height: 100%; overflow-x: hidden; overflow-y: auto; display: flex; flex-direction: column; align-items: center; padding: var(--spacing-md); gap: var(--spacing-md); } /* Admin menu específico */ .main-card .body .admin-menu .mainbar .stautsBtns, .main-card .body .admin-menu .mainbar .actionBtns { display: flex; align-items: center; flex-direction: row; flex-wrap: wrap; align-content: center; justify-content: center; gap: var(--spacing-md); /*border-bottom: 2px solid var(--primary-color);*/ border-radius: var(--radius-md); padding: var(--spacing-lg); width: 100%; } .main-card .body .admin-menu .mainbar .coordsDisplay { display: flex; flex-direction: column; align-content: center; justify-content: center; align-items: center; padding: var(--spacing-lg); width: 100%; background: var(--bg-dark); border-radius: var(--radius-md); border: 1px solid var(--secondary-color); } .main-card .body .admin-menu .mainbar .stautsBtns button .informaton { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--spacing-sm); text-align: center; } .main-card .body .admin-menu .mainbar .stautsBtns button .status { display: flex; flex-direction: column; align-items: center; justify-content: center; } .main-card .body .admin-menu .mainbar .actionBtns button { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--accent-hover); border: none; border-radius: 5px; color: var(--text-primary); min-height: 60px; flex: 1; max-width: 200px; padding: var(--spacing-md); transition: all var(--transition-normal); cursor: pointer; font-size: 20px; box-shadow: var(--shadow-sm); } .main-card .body .admin-menu .mainbar .actionBtns button:hover { background-color: var(--bg-dark); } .main-card .body .admin-menu .mainbar .coordsDisplay .coords-text, .main-card .body .admin-menu .mainbar .coordsDisplay .coords-loaction { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 0.875rem; color: var(--text-secondary); margin: var(--spacing-sm) 0; } .main-card .body .admin-menu .mainbar .coordsDisplay button { background: transparent; border: 1px solid transparent; border-radius: var(--radius-sm); transition: all var(--transition-fast); cursor: pointer; padding: var(--spacing-sm); } .main-card .body .admin-menu .mainbar .coordsDisplay button:hover { background: rgba(37, 99, 235, 0.1); border-color: var(--accent-hover); } .main-card .body .admin-menu .mainbar .coordsDisplay .copyCoords { display: flex; align-items: center; justify-content: center; } /* Player menu */ .main-card .body .player-menu .mainbar .playerList, .main-card .body .player-menu .mainbar .playerAction { width: 100%; height: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: var(--spacing-md); } .main-card .body .player-menu .mainbar .playerList .row { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--bg-dark); color: white; border: 2px solid var(--bg-card); border-radius: var(--radius-lg); transition: all var(--transition-normal); width: 280px; min-height: 120px; padding: var(--spacing-md); cursor: pointer; box-shadow: var(--shadow-sm); } .main-card .body .player-menu .mainbar .playerList .row:hover { border-color: var(--bg-light); background: var(--border-color); transform: translateY(-2px); box-shadow: var(--shadow-md); } .main-card .body .player-menu .mainbar .playerList .row .playerID, .main-card .body .player-menu .mainbar .playerList .row .playerName { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: var(--spacing-xs) 0; } .main-card .body .player-menu .mainbar .playerList .row .playerID .title, .main-card .body .player-menu .mainbar .playerList .row .playerName .title { font-weight: 700; font-size: 0.875rem; } .main-card .body .player-menu .mainbar .playerList .row .playerID .value, .main-card .body .player-menu .mainbar .playerList .row .playerName .value { font-weight: 600; font-size: 0.875rem; } .main-card .body .player-menu .mainbar .playerAction { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: var(--spacing-lg); } .main-card .body .player-menu .mainbar .playerAction .head { display: flex; flex-direction: row; align-items: center; justify-content: space-between; width: 100%; padding: var(--spacing-md); background: var(--bg-dark); border-radius: var(--radius-md); } .main-card .body .player-menu .mainbar .playerAction .head .titleBar { font-weight: 600; font-size: 1.5rem; color: var(--text-primary); } .main-card .body .player-menu .mainbar .playerAction .head .closeBar .closeBtn { display: flex; align-items: center; justify-content: center; font-size: 0.875rem; font-weight: 600; background: var(--danger-color); border: none; border-radius: var(--radius-md); color: var(--text-primary); transition: all var(--transition-normal); cursor: pointer; padding: var(--spacing-sm) var(--spacing-md); } .main-card .body .player-menu .mainbar .playerAction .head .closeBar .closeBtn:hover { background: var(--danger-hover); transform: scale(1.05); } .main-card .body .player-menu .mainbar .playerAction .information { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; background: var(--bg-dark); border-radius: var(--radius-md); padding: var(--spacing-lg); } .main-card .body .player-menu .mainbar .playerAction .information .textInfromation { display: flex; align-items: center; justify-content: center; padding: var(--spacing-md); border-bottom: 2px solid var(--danger-color); border-radius: var(--radius-md); font-weight: 700; font-size: 1.25rem; width: 100%; margin-bottom: var(--spacing-md); } .main-card .body .player-menu .mainbar .playerAction .information .statusInfromation { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: 100%; gap: var(--spacing-sm); } .main-card .body .player-menu .mainbar .playerAction .information .statusInfromation .heartStatus, .main-card .body .player-menu .mainbar .playerAction .information .statusInfromation .armourStatus { display: flex; align-items: center; justify-content: flex-start; font-size: 1rem; font-weight: 600; gap: var(--spacing-sm); } .main-card .body .player-menu .mainbar .playerAction .information .statusInfromation .heartStatus .icon, .main-card .body .player-menu .mainbar .playerAction .information .statusInfromation .armourStatus .icon { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; } .main-card .body .player-menu .mainbar .playerAction .actions { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: var(--spacing-md); width: 100%; } .main-card .body .player-menu .mainbar .playerAction .actions button { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--accent-hover); border: none; border-radius: 5px; color: var(--text-primary); min-height: 60px; flex: 1; max-width: 200px; padding: var(--spacing-md); transition: all var(--transition-normal); cursor: pointer; font-size: 20px; box-shadow: var(--shadow-sm); } .main-card .body .player-menu .mainbar .playerAction .actions button:hover { background-color: var(--bg-dark); } /* Server menu */ .main-card .body .server-menu .mainbar { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--spacing-md); } .main-card .body .server-menu .mainbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--accent-hover); border: none; border-radius: 5px; color: var(--text-primary); min-height: 60px; flex: 1; max-width: 200px; padding: var(--spacing-md); transition: all var(--transition-normal); cursor: pointer; font-size: 20px; box-shadow: var(--shadow-sm); } .main-card .body .server-menu .mainbar button:hover { background-color: var(--bg-dark); } /*=============================== Teleport Section ================================*/ /* Contenedor principal para las secciones */ .teleport-container { display: flex; justify-content: center; /* Centra todo el contenedor */ align-items: flex-start; /* Alinea la parte superior de las secciones */ gap: 5px; margin: 0 auto; padding: 20px; } /* Ajustes para cada sección individual */ .teleport-section { flex: 1; /* Cada sección ocupa el mismo espacio */ min-width: 0; /* Evita overflow de contenido */ display: flex; flex-direction: column; align-items: center; background-color: #1b2438; border-radius: 16px; padding: 25px; box-shadow: 0 8px 20px rgba(0,0,0,0.6); color: #fff; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; text-align: center; } .teleport-section .right-section { min-width: 0; display: flex; flex-direction: column; align-items: center; background-color: #1b2438; border-radius: 16px; padding: 25px; box-shadow: 0 8px 20px rgba(0,0,0,0.6); color: #fff; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; text-align: center; } .teleport-section .left-section { min-width: 0; display: flex; flex-direction: column; align-items: center; background-color: #1b2438; border-radius: 16px; padding: 25px; box-shadow: 0 8px 20px rgba(0,0,0,0.6); color: #fff; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; text-align: center; } /* Section Title */ .teleport-section .section-title { font-size: 26px; color: #f39c12; margin-bottom: 20px; padding-bottom: 8px; border-bottom: 2px solid #2c3e6c; display: flex; justify-content: center; align-items: center; gap: 10px; } .teleport-section .section-title i { font-size: 28px; } /* Divider */ .teleport-section .divider { width: 3px; background: linear-gradient(to bottom, transparent, #2c3e6c, transparent); border-radius: 2px; } /* Buttons */ .teleport-section button { display: flex; justify-content: center; align-items: center; gap: 10px; background-color: #2c3e6c; border: none; border-radius: 12px; color: #fff; font-size: 16px; padding: 12px 20px; cursor: pointer; transition: 0.3s ease; margin-top: 12px; width: 100%; max-width: 220px; box-shadow: 0 3px 6px rgba(0,0,0,0.3); } .teleport-section button i { font-size: 20px; } .teleport-section button:hover { background-color: var(--bg-dark); color: #f39c12; } /* Inputs */ .teleport-section .inputBar { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 12px; } .teleport-section .inputBar input { width: 80px; padding: 6px 8px; border-radius: 8px; border: 1px solid #555; background-color: #2c3e6c; color: white; text-align: center; transition: 0.2s; } .teleport-section .inputBar input:focus { outline: none; border-color: #f39c12; box-shadow: 0 0 6px #f39c12; } /* Labels */ .teleport-section .inputBar label { color: #fff; font-weight: 500; } .main-card .body .vision-menu .mainbar { display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: space-evenly; align-items: center; } .main-card .body .vision-menu .mainbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--accent-hover); border: none; border-radius: 5px; color: var(--text-primary); min-height: 60px; flex: 1; max-width: 200px; padding: var(--spacing-md); transition: all var(--transition-normal); cursor: pointer; font-size: 20px; box-shadow: var(--shadow-sm); } .main-card .body .vision-menu .mainbar button:hover { background-color: var(--bg-dark); } .main-card .body .vision-menu .mainbar .night { border: none; color: #fff; background: #4b4b4b; } .main-card .body .vision-menu .mainbar .thermal { border: none; color: #000; background: #ffae52; } .main-card .body .vehicle-menu .mainbar .myself, .main-card .body .vehicle-menu .mainbar .other { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: center; justify-content: space-evenly; width: 100%; height: 50%; } .main-card .body .vehicle-menu .mainbar .myself .inputBar, .main-card .body .vehicle-menu .mainbar .other .inputBar { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-evenly; align-items: center; align-content: center; font-weight: 700; width: 100%; } .main-card .body .vehicle-menu .mainbar .inputBar input { height: 100%; width: 20%; background: #fff285; border: 2.5px #cc851a solid; border-radius: 30px; text-align: center; } .main-card .body .vehicle-menu .mainbar .buttonBar { flex-direction: column; flex-wrap: nowrap; align-content: center; justify-content: center; align-items: center; width: 50%; /* se estira a lo ancho */ padding: 2px 6px; /* muy poco padding */ } .main-card .body .vehicle-menu .mainbar .buttonBar button { display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: 'Inter', sans-serif; font-size: 0.875rem; font-weight: 600; background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%); border: none; border-radius: var(--radius-lg); transition: all var(--transition-normal); cursor: pointer; width: 150px; height: 100px; color: var(--text-primary); box-shadow: var(--shadow-sm); } .main-card .body .vehicle-menu .mainbar .buttonBar button:hover { background-color: var(--bg-dark); } .main-card .body .banlist-menu .mainbar { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; align-content: flex-start; justify-content: center; } .main-card .body .banlist-menu .mainbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--bg-dark); color: white; border: 2px solid var(--bg-card); border-radius: var(--radius-lg); transition: all var(--transition-normal); width: 280px; min-height: 120px; padding: var(--spacing-md); cursor: pointer; box-shadow: var(--shadow-sm); } .main-card .body .banlist-menu .mainbar button:hover { border-color: var(--bg-light); background: var(--border-color); transform: translateY(-2px); box-shadow: var(--shadow-md); } .main-card .body .banlist-menu .mainbar button .banid { } .main-card .body .banlist-menu .mainbar button .reason { } /*Hero Section*/ .hero-section { color: white; text-align: center; border-radius: 10px; margin-left: 30px; border: none; } .hero-section h1 { font-size: 2.5em; margin-bottom: 20px; } .hero-section h2 { font-size: 2em; margin: 20px 0; } .hero-section p { font-size: 1.2em; margin-bottom: 30px; } .card-container { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; font-size: 12px; padding: 20px; /* Añadido para un mejor espaciado alrededor de las tarjetas */ } .card { background-color: #34495e; border: 2px solid var(--border-color); /* Asegúrate de que --border-color esté definido */ border-radius: 10px; padding: 20px; width: 300px; text-align: center; transition: background-color 0.3s ease, transform 0.3s ease; /* Especifica las propiedades que cambian */ cursor: pointer; /* Cambia el cursor al pasar sobre la tarjeta */ overflow: hidden; /* Evita que el contenido se desborde */ } #huevon { color: yellow; cursor: pointer; } .card:hover { background-color: var(--border-color); transform: translateY(-5px); } .card h3 { margin: 10px 0; /* Espaciado para el título */ font-size: 16px; /* Aumenta el tamaño de la fuente del título */ color: #ffffff; /* Asegúrate de que el texto sea legible */ } .card p { margin: 5px 0; /* Espaciado para el texto del párrafo */ color: #ecf0f1; /* Color del texto para mejor contraste */ } .icon { font-size: 3em; color: #61dafb; } .card-title { margin-top: 15px; font-size: 1.5em; } .card-text { font-size: 1em; } .cta-button { display: inline-block; margin-top: 20px; padding: 10px 20px; font-size: 1.2em; background-color: #61dafb; color: #282c34; text-decoration: none; border-radius: 5px; transition: background-color 0.3s; cursor: pointer; transition: all 0.3s ease; /* suaviza el cambio */ } .cta-button:hover { background-color: #2a003f; transform: translateY(-3px); } /* Scrollbar estilo Webkit */ .hero-section::-webkit-scrollbar { width: 10px; /* ancho barra vertical */ height: 10px; /* alto barra horizontal */ } .hero-section::-webkit-scrollbar-track { background: #1f2a36; /* fondo oscuro del track */ border-radius: 10px; } .hero-section::-webkit-scrollbar-thumb { background: var(--border-color); /* color celeste */ border-radius: 10px; } .hero-section::-webkit-scrollbar-thumb:hover { background: #4c15a5; /* celeste más oscuro al hover */ } .hero-section::-webkit-scrollbar-corner { background: transparent; } /*Miscellaneous Section*/ /*=============================== Checkbox Sites Container ================================*/ .checkbox-sites { background-color: #1f2a44; border-radius: 10px; padding: 20px; width: 650px; color: white; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); } /* Title inside Checkbox Sites */ .checkbox-sites > p:first-child { font-size: 30px; color: #f39c12; margin-top: 0; display: flex; align-items: center; border-bottom: 2px solid #2c3e6c; padding-bottom: 15px; } /* Icon inside title */ .checkbox-sites i { margin-right: 10px; font-size: 32px; } /*=============================== Checkbox Layout ================================*/ .checkbox-container { display: flex; justify-content: space-between; gap: 30px; margin-top: 20px; } .left-section, .right-section { flex: 1; } /* Section Titles */ .section-title { font-size: 18px; color: #f39c12; margin-bottom: 15px; padding-bottom: 5px; border-bottom: 1px solid #2c3e6c; } /*=============================== Checkbox Styles ================================*/ label { display: flex; align-items: center; font-size: 16px; color: white; cursor: pointer; margin-bottom: 12px; transition: 0.3s; padding: 8px 12px; border-radius: 6px; } label:hover { background-color: #2c3e6c; color: #f39c12; } input[type="checkbox"] { accent-color: #f39c12; margin-right: 10px; transform: scale(1.2); cursor: pointer; } input[type="checkbox"]:checked { background-color: #f39c12; } input[type="checkbox"]:focus { outline: none; } /* Divider between sections */ .divider { width: 2px; background: linear-gradient(to bottom, transparent, #2c3e6c, transparent); margin: 0 10px; } /*=============================== Announce Box ================================*/ #announce-box { display: none; position: fixed; top: 25px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #6a1b9a, #ab47bc); color: #fff; padding: 18px 40px; border-radius: 5px; /* Menor border-radius para un aspecto más sólido */ font-size: 18px; font-weight: 600; text-align: center; z-index: 9999; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); /* Sombra más sutil */ animation: slideIn 0.6s ease forwards, fadeOut 0.6s ease forwards 5s; max-width: 80%; line-height: 1.4; letter-spacing: 0.5px; /* Espaciado de letras ligeramente aumentado */ white-space: pre-wrap; border: 2px solid rgba(255, 255, 255, 0.2); /* Borde más visible */ } /* Animaciones */ @keyframes slideIn { 0% { transform: translateX(-50%) translateY(-60px); opacity: 0; } 100% { transform: translateX(-50%) translateY(0); opacity: 1; } } @keyframes fadeOut { 0% { opacity: 1; transform: translateX(-50%) translateY(0); } 100% { opacity: 0; transform: translateX(-50%) translateY(-30px); } } /*=============================== Server Tools ================================*/ #close-btn-sidebar { margin-top: 150px; padding-bottom: 10px; background-color: var(--bg-card); border-radius: 5px; } #close-btn-sidebar:hover { background-color: red; color: white; } .menu h1 { font-size: 2.2rem; font-weight: 700; letter-spacing: 1px; color: #a259ff; } .menu h2 { font-size: 1.3rem; font-weight: 600; margin-top: 20px; color: #ffffff; } .menu ul li { font-size: 1rem; line-height: 1.6; } .menu input { background: #2a2a2a; border: 1px solid #444; border-radius: 8px; padding: 8px 12px; color: #fff; font-size: 1rem; transition: all 0.2s ease-in-out; } .menu input:focus { outline: none; border-color: #a259ff; box-shadow: 0 0 8px rgba(162, 89, 255, 0.5); } .menu button { background: var(--accent-hover); border: none; border-radius: 8px; padding: 8px 14px; font-size: 1rem; font-weight: 600; color: #fff; cursor: pointer; transition: all 0.25s ease-in-out; display: inline-flex; align-items: center; gap: 6px; } .menu button:hover { background-color: var(--bg-dark); } .menu button:active { transform: translateY(0); box-shadow: none; } .menu button i { font-size: 1.1rem; vertical-align: middle; } /*================================= NOTIFY CONTENT ===================================*/ #notification-container { position: absolute; bottom: 800px; /* Mover más abajo */ right: 20px; display: flex; flex-direction: column; gap: 15px; z-index: 9999; } .notification { display: flex; align-items: center; gap: 15px; min-width: 300px; /* Aumentar el ancho mínimo */ max-width: 400px; /* Aumentar el ancho máximo */ background: linear-gradient(135deg, #6a1b9a, #ab47bc); color: white; padding: 15px 20px; /* Ajustar el padding */ border-radius: 8px; /* Bordes más suaves */ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Sombra más sutil */ opacity: 0; transform: translateY(20px); /* Desplazamiento vertical */ transition: opacity 0.4s ease, transform 0.4s ease; font-family: 'Arial', sans-serif; font-size: 15px; /* Tamaño de fuente más pequeño */ } .notification.show { opacity: 1; transform: translateY(0); /* Regresar a la posición original */ } .notification.hide { opacity: 0; transform: translateY(20px); /* Desplazamiento vertical al ocultar */ } .notification .icon { font-size: 22px; /* Tamaño del icono ajustado */ flex-shrink: 0; /* Evitar que el icono se reduzca */ } .notification .message { flex-grow: 1; /* Permitir que el mensaje ocupe el espacio disponible */ } /*=?======================================)=()=)=(=)(??=)?)=?=)*/ /*LOGO SIDEBAR*/ #logo { margin-bottom: 120px; width: 60px; overflow: hidden; } /*PED SELECTOR*/ #pedSelector { width: 100%; /*max-width: 300px;*/ /*margin-left: 10px;*/ padding: 10px 14px; border-radius: 5px; border: none; /* Morado oscuro */ background: var(--text-dark); /* Fondo oscuro */ color: #fff; /* Texto blanco */ cursor: pointer; transition: all 0.3s ease; outline: none; } #pedSelector:hover { border-color: #9333ea; /* Morado más brillante al pasar el mouse */ background: var(--bg-dark); } #pedSelector:focus { border-color: #c084fc; /* Foco con un morado más claro */ box-shadow: 0 0 10px #9333ea66; } #pedSelector option { background: #1a1a1a; color: #fff; font-size: 15px; } /* Scrollbar personalizado */ #pedSelector::-webkit-scrollbar { width: 8px; /* Grosor del scrollbar */ height: 8px; } #pedSelector::-webkit-scrollbar-track { background: #1a1a1a; /* Fondo del track */ border-radius: 10px; } #pedSelector::-webkit-scrollbar-thumb { background: var(--accent-hover); /* Color del scroll */ border-radius: 10px; transition: background 0.3s ease; } #pedSelector::-webkit-scrollbar-thumb:hover { background: var(--bg-card); /* Hover más claro */ } #pedSelector::-webkit-scrollbar-corner { background: transparent; /* Quitar la esquina fea */ }