@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap'); * { box-sizing: border-box; } body { margin: 0; font-family: "Inter", sans-serif; font-weight: 400; background-color: none; color: #f0f0f0; } .container { max-width: 700px; margin: 40px auto; padding: 30px; background: linear-gradient(to bottom, #131416, #181818); border-radius: 10px; box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); animation: popIn 0.3s ease-in-out; } h1 { font-size: 28px; margin-bottom: 20px; color: #ffffff; } label { font-size: 13px; color: #ccc; margin-top: 0; margin-bottom: 10px; display: block; } textarea { width: 100%; height: 80px; padding: 12px; border: none; border-radius: 6px; background-color: #232426; color: #fff; resize: vertical; margin-bottom: 15px; } button { font-family: "Inter", sans-serif; background-color: #232426; color: #dadada; border: 1px solid #35363a; padding: 11px 15px; border-radius: 9px; cursor: pointer; font-size: 14px; font-weight: 500; transition: background-color 0.2s; } button:hover { background-color: #2d2e32; } .info { margin-top: 10px; font-size: 13px; color: #ccc; } .infoReport { margin: 2px 0; font-size: 13px; color: #ccc; } /* Custom scrollbar for chat box */ .chat-box::-webkit-scrollbar { width: 8px; /* Thin scrollbar */ } .chat-box::-webkit-scrollbar-track { background: #2c2f33; /* Dark background */ border-radius: 4px; } .chat-box::-webkit-scrollbar-thumb { background: #888; /* Gray thumb */ border-radius: 4px; transition: background 0.3s; } .chat-box::-webkit-scrollbar-thumb:hover { background: #bbb; /* Lighter color on hover */ } .chat-box { background-color: #232426; height: 200px; overflow-y: auto; padding: 10px; border-radius: 6px; margin-bottom: 15px; word-wrap: break-word; /* Ensures long words break */ overflow-wrap: break-word; /* Alternative for better compatibility */ } .chat-box p { white-space: normal; /* Ensures text wraps */ word-break: break-word; /* Forces word breaks */ } .chat-input { display: flex; gap: 10px; margin-bottom: 15px; } .chat-input input[type="text"] { flex: 1; padding: 10px; background-color: #232426; border: none; border-radius: 6px; color: #fff; } .chat-input button { padding: 10px 16px; background-color: #232426; border: none; border-radius: 6px; color: #fff; cursor: pointer; transition: background-color 0.2s; } .chat-input button:hover { background-color: #3c3a3f; } .custom-alert-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); display: flex; align-items: center; justify-content: center; z-index: 9999; } .custom-alert-box { background-color: #131416; padding: 30px 25px; border-radius: 12px; width: 90%; max-width: 400px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.25); text-align: left; animation: popIn 0.3s ease-in-out; } .alert-title { margin: 0; font-size: 22px; color: #ebebeb; } .alert-text { margin-top: 10px; font-size: 14px; color: #999999; } .alert-button { margin-top: 20px; width: 100%; padding: 10px; background-color: #232426; color: white; border: none; border: 1px solid #35363a; border-radius: 9px; cursor: pointer; font-size: 16px; } .alert-button:hover { background-color: #2d2e32; } @keyframes popIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } } .report-header { background-color: #232426; padding: 10px; border-radius: 6px; margin-bottom: 10px; display: flex; font-size: 16px; font-weight: bold; } .report-col { flex: 1; text-align: left; color: #ffffff; } .report-action { flex: 0.5; text-align: right; } #reportList .report-item { background-color: #232426; padding: 12px; border-radius: 6px; margin-bottom: 10px; display: flex; align-items: center; font-size: 14px; } #reportList .report-item .report-col { flex: 1; text-align: left; color: #f0f0f0; } #reportList .report-item .report-action { flex: 0.5; text-align: right; } .prefix-player { background-color: #18181f; color: #f0c13f; padding: 3px 6px; border-radius: 6px; font-weight: 800; } .prefix-admin { background-color: #18181f; color: #811717; padding: 3px 6px; border-radius: 6px; font-weight: 800; } .chat-box div { margin-bottom: 10px; } .pagination { margin-top: 10px; text-align: center; } .pagination button { background-color: #272730; color: #fff; border: none; padding: 6px 12px; border-radius: 4px; margin: 0 5px; cursor: pointer; font-size: 14px; transition: background-color 0.2s; } .pagination button:disabled { opacity: 0.5; cursor: not-allowed; } .pagination button:hover:not(:disabled) { background-color: #373744; } .main-content { display: flex; } /* Left column: Options sidebar */ .options-sidebar { width: 200px; display: flex; flex-direction: column; padding-right: 10px; } .options-sidebar .option { margin-bottom: 10px; font-size: 16px; font-weight: 500; color: #f0f0f0; cursor: pointer; padding: 10px; border-radius: 7px; display: flex; align-items: center; width: 100%; box-sizing: border-box; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .options-sidebar .option.active { background-color: #28272a; color: #f2f2f4; } .options-sidebar .option i { display: inline-block; width: 20px; text-align: center; margin-right: 10px; } /* Vertical divider */ .divider { width: 1px; background-color: #888; margin: 0 30px 0 10px; } /* Right column: Report form */ .report-form { flex: 1; padding-top: 5px; /* remove any padding */ } .report-form h1 { margin-top: 0; /* remove default margin */ margin-bottom: 5px; } .modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; z-index: 1000; overflow: auto; } .modal-content { background: #131416; color: #ffffff; padding: 20px; width: 400px; border-radius: 10px; animation: fadeIn 0.3s ease-in-out; position: relative; text-align: center; } /* Close Button */ .close { position: absolute; top: 10px; right: 10px; font-size: 24px; cursor: pointer; padding: 2px 7px; border-radius: 5px; background-color: #e4323270; color: #b43939; border: none; transition: 0.2s; } .close:hover { background-color: #e432329a; } /* Headings */ h2, h3 { margin: 10px 0; } /* List Styling */ ul { list-style: none; padding: 0; } ul li { background: #212023; margin: 5px 0; padding: 8px; border-radius: 5px; transition: 0.2s; } ul li:hover { background: #333236; } #modalInventory, #modalNearbyPlayers { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; } #modalInventory li, #modalNearbyPlayers li { flex: 0 0 calc(50% - 10px); /* Each item takes up about 50% of the width minus gap */ background: #212023; padding: 8px; border-radius: 5px; list-style: none; } .closed-reports-list { max-width: 100%; /* Prevents it from expanding beyond container */ display: flex; flex-wrap: wrap; /* Ensures buttons wrap instead of forcing a long line */ gap: 10px; /* Adds spacing between buttons */ } .closed-report-btn { white-space: nowrap; /* Prevents text from breaking */ max-width: 150px; /* Ensures buttons don’t expand too much */ overflow: hidden; text-overflow: ellipsis; } label[for="reportType"] { font-size: 1.0rem; font-weight: 500; margin-bottom: 10px; display: inline-block; margin-top: 15px; } /* Styling for the select dropdown */ select#reportType { width: 50%; padding: 8px; font-size: 1rem; border: none; border-radius: 9px; background-color: #232426; color: #dadada; outline: none; transition: all 0.3s ease; } .report-form select { margin-bottom: 10px; } /* Fade In Animation */ @keyframes fadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }