/* Beautiful, modern UI styles for login and form pages */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #fff;
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.container {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 1.2rem;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.12);
  width: 100%;
  max-width: 400px;
  border: 2px solid #b6e388;
}
h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #3bb143;
  letter-spacing: 1px;
}
.input-group {
  margin-bottom: 1.2rem;
}
label {
  display: block;
  margin-bottom: 0.4rem;
  color: #3bb143;
  font-weight: 600;
}
input[type="text"],
input[type="password"],
input[type="email"] {
  width: 100%;
  padding: 0.7rem;
  border: 1.5px solid #e1eec3;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border 0.2s;
  background: #f9ffe3;
}
input:focus {
  border: 1.5px solid #ffe066;
  outline: none;
}
button {
  width: 100%;
  padding: 0.8rem;
  background: #3bb143;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 8px 0 rgba(59, 177, 67, 0.08);
}
button:hover {
  background: #2a7c2e;
  color: #fff;
}
.error {
  color: #e74c3c;
  margin-bottom: 1rem;
  text-align: center;
}
.success {
  color: #3bb143;
  margin-bottom: 1rem;
  text-align: center;
}
@media (max-width: 700px) {
  body {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .container {
    max-width: 100vw;
    min-width: 0;
    padding: 1.2rem 0.7rem;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }
  .sidebar {
    width: 60px !important;
    min-width: 60px;
    max-width: 60px;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 1000;
  }
  .sidebar a {
    display: none;
  }
  .main-content {
    padding: 1rem;
    margin-left: 60px;
    width: calc(100vw - 60px);
    box-sizing: border-box;
  }
  form {
    width: 100%;
    min-width: 0;
  }
  input[type="text"],
  input[type="password"],
  input[type="email"] {
    font-size: 1rem;
    padding: 0.7rem;
  }
  button {
    font-size: 1rem;
    padding: 0.7rem;
  }
}
