* { box-sizing: border-box; } :root { --primary: #00ffff; --primary-hover: #00cccc; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: transparent; margin: 0; padding: 0; height: 100vh; overflow-y: auto; overflow-x: hidden; color: white; display: flex; justify-content: center; align-items: center; width: 100%; box-sizing: border-box; } html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; } #app { position: absolute; display: flex; justify-content: center; align-items: center; width: auto; height: auto; } .adminjail-wrapper { width: 800px; max-height: 90vh; background: rgba(30, 30, 30, 0.9); border-radius: 12px; box-shadow: 0 0 20px var(--primary); padding: 20px; overflow-y: auto; overflow-x: hidden; position: relative; max-width: 90vw; } .adminjail-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .logo { font-size: 20px; font-weight: bold; } .subtitle { font-size: 12px; color: #aaa; } .close-button { font-size: 18px; cursor: pointer; } .adminjail-tabs { display: flex; gap: 10px; margin-bottom: 20px; border-bottom: 1px solid #333; width: 100%; } .tab-button { flex: 1; padding: 12px 15px; background: #2a2a2a; border: none; border-radius: 8px 8px 0 0; color: #aaa; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; text-align: center; } .tab-button:hover { color: white; background-color: rgba(0, 255, 255, 0.05); } .tab-button.active { background-color: rgba(0, 255, 255, 0.1); color: var(--primary); font-weight: bold; border-bottom: 2px solid var(--primary); } .tab-button.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background-color: var(--primary); box-shadow: 0 0 8px var(--primary); } .adminjail-content { display: flex; flex-direction: column; gap: 15px; width: 100%; overflow: hidden; } .player-list, .jail-list { display: flex; flex-direction: column; gap: 12px; max-height: 400px; overflow-y: auto; overflow-x: hidden; padding-right: 5px; width: 100%; box-sizing: border-box; } .player-list::-webkit-scrollbar, .jail-list::-webkit-scrollbar { width: 6px; } .player-list::-webkit-scrollbar-track, .jail-list::-webkit-scrollbar-track { background: #222; border-radius: 3px; } .player-list::-webkit-scrollbar-thumb, .jail-list::-webkit-scrollbar-thumb { background: #444; border-radius: 3px; } .player-list::-webkit-scrollbar-thumb:hover, .jail-list::-webkit-scrollbar-thumb:hover { background: var(--primary); } .player-item, .jail-item { display: flex; justify-content: space-between; align-items: center; background: #2a2a2a; padding: 12px 18px; border-radius: 8px; transition: all 0.2s ease; border-left: 3px solid transparent; width: 100%; box-sizing: border-box; } .player-item:hover, .jail-item:hover { background: #333; border-left: 3px solid var(--primary); transform: translateX(2px); } .player-entry { background: #252525; border-radius: 12px; padding: 12px; display: flex; justify-content: space-between; align-items: center; animation: fadein 0.3s ease-in-out; width: 100%; box-sizing: border-box; } .player-info, .jail-info { display: flex; flex-direction: column; gap: 4px; } .player-name, .jail-name { font-weight: bold; color: white; font-size: 15px; } .player-id, .jail-reason { color: #aaa; font-size: 13px; } .player-info { font-size: 14px; line-height: 1.4; } .jail-button { background-color: var(--primary); color: black; border: none; padding: 10px 20px; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; font-weight: bold; letter-spacing: 0.5px; box-shadow: 0 0 8px rgba(0, 255, 255, 0.3); } .jail-button:hover { background-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 0 12px rgba(0, 255, 255, 0.5); } .jail-button:active { transform: translateY(1px); box-shadow: 0 0 5px rgba(0, 255, 255, 0.3); } .unjail-button { padding: 10px 15px; background: var(--primary); border: none; border-radius: 8px; color: black; font-weight: bold; cursor: pointer; transition: 0.2s; } .unjail-button:hover { background: var(--primary-hover); } .searchInput { width: 100%; padding: 10px 15px; background: #333; border: 1px solid #444; border-radius: 6px; color: white; margin-bottom: 10px; transition: all 0.3s ease; font-size: 14px; box-sizing: border-box; } .searchInput:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 8px rgba(0, 255, 255, 0.3); background: #3a3a3a; } .searchInput::placeholder { color: #777; transition: color 0.3s ease; } .searchInput:focus::placeholder { color: #aaa; } /* Slider Styling */ input[type=range], .jail-slider { -webkit-appearance: none; width: 100%; height: 10px; background: #333; outline: none; border-radius: 5px; margin: 10px 0; box-sizing: border-box; } input[type=range]::-webkit-slider-thumb, .jail-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; background: var(--primary); cursor: pointer; border-radius: 50%; box-shadow: 0 0 5px var(--primary); transition: all 0.2s ease; } input[type=range]::-webkit-slider-thumb:hover, .jail-slider::-webkit-slider-thumb:hover { background: var(--primary-hover); box-shadow: 0 0 8px var(--primary); transform: scale(1.1); } input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--primary); cursor: pointer; border: none; box-shadow: 0 0 5px var(--primary); transition: all 0.2s ease; } /* Jail Overlay Styling */ #jail-overlay { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 1000; width: 300px; background: rgba(0, 0, 0, 0.8); border: 2px solid var(--primary); border-radius: 8px; box-shadow: 0 0 15px var(--primary); padding: 15px; text-align: center; color: white; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; animation: pulse 2s infinite; box-sizing: border-box; } @keyframes pulse { 0% { box-shadow: 0 0 10px var(--primary); } 50% { box-shadow: 0 0 20px var(--primary); } 100% { box-shadow: 0 0 10px var(--primary); } } .jail-overlay-title { font-size: 22px; font-weight: bold; color: var(--primary); margin-bottom: 10px; text-shadow: 0 0 5px var(--primary); letter-spacing: 1px; } .jail-overlay-info { display: flex; flex-direction: column; gap: 8px; font-size: 15px; } .jail-overlay-info div { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid rgba(0, 255, 255, 0.2); } .jail-overlay-info div:last-child { border-bottom: none; } .jail-overlay-info span:first-child { font-weight: bold; color: #aaa; } .jail-overlay-info span:last-child { color: white; font-weight: 500; } @keyframes fadein { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } } .no-players { text-align: center; color: #aaa; padding: 30px; background: rgba(0, 0, 0, 0.2); border-radius: 8px; font-size: 15px; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; box-sizing: border-box; } .no-players i { font-size: 24px; color: var(--primary); margin-bottom: 10px; opacity: 0.8; }