* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {

  min-height: 100vh;

  font-family: Arial, Helvetica, sans-serif;

  background:
    linear-gradient(
      135deg,
      #312e81,
      #7c3aed
    );
}

/* AUTH PAGES */

.container {

  width: 90%;
  max-width: 500px;

  background: white;

  padding: 45px;

  border-radius: 28px;

  box-shadow:
    0 15px 40px rgba(0,0,0,0.25);
}

/* TOP BUTTONS */

.top-buttons {

  display: flex;

  gap: 15px;

  margin-bottom: 35px;
}

.top-buttons button {

  flex: 1;

  border: none;

  padding: 14px;

  border-radius: 14px;

  font-size: 16px;

  font-weight: bold;

  cursor: pointer;
}

.active-btn {

  color: white;

  background:
    linear-gradient(
      90deg,
      #ff4d8d,
      #ff2d55
    );
}

.inactive-btn {

  background: #e5e7eb;

  color: #6b7280;
}

/* HEADINGS */

h1 {

  text-align: center;

  font-size: 48px;

  color: #111827;

  margin-bottom: 35px;
}

/* INPUTS */

.input-box {

  position: relative;

  margin-bottom: 22px;
}

.icon {

  position: absolute;

  left: 18px;
  top: 50%;

  transform: translateY(-50%);

  font-size: 18px;
}

.input-box input {

  width: 100%;

  padding: 18px 18px 18px 50px;

  border: none;

  border-radius: 14px;

  background: #f3f4f6;

  font-size: 17px;

  outline: none;
}

.input-box input:focus {

  background: white;

  border: 2px solid #2563eb;
}

/* GENERAL BUTTONS */

button {

  width: 100%;

  padding: 18px;

  border: none;

  border-radius: 14px;

  background:
    linear-gradient(
      90deg,
      #2563eb,
      #1d4ed8
    );

  color: white;

  font-size: 20px;

  font-weight: bold;

  cursor: pointer;

  transition: 0.2s;
}

button:hover {

  transform: translateY(-2px);

  box-shadow:
    0 10px 20px rgba(37,99,235,0.3);
}

/* LANDING PAGE */

.landing-text {

  text-align: center;

  color: #4b5563;

  font-size: 18px;

  line-height: 1.7;

  margin-bottom: 35px;
}

.landing-buttons {

  display: flex;

  gap: 15px;
}

.landing-buttons button {

  flex: 1;
}

/* DASHBOARD NAVBAR */

.navbar {

  width: 100%;

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 25px 60px;

  background:
    rgba(255,255,255,0.08);

  backdrop-filter: blur(10px);
}

.logo {

  font-size: 28px;

  font-weight: bold;

  color: white;
}

.nav-links {

  display: flex;

  gap: 30px;
}

.nav-links a {

  color: white;

  text-decoration: none;

  font-size: 17px;

  transition: 0.2s;
}

.nav-links a:hover {

  color: #ff4d8d;
}

/* HERO SECTION */

.hero {

  width: 100%;

  display: flex;

  justify-content: center;

  padding: 70px 20px 40px;
}

.hero-content {

  width: 90%;
  max-width: 1100px;

  background:
    rgba(255,255,255,0.1);

  backdrop-filter: blur(10px);

  padding: 50px;

  border-radius: 28px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.2);
}

.hero-content h1 {

  font-size: 56px;

  margin-bottom: 20px;

  color: white;
}

.hero-content p {

  font-size: 20px;

  line-height: 1.7;

  color: #e5e7eb;
}

/* STATS SECTION */

.stats-section {

  width: 90%;
  max-width: 1100px;

  margin: auto;

  display: flex;

  gap: 20px;

  margin-top: 30px;
}

.stat-card {

  flex: 1;

  background:
    rgba(255,255,255,0.1);

  backdrop-filter: blur(10px);

  padding: 35px;

  border-radius: 24px;

  text-align: center;

  color: white;
}

.stat-card h2 {

  font-size: 42px;

  margin-bottom: 10px;
}

.stat-card p {

  color: #e5e7eb;
}

/* REPORT SECTION */

.report-section {

  width: 100%;

  display: flex;

  justify-content: center;

  padding: 50px 20px;
}

.report-card {

  width: 90%;
  max-width: 1100px;

  background: white;

  color: black;

  padding: 45px;

  border-radius: 28px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.2);
}

.report-card h2 {

  font-size: 36px;

  margin-bottom: 25px;

  color: #111827;
}

/* TEXTAREA */

textarea {

  width: 100%;

  height: 180px;

  border: none;

  background: #f3f4f6;

  border-radius: 18px;

  padding: 20px;

  font-size: 18px;

  resize: none;

  margin-bottom: 20px;

  outline: none;
}

/* SELECT */

select {

  width: 100%;

  padding: 16px;

  border: none;

  border-radius: 14px;

  background: #f3f4f6;

  font-size: 16px;

  margin-bottom: 20px;
}

/* SPECIAL BUTTONS */

#voiceBtn {

  background:
    linear-gradient(
      90deg,
      #111827,
      #374151
    );

  margin-bottom: 20px;
}

#submitBtn {

  background:
    linear-gradient(
      90deg,
      #2563eb,
      #1d4ed8
    );
}

/* RESULT CARD */

#resultCard {

  margin-top: 30px;

  background: #f9fafb;

  padding: 25px;

  border-radius: 18px;
}

#resultCard h2 {

  margin-bottom: 20px;
}

#resultCard p {

  margin-bottom: 12px;

  font-size: 18px;
}

/* HIDDEN */

.hidden {

  display: none;
}
.complaints-section,
.status-section {

  width: 100%;

  display: flex;

  justify-content: center;

  padding: 20px;
}

.complaints-card {

  width: 90%;
  max-width: 1100px;

  background: white;

  padding: 40px;

  border-radius: 28px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.2);
}

.complaints-card h2 {

  font-size: 38px;

  margin-bottom: 25px;

  color: #111827;
}

.history-item {

  background: #f3f4f6;

  padding: 25px;

  border-radius: 20px;

  margin-bottom: 20px;
}

.history-item p {

  margin-bottom: 10px;

  font-size: 18px;

  color: #111827;
}
.auth-body {

  min-height: 100vh;

  display: flex;

  justify-content: center;

  align-items: center;
}

.admin-layout {

  display: flex;

  min-height: 100vh;
}

/* SIDEBAR */

.sidebar {

  width: 260px;

  background:
    rgba(255,255,255,0.08);

  backdrop-filter: blur(12px);

  padding: 40px 25px;

  color: white;
}

.sidebar h2 {

  font-size: 28px;

  margin-bottom: 50px;
}

.sidebar-links {

  display: flex;

  flex-direction: column;

  gap: 20px;
}

.sidebar-links a {

  text-decoration: none;

  color: white;

  font-size: 18px;

  padding: 14px 18px;

  border-radius: 14px;

  transition: 0.2s;
}

.sidebar-links a:hover {

  background:
    rgba(255,255,255,0.15);
}

/* MAIN AREA */

.admin-main {

  flex: 1;

  padding: 50px;
}

.admin-header {

  background:
    rgba(255,255,255,0.1);

  backdrop-filter: blur(10px);

  padding: 40px;

  border-radius: 28px;

  margin-bottom: 40px;

  color: white;
}

.admin-header h1 {

  font-size: 48px;

  margin-bottom: 15px;

  color: white;
}

.admin-header p {

  font-size: 18px;

  color: #e5e7eb;
}

/* COMPLAINT GRID */

.admin-complaints {

  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(320px, 1fr));

  gap: 25px;
}

/* ADMIN CARDS */

.admin-card {

  background: white;

  padding: 30px;

  border-radius: 24px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.15);
}

.admin-card p {

  margin-bottom: 14px;

  font-size: 18px;

  color: #111827;
}

.admin-card select {

  margin-top: 10px;
}

/* ADMIN CARD IMPROVEMENTS */

.admin-card {

  background: white;

  padding: 32px;

  border-radius: 26px;

  box-shadow:
    0 10px 25px rgba(0,0,0,0.15);

  transition: 0.25s;
}

.admin-card:hover {

  transform: translateY(-6px);

  box-shadow:
    0 20px 40px rgba(0,0,0,0.22);
}

.admin-card p {

  margin-bottom: 16px;

  font-size: 20px;

  line-height: 1.5;

  color: #111827;
}

/* STATUS TEXT */

.status-text {

  padding: 6px 14px;

  border-radius: 20px;

  color: white;

  font-size: 14px;

  font-weight: bold;
}

/* DROPDOWN */

.admin-card select {

  width: 100%;

  padding: 16px;

  margin-top: 15px;

  border: none;

  border-radius: 14px;

  background: #f3f4f6;

  font-size: 16px;

  outline: none;

  cursor: pointer;

  transition: 0.2s;
}

.admin-card select:hover {

  background: #e5e7eb;
}

/* SIDEBAR IMPROVEMENTS */

.sidebar {

  border-right:
    1px solid rgba(255,255,255,0.12);
}

.sidebar-links a {

  font-weight: 500;
}

.sidebar-links a:hover {

  transform: translateX(5px);
}

/* HEADER GLOW */

.admin-header {

  position: relative;

  overflow: hidden;
}

.admin-header::before {

  content: "";

  position: absolute;

  width: 200px;
  height: 200px;

  background:
    rgba(255,255,255,0.08);

  border-radius: 50%;

  top: -80px;
  right: -50px;
}
.delete-btn {

  margin-top: 15px;

  background:
    linear-gradient(
      90deg,
      #ef4444,
      #dc2626
    );

  padding: 12px;

  font-size: 16px;

  border-radius: 12px;
}

.delete-btn:hover {

  transform: translateY(-2px);

  box-shadow:
    0 10px 20px rgba(239,68,68,0.3);
}

.analytics-grid {

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 25px;

  margin-top: 40px;
}

.analytics-card {

  background: white;

  padding: 40px;

  border-radius: 24px;

  text-align: center;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.15);

  transition: 0.3s;

  cursor: pointer;
}

.analytics-card:hover {

  transform:
    translateY(-8px)
    scale(1.03);

  background:
    linear-gradient(
      135deg,
      #7c3aed,
      #9333ea
    );

  color: white;

  box-shadow:
    0 20px 40px rgba(124,58,237,0.4);
}

.analytics-card:hover {

  transform: translateY(-5px);
}

.analytics-card h2 {

  font-size: 52px;

  color: #7c3aed;

  margin-bottom: 15px;
}

.analytics-card p {

  font-size: 20px;

  color: #374151;
}
.analytics-card:hover h2 {

  color: white;
}

.analytics-card:hover p {

  color: white;
}
.status {

  padding: 8px 16px;

  border-radius: 20px;

  color: white;

  font-weight: bold;

  font-size: 14px;

  display: inline-block;

  margin-left: 10px;
}

.status.Submitted {

  background: #ef4444;
}

.status.Resolving {

  background: #f59e0b;
}

.status.Resolved {

  background: #22c55e;
}