 body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #e0f7fa, #e1bee7);
  color: #333;
}

.container {
  max-width: 600px;
  margin: auto;
  padding: 20px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-radius: 12px;
  margin-top: 30px;
}

h1 {
  text-align: center;
  color: #4a148c;
  font-size: 24px;
}

.form-group {
  margin: 15px 0;
  text-align: left;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

input[type="file"],
input[type="text"],
input[type="date"] {
  width: 100%;
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

button {
  background-color: #4a148c;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 16px;
  width: 100%;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 10px;
}

button:hover {
  background-color: #6a1b9a;
}

.canvas-container {
  margin-top: 20px;
  text-align: center;
}

canvas {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Navbar */
.custom-navbar {
  background-color: #0b1c4d;
  color: white;
  font-family: 'Segoe UI', sans-serif;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}
.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.logo {
  font-size: 1.6em;
  font-weight: bold;
  text-decoration: none;
  color: #FF9800;
}
.logo span {
  color: white;
}
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.nav-menu li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 4px;
  transition: background 0.3s;
}
.nav-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: white;
  margin-left: 15px;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-left, .nav-right {
    width: 100%;
    justify-content: space-between;
  }
  .nav-menu {
    flex-direction: column;
    width: 100%;
    display: none;
    margin-top: 10px;
  }
  .nav-menu.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}
