* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } body { background: #2e2e2e; padding: 10px; } .sidebar { position: fixed; top: 10px; left: 10px; bottom: 10px; width: 240px; background: rgba(56, 56, 56, 0.9); box-shadow: 0 8px 24px rgba(156, 114, 255, 0.7); backdrop-filter: blur(10px); display: flex; flex-direction: column; padding: 25px 20px; border-radius: 20px; z-index: 1000; } .sidebar h2 { color: #b99cff; text-align: center; margin-bottom: 40px; font-weight: 700; letter-spacing: 2px; text-shadow: 0 0 12px #b99cff; } .sidebar a { color: #bbb; text-decoration: none; margin: 15px 0; padding: 14px 20px; border-radius: 12px; transition: all 0.3s ease; font-weight: 600; box-shadow: 0 0 10px transparent; display: flex; align-items: center; gap: 12px; user-select: none; font-size: 1.1rem; } .sidebar a:hover, .sidebar a.active { color: #fff; background: #9c72ff; box-shadow: 0 0 18px #9c72ff; text-shadow: 0 0 12px #fff; } .nav-links { display: flex; flex-direction: column; flex-grow: 1; } .logout-btn { margin-top: auto; padding: 14px 20px; background: #7d1eff; color: white; font-weight: 700; border: none; border-radius: 14px; cursor: pointer; box-shadow: 0 0 20px #7d1effbb; text-align: center; user-select: none; text-decoration: none; transition: box-shadow 0.4s ease; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 1.1rem; } .logout-btn:hover { box-shadow: 0 0 30px #bd5eff; color: #fff; } .main-content { margin: 0px 0px 0px 267px; padding: 30px 40px; background: #3a3a3a; box-shadow: inset 0 0 20px #6c40ff44, 0 8px 30px rgba(156, 114, 255, 0.5); border-radius: 20px; min-height: calc(100vh - 20px); max-height: calc(100vh - 20px); overflow-y: auto; position: relative; z-index: 1; transition: opacity 0.3s ease-in-out; } h1 { color: #b99cff; text-shadow: 0 0 15px #b99cffaa; margin-bottom: 10px; font-weight: 700; font-size: 2rem; } p { color: #ccc; margin-bottom: 15px; font-size: 1.1rem; line-height: 1.5; } .main-content::-webkit-scrollbar { width: 8px; } .main-content::-webkit-scrollbar-track { background: #2e2e2e; } .main-content::-webkit-scrollbar-thumb { background: #9c72ff; border-radius: 8px; box-shadow: 0 0 8px #9c72ffaa; } .admin-controls { margin-top: 30px; color: #ccc; } .admin-controls h2 { margin-top: 20px; color: #b99cff; text-shadow: 0 0 6px #9c72ff88; } .admin-controls form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; } .admin-controls input, .admin-controls select { padding: 10px; background: #444; border: none; border-radius: 8px; color: white; } .admin-controls button { background: #9c72ff; border: none; padding: 10px; border-radius: 10px; color: white; font-weight: bold; cursor: pointer; transition: 0.3s ease; box-shadow: 0 0 6px #9c72ff88; } .admin-controls button:hover { box-shadow: 0 0 20px #9c72ffcc; } .user-row { color: white; background: #222; padding: 12px; border-radius: 8px; margin: 8px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; } .user-row .uname { font-weight: 700; color: #b99cff; text-shadow: 0 0 2px #b99cff99, 0 0 5px #9c72ff88; flex: 1 1 150px; } .user-row span { flex: 1 1 auto; min-width: 120px; } .user-row button { border: none; padding: 8px 16px; border-radius: 10px; font-weight: 600; cursor: pointer; transition: box-shadow 0.3s ease; color: white; font-size: 0.9rem; } .user-row button:not(.btn-enable):not(.btn-disable) { background-color: #9c72ff; box-shadow: 0 0 4px #9c72ff88, 0 0 8px #b99cff88; } .user-row button:not(.btn-enable):not(.btn-disable):hover { box-shadow: 0 0 15px #b99cff, 0 0 30px #b99cff; } .user-row button.btn-enable { background-color: #28a745; box-shadow: 0 0 4px #28a745aa, 0 0 8px #4cd964aa; } .user-row button.btn-enable:hover { box-shadow: 0 0 12px #4cd964, 0 0 25px #28a745; } .user-row button.btn-disable { background-color: #dc3545; box-shadow: 0 0 4px #dc3545aa, 0 0 8px #ff5c5caa; } .user-row button.btn-disable:hover { box-shadow: 0 0 12px #ff5c5c, 0 0 25px #dc3545; } @media (max-width: 768px) { body { flex-direction: column; } .sidebar { position: relative; width: 100%; height: auto; border-radius: 0 0 30px 30px; flex-direction: row; justify-content: space-around; padding: 15px 0; backdrop-filter: none; box-shadow: none; } .sidebar h2 { display: none; } .sidebar a { margin: 0 10px; padding: 10px 12px; font-size: 0.95rem; justify-content: center; gap: 6px; } .logout-btn { margin-top: 0; } .main-content { margin-left: 0; border-radius: 0; padding: 25px 20px; } }