body {
  font-family: 'Space Grotesk', sans-serif;
  background: #000;
  color: #fff;
  margin: 0;
  padding: 2rem;
}

.main-container {
  max-width: 800px;
  margin: auto;
  padding-right: 320px;
}

.header {
  text-align: center;
  margin-bottom: 2rem;
}

.ai-img {
  width: 350px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.title {
  font-size: 2.5rem;
  margin-top: 1rem;
  color: #f0f0f0;
}

.subtitle {
  color: #c0c0c0;
  font-size: 1.1rem;
}

.auth-buttons {
  text-align: center;
  margin-bottom: 1rem;
}

.auth-buttons button {
  background: linear-gradient(to right, #0072ff, #00c6ff);
  border: none;
  color: white;
  padding: 10px 20px;
  margin: 0.5rem;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease;
}

.auth-buttons button:hover {
  transform: scale(1.05);
}

.glass-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

input,
button[type="submit"] {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: none;
  background: #1c1c2b;
  color: #fff;
  font-size: 1rem;
  box-sizing: border-box;
}

input:focus,
button:focus {
  outline: 2px solid #00c6ff;
}

button[type="submit"] {
  background: linear-gradient(to right, #7f00ff, #e100ff);
  cursor: pointer;
  margin-top: 1.25rem;
}

button[type="submit"]:hover {
  transform: scale(1.03);
}

/* Search */

.search-container {
  width: 100%;
  margin: 20px 0;
}

#searchInput {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

#searchInput::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

#searchInput:focus {
  outline: none;
  border: 1px solid #00c6ff;
  box-shadow: 0 0 15px rgba(0, 198, 255, 0.4);
}

/* Assignment Cards */

.assignment-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.assignment-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.assignment-completed {
  border-left: 5px solid #28a745;
  opacity: 0.9;
}

.assignment-info {
  flex-grow: 1;
}

.assignment-info h3 {
  margin: 0 0 8px;
  color: #fff;
}

.assignment-info p {
  margin: 4px 0;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

/* Buttons */

.button-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.complete-btn {
  background: #28a745;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.complete-btn:hover {
  background: #218838;
  transform: scale(1.05);
}

.delete-btn {
  background: #ff4d4d;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.delete-btn:hover {
  background: #ff1a1a;
  transform: scale(1.05);
}

/* Sidebar */

.sidebar-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 50;
  background: linear-gradient(to right, #7f00ff, #e100ff);
  color: white;
  padding: 10px 15px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(15px);
  border-left: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 40;
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar-title {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

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

.sidebar-list li {
  margin-bottom: 1rem;
}

/* Responsive */

@media (max-width: 1000px) {
  .main-container {
    padding-right: 0;
  }

  .sidebar {
    width: 260px;
  }
}

@media (max-width: 768px) {
  body {
    padding: 1rem;
  }

  .title {
    font-size: 2rem;
  }

  .assignment-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .button-group {
    width: 100%;
  }

  .complete-btn,
  .delete-btn {
    flex: 1;
  }
}
