/* Reset & Base Styles */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1e3c72, #2a5298); /* darker blue gradient */
  color: #e0e0e0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  padding: 0.75rem;
  gap: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.navbar a {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s, color 0.3s;
}

.navbar a:hover {
  transform: scale(1.2);
  color: #64B5F6;
}

/* Container Grid */
.container {
  max-width: 1200px;
  margin: 2rem auto;
  display: grid;
  gap: 2rem;
  padding: 0 1rem;
}

/* Glass Card */
.card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
  color: #fff;
  text-align: center;
  transform: perspective(1000px) translateZ(0);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: perspective(1000px) translateZ(15px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.card h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.card p {
  font-size: 1.2rem;
  margin: 0;
}

/* Buttons with 3D */
button, .link-card button, form button {
  background: linear-gradient(135deg, #6dd5ed, #2193b0);
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 12px;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

button:hover, .link-card button:hover, form button:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

/* Forms */
form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="number"],
form input[type="date"],
form textarea {
  width: 100%;
  padding: 0.9rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  border: none;
  font-size: 1rem;
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  box-shadow: inset 0 4px 8px rgba(0,0,0,0.2);
  backdrop-filter: blur(6px);
}

form input::placeholder, form textarea::placeholder {
  color: #ddd;
}

/* List styles */
#students-list, #tasks-list, #items-list {
  list-style: none;
  padding: 0;
}

#students-list li, #tasks-list li, #items-list li {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 0.8rem;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  color: #fff;
  transition: transform 0.3s;
}

#students-list li:hover, #tasks-list li:hover, #items-list li:hover {
  transform: scale(1.05);
}

/* Responsive layout */
@media (max-width: 600px) {
  .container {
    grid-template-columns: 1fr;
  }
}
/* Login Page Styles */
.login-body {
  background: linear-gradient(135deg, #74ebd5, #9face6);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: #333;
}

.login-container {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 3rem 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 100%;
  max-width: 400px;
}

.login-container h2 {
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: #333;
}

.login-form input {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: none;
  border-radius: 12px;
  box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  outline: none;
  background-color: #f0f4f8;
}

.login-form button {
  width: 100%;
  padding: 0.9rem;
  border: none;
  border-radius: 12px;
  background: linear-gradient(to right, #6dd5ed, #2193b0);
  color: white;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(33, 147, 176, 0.3);
}

.login-links {
  margin-top: 1.5rem;
}

.login-links a {
  color: #2193b0;
  text-decoration: none;
  margin: 0 1rem;
  font-size: 0.95rem;
}

.login-links a:hover {
  text-decoration: underline;
}

