/************************************************************
  Global Base
************************************************************/

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  background: #000; /* black background */
  color: #fff;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

/************************************************************
  Top Banner (Login)
************************************************************/
.top-banner {
  background-color: #1a1a1a;
  padding: 20px;
  text-align: center;
  border-bottom: 2px solid #5d3fd3; /* Purple accent */
  margin-bottom: 30px;
}

.top-banner h1 {
  margin: 0;
  font-weight: 400;
  font-size: 24px;
  color: #fff;
}

/************************************************************
  Top Navigation (Dashboard, Profile)
************************************************************/
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1a1a1a;
  border-bottom: 2px solid #5d3fd3;
  padding: 10px 20px;
}

.nav-left .nav-logo {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.nav-right {
  display: flex;
  gap: 15px;
}

.nav-user {
  color: #fff;
  margin-right: 15px;
  align-self: center;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  background: #5d3fd3;
  padding: 8px 12px;
  border-radius: 4px;
  font-weight: 500;
}

.nav-link:hover {
  background-color: #8e44ad;
}

/************************************************************
  Flash Message
************************************************************/
.flash-message {
  background-color: #5d3fd3;
  color: #fff;
  padding: 10px;
  text-align: center;
  margin: 20px auto 20px;
  max-width: 400px;
  border-radius: 5px;
}

/************************************************************
  Login Form
************************************************************/
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 60px);
}

.login-form {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 2px 5px rgba(93, 63, 211, 0.3);
  display: flex;
  flex-direction: column;
}

.login-title {
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
  font-size: 1.5rem;
}

.input-group {
  margin-bottom: 15px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #fff;
}

.input-group input {
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #333;
  background-color: #2f2f2f;
  color: #ddd;
  font-size: 16px;
}

.input-group input:focus {
  border-color: #5d3fd3;
  box-shadow: 0 0 8px #5d3fd3;
  outline: none;
}

/* "Remember Me" and "Forgot Password?" on the same row */
.remember-forgot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.remember-check {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
}

.forgot-link {
  color: #5d3fd3;
  text-decoration: none;
  font-weight: 500;
}

.forgot-link:hover {
  color: #8e44ad;
}

/************************************************************
  Buttons
************************************************************/
.login-button,
button {
  background: #5d3fd3;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  transition: background-color 0.3s;
  box-shadow: 0 0 8px #5d3fd3;
}

.login-button:hover,
button:hover {
  background-color: #8e44ad;
}

/************************************************************
  Sidebar
************************************************************/
.sidebar {
  background-color: #1a1a1a;
  padding: 10px;
  width: 200px;
  min-height: 100vh;
  box-shadow: 2px 0 5px rgba(0,0,0,0.4);
  position: fixed;
  left: 0;
  top: 0;
  transition: left 0.3s;
  overflow: auto;
}

.sidebar button {
  display: block;
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  font-size: 16px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  background: #5d3fd3;
  color: #fff;
}

.sidebar button:hover {
  background-color: #8e44ad;
}

.sidebar.open {
  left: 0; 
}

@media (max-width: 768px) {
  .sidebar {
    left: -220px; /* Hide sidebar by default on mobile */
  }
}

/************************************************************
  Content Area
************************************************************/
#content {
  margin-left: 200px; /* default with sidebar visible */
  padding: 20px;
  overflow-y: auto;
  height: calc(100vh - 50px);
  width: calc(100% - 200px);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  #content {
    margin-left: 0;
    width: 100%;
    padding: 10px;
  }
}

/************************************************************
  Toggle Sidebar Button
************************************************************/
.toggle-sidebar-btn {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  background-color: #5d3fd3;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
  display: none; 
}

@media (max-width: 768px) {
  .toggle-sidebar-btn {
    display: block; /* Show on mobile */
  }
}

/************************************************************
  Copy-To-Clipboard Notification
************************************************************/
.copy-message {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #5d3fd3;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
}

.copy-message.show {
  opacity: 1;
}

/************************************************************
  Message Bubble
************************************************************/
.message-bubble {
  background: #1a1a1a;
  margin: 10px 20px;
  padding: 15px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(93, 63, 211, 0.3);
  border: 1px solid #5d3fd3;
  transition: background-color 0.3s;
  word-wrap: break-word;
}

.message-bubble:hover {
  background-color: #222;
}

.message-bubble strong {
  color: #fff;
  font-size: 18px;
  display: block;
  margin-bottom: 5px;
}

.message-bubble p {
  color: #aaa;
  font-size: 16px;
}

/************************************************************
  Staff Docs or Other Generic Content
************************************************************/
.staff-content {
  color: #FFF;
  background: #1a1a1a;
  padding: 20px;
  border-radius: 8px;
  margin: 20px;
  font-family: 'Arial', sans-serif;
}

.staff-content h1, 
.staff-content h2, 
.staff-content h3 {
  color: #CCD1D9;
}

/************************************************************
  Profile Form
************************************************************/
.profile-form {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 2px 5px rgba(93, 63, 211, 0.3);
}

.profile-form h2 {
  margin-bottom: 20px;
  color: #fff;
}

.profile-form p {
  margin-bottom: 10px;
  color: #aaa;
}

/* Reuse input-group from login form */
.profile-form .input-group {
  margin-bottom: 15px;
}

.profile-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #fff;
}

.profile-form input[type="email"],
.profile-form input[type="password"] {
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #333;
  background-color: #2f2f2f;
  color: #ddd;
  font-size: 16px;
  outline: none;
}

.profile-form input[type="email"]:focus,
.profile-form input[type="password"]:focus {
  border-color: #5d3fd3;
  box-shadow: 0 0 8px #5d3fd3;
}

.report-form {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  margin: 30px auto;
  box-shadow: 0 2px 5px rgba(93, 63, 211, 0.3);
  color: #fff;
}

.report-form h2 {
  margin-bottom: 20px;
  color: #fff;
}

.report-form .input-group {
  margin-bottom: 15px;
}

.report-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #ccc;
}

.report-form select,
.report-form textarea,
.report-form input {
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #333;
  background-color: #2f2f2f;
  color: #ddd;
  font-size: 16px;
  outline: none;
}

.report-form select:focus,
.report-form textarea:focus,
.report-form input:focus {
  border-color: #5d3fd3;
  box-shadow: 0 0 8px #5d3fd3;
}

.report-form button {
  background: #5d3fd3;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  transition: background-color 0.3s;
  box-shadow: 0 0 8px #5d3fd3;
}

.report-form button:hover {
  background-color: #8e44ad;
}
