/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #f4f4f9;
}

/* Container Styles */
.container {
  width: 90%;
  max-width: 400px;
  padding: 20px;
}

/* Login Styles */
.login-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
}

.login-card h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
}

input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

button {
  padding: 12px;
  background-color: #163aef;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  font-size: 1rem;
}

button:hover {
  background-color: #4753c4;
}

/* Dashboard Styles */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #5c67f2;
  color: white;
  padding: 10px 20px;
  border-radius: 12px;
  flex-wrap: wrap;
}

.dashboard-header h1 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.dashboard-header button {
  padding: 8px 15px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.dashboard-content {
  margin-top: 20px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.upload-section {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.upload-section button {
  width: 100%;
}

.document-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.document-list li {
  background: #e7e9fc;
  margin: 10px 0;
  padding: 10px;
  border-radius: 8px;
  font-size: 1rem;
}

/* Responsive Styles */
@media (min-width: 350px) {
  .container {
    max-width: 500px;
  }

  .dashboard-header {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .dashboard-header h1 {
    font-size: 2rem;
  }

  .dashboard-header button {
    margin-bottom: 0;
  }
}

@media (min-width: 768px) {
  body {
    padding: 20px;
  }

  .dashboard-content {
    margin-top: 30px;
    padding: 30px;
  }

  .document-list li {
    font-size: 1.1rem;
    padding: 15px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 600px;
  }

  .dashboard-header h1 {
    font-size: 2.5rem;
  }

  button {
    font-size: 1.1rem;
    padding: 12px 20px;
  }

  .upload-section button {
    width: auto;
    max-width: 300px;
  }
}


/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f9;
}

/* Header Styles */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #5c67f2;
  color: white;
  padding: 10px 20px;
  flex-wrap: wrap;
  border-radius: 12px;
}

.dashboard-header h1 {
  font-size: 1.5rem;
  margin: 0;
}

.dashboard-header button {
  padding: 8px 15px;
  font-size: 0.9rem;
}

/* Main Dashboard Styles */
.dashboard-main {
  margin: 20px auto;
  padding: 20px;
  max-width: 800px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.upload-section {
  margin-bottom: 20px;
  text-align: center;
}

.upload-section button {
  padding: 10px 20px;
  background-color: #5c67f2;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.upload-section button:hover {
  background-color: #4753c4;
}

.document-list {
  text-align: center;
}

.document-list h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.document-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.document-list li {
  background: #e7e9fc;
  margin: 10px 0;
  padding: 10px;
  border-radius: 8px;
  font-size: 1rem;
}

/* Responsive Styles */
@media (min-width: 350px) {
  .dashboard-main {
    padding: 15px;
  }

  .upload-section button {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .dashboard-main {
    padding: 30px;
  }

  .dashboard-header h1 {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .dashboard-main {
    margin-top: 40px;
  }

  .document-list li {
    font-size: 1.2rem;
    padding: 15px;
  }
}


/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.modal-content h2 {
  margin-bottom: 20px;
}

.modal-content form {
  display: flex;
  flex-direction: column;
}

.modal-content form label {
  margin-top: 10px;
  margin-bottom: 5px;
}

.modal-content form button {
  margin-top: 20px;
  padding: 10px;
  background-color: #5c67f2;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.modal-content form button:hover {
  background-color: #4753c4;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 20px;
  cursor: pointer;
}
/* General Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  display: flex;
  height: 100vh;
  background-color: #f4f4f4;
}

/* Dashboard Layout */
/* General Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  display: flex;
  height: 100vh;
  background-color: #f4f4f4;
}

/* Dashboard Layout */
.dashboard {
  display: flex;
  width: 100%;
  height: 100%;
}

/* Sidebar */
.sidebar {
  width: 250px;
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: all 0.3s ease;
}

.sidebar h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar ul li {
  padding: 15px;
  margin: 10px 0;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.sidebar ul li:hover,
.sidebar ul li.active {
  background-color: #34495e;
}

/* Main Content */
.main-content {
  flex-grow: 1;
  padding: 20px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

header {
  margin-bottom: 20px;
  padding: 10px 20px;
  background-color: #3498db;
  color: white;
  border-radius: 5px;
}

#content {
  flex-grow: 1;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .sidebar {
      position: fixed;
      top: 0;
      left: -250px;
      z-index: 1000;
      height: 100vh;
  }

  .sidebar.active {
      left: 0;
  }

  .main-content {
      margin-left: 0;
      padding-top: 60px;
  }

  /* Backdrop for sidebar toggle */
  .main-content::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 999;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
  }

  .sidebar.active + .main-content::before {
      opacity: 1;
      pointer-events: all;
  }
}

/* Small screen adjustments */
@media (max-width: 480px) {
  .sidebar h2 {
      font-size: 1.2rem;
  }

  .sidebar ul li {
      padding: 10px;
      font-size: 0.9rem;
  }

  header {
      padding: 8px 16px;
      font-size: 1rem;
  }
}


/* Main Content */
.main-content {
  flex-grow: 1;
  padding: 20px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

header {
  margin-bottom: 20px;
  padding: 10px 20px;
  background-color: #3498db;
  color: #fff;
  border-radius: 5px;
}

#content {
  flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .sidebar {
      position: fixed;
      left: -250px;
      transition: left 0.3s;
      z-index: 1000;
  }

  .sidebar.active {
      left: 0;
  }

  .main-content {
      margin-left: 0;
  }

  .main-content::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 999;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
  }

  .sidebar.active + .main-content::before {
      opacity: 1;
      pointer-events: all;
  }
}

