/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: #f2f2f2;
  color: #333;
}

/* TOP BAR */
.topbar {
  background: #ffffff;
  border-bottom: 1px solid #ddd;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar h1 {
  font-size: 20px;
  font-weight: 600;
}

.topbar nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #555;
  font-weight: 500;
}

.topbar nav a.active {
  color: #5a189a;
  border-bottom: 2px solid #5a189a;
  padding-bottom: 4px;
}

/* MAIN LAYOUT */
.container {
  display: flex;
  min-height: calc(100vh - 60px);
}

/* SIDEBAR */
.sidebar {
  width: 220px;
  background: #e6e6e6;
  padding: 20px;
}

.sidebar h3 {
  font-size: 14px;
  margin-bottom: 15px;
  color: #555;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin-bottom: 12px;
}

.sidebar a {
  text-decoration: none;
  color: #444;
  font-size: 14px;
}

.sidebar a.active {
  color: #5a189a;
  font-weight: 600;
  pointer-events: none;
}

/* CONTENT */
.content {
  flex: 1;
  padding: 30px;
}

/* CARD */
.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 25px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* DASHBOARD PLACEHOLDERS */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-box {
  height: 120px;
  background: #dedede;
  border-radius: 16px;
}

/* LARGE BANNER */
.banner {
  height: 180px;
  background: #e0e0e0;
  border-radius: 18px;
  margin-bottom: 25px;
}

/* GRID BLOCKS */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.grid-4 div {
  height: 80px;
  background: #d6d6d6;
  border-radius: 12px;
}

/* TABLE */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

th {
  background: #5a189a;
  color: white;
  padding: 10px;
  font-size: 14px;
}

td {
  border: 1px solid #ccc;
  padding: 8px;
  font-size: 13px;
}

/* SUPPORT PAGE */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.support ul {
  list-style: none;
}

.support li {
  margin-bottom: 10px;
}

/* FEEDBACK CARD */
.feedback {
  background: #ededed;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

/* PROFILE FORM */
.profile-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.profile-form textarea {
  grid-column: span 2;
  height: 100px;
}

.profile-form input,
.profile-form textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.profile-form button {
  grid-column: span 2;
  background: #5a189a;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
}

/* LOGIN / REGISTER */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("bg.jpg") center / cover no-repeat;
}

.auth-card {
  background: rgba(255,255,255,0.85);
  padding: 30px;
  border-radius: 16px;
  width: 340px;
  text-align: center;
}

.auth-card input {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.auth-card button {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: none;
  background: #4dd0e1;
  color: #000;
  font-weight: 600;
}

/* Active nav link */
.topbar nav a.active {
  pointer-events: none;   /* Makes the link unclickable */
  opacity: 0.6;           /* Slightly faded to show current page */
  text-decoration: underline;  /* Optional: visually mark current page */
}
/* Sidebar active link */
.sidebar a.active {
  pointer-events: none;  /* Makes link unclickable */
  opacity: 0.6;          /* Slightly faded to indicate current page */
  font-weight: bold;      /* Optional: highlight current page */
  text-decoration: underline; /* Optional: underline current page */
}
