/* public/css/dashboard.css */

body {
  background-color: #2b2d31;           /* darker gunmetal grey */
  color: #fff;
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif; /* friendlier curvy font */
  font-size: 18px;                     /* larger, easier to read */
  min-height: 100vh;
}

/* Top Nav matches sidebar color and is sticky */
.navbar {
  background-color: #1B0623;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;

  position: fixed;     /* NEW: make sticky */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
.navbar h1 {
  margin: 0;
}

/* Wider Left Sidebar – doubled width and no shadow */
.sidebar {
  width: 560px;
  background-color: #1B0623;
  position: fixed;
  top: 60px;      /* sits under the sticky navbar (approx height) */
  bottom: 0;
  left: 0;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
}
.sidebar a {
  display: block;
  padding: 16px 32px;
  color: #ccc;
  text-decoration: none;
  font-size: 20px;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
}
.sidebar a:hover {
  background-color: #333;
  color: #fff;
}

/* Main Content shifted for new sidebar width, below sticky navbar */
.main-content {
  margin-left: 560px;   /* match sidebar width */
  margin-top: 60px;     /* keep content below the sticky navbar */
  padding: 40px;
  max-width: 900px;
  margin-right: auto;
}

/* User menu (hamburger) */
.user-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.user-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;         /* NEW: appear below the username/avatar */
  background-color: #2e2f34;
  min-width: 220px;
  z-index: 10;
  border-radius: 8px;
  overflow: hidden;
}
.user-dropdown a {
  color: #fff;
  padding: 14px 18px;
  text-decoration: none;
  display: block;
}
.user-dropdown a:hover {
  background-color: #444;
}
.user-menu:hover .user-dropdown {
  display: block;
}

/* Rounded dropdowns and inputs like Discord */
form select,
form input[type="text"],
form input[type="number"] {
  background-color: #1e1f22;
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: 8px;
  width: 100%;
  margin: 5px 0 15px 0;
}
form select:focus,
form input:focus {
  outline: 2px solid #5865F2;
}
button {
  background-color: #5865F2;
  border: none;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
}
button:hover {
  background-color: #4752C4;
}

/* ---------- LOGIN (HOME) PAGE CENTERING ---------- */
.home-wrap {
  min-height: calc(100vh - 60px); /* account for sticky navbar height */
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-card {
  text-align: center;
  max-width: 420px;
  padding: 30px 24px;
  background: #1e1f22;
  border-radius: 12px;
}
.home-bot-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}
.home-login-btn {
  display: inline-block;
  margin-top: 12px;
  background-color: #5865F2;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
}
.home-login-btn:hover {
  background-color: #4752C4;
}
/* Pretty multi-select dropdown */
.mdrop { position: relative; width: 100%; margin: 5px 0 15px 0; }
.mdrop-toggle {
  width: 100%;
  background-color: #1e1f22;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px;
  text-align: left;
  cursor: pointer;
}
.mdrop-toggle:focus { outline: 2px solid #5865F2; }
.mdrop-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background-color: #2e2f34;
  border-radius: 8px;
  max-height: 260px;
  overflow: auto;
  display: none;
  z-index: 10;
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
}
.mdrop-panel.open { display: block; }
.mdrop-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
}
.mdrop-row:hover { background-color: #3a3b3f; }
.mdrop-row input[type="checkbox"] { accent-color: #5865F2; }
/* Appeal page block styling */
.appeal-block {
  background-color: #2b2d31;  /* same dark grey as before */
  border: 2px solid #1e1f22;  /* visible border */
  border-radius: 12px;
  padding: 20px;
  margin: 20px auto;
  width: 700px;               /* match header block width */
  box-sizing: border-box;
}

.appeal-welcome {
  border: 2px solid #1e1f22;  /* darker outline for emphasis */
  padding: 15px;
  border-radius: 10px;
  background-color: #2b2d31;
  margin-top: 10px;
}

.appeal-input {
  background-color: #2b2d31;  /* match page background */
  color: #fff;
  border: 1px solid #444;
  border-radius: 8px;
  width: 100%;
  padding: 10px;
}

