body {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #667eea, #764ba2);
    height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    text-align: center;
    width: 300px;
}

h2 {
    color: #333;
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
    font-size: 14px;
}

input:focus {
    border-color: #764ba2;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #667eea;
    border: none;
    color: white;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #5a67d8;
}

.footer-text {
    margin-top: 20px;
    color: #888;
    font-size: 13px;
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 240px;
  background: linear-gradient(180deg,#0f1724 0%, #111827 100%);
  color: #e6eef8;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
  box-shadow: 0 6px 18px rgba(11,15,25,0.45);
  border-right: 1px solid rgba(255,255,255,0.03);
}

/* brand */
.sidebar .brand {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom: 6px;
}
.sidebar .brand .logo {
  width:46px;
  height:46px;
  border-radius:10px;
  background: linear-gradient(135deg,#4f46e5,#06b6d4);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  color:white;
  box-shadow: 0 6px 16px rgba(79,70,229,0.18), inset 0 -6px 16px rgba(0,0,0,0.12);
}
.sidebar .brand h1 {
  font-size:16px;
  margin:0;
  line-height:1;
}
.sidebar .brand p {
  margin:0;
  font-size:12px;
  color:rgba(230,238,248,0.8);
}

/* nav */
.sidebar nav { margin-top:10px; }
.sidebar .nav-link {
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  border-radius:8px;
  color:rgba(230,238,248,0.9);
  text-decoration:none;
  transition: all .18s ease;
  font-size:14px;
}
.sidebar .nav-link i { width:20px; text-align:center; font-size:14px; opacity:0.95; }

/* active / hover */
.sidebar .nav-link:hover {
  transform: translateX(6px);
  background: rgba(255,255,255,0.03);
  color:#fff;
}
.sidebar .nav-link.active {
  background: linear-gradient(90deg, rgba(99,102,241,0.14), rgba(16,185,129,0.04));
  color: #fff;
  border-left: 4px solid #6366f1;
  padding-left: 8px; /* visually align since left border added */
}

/* footer inside sidebar */
.sidebar .small {
  margin-top:auto;
  font-size:12px;
  color:rgba(230,238,248,0.7);
}

/* MAIN CONTENT */
.main-content {
  margin-left: 260px; /* leave space for sidebar */
  padding: 36px;
  min-height: 100vh;
  transition: margin .15s ease;
}

/* Card */
.card {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(20,30,50,0.06);
}

/* container inner */
.inner {
  background: linear-gradient(180deg,#ffffff 0%, #fbfdff 100%);
  padding: 28px;
  border-radius: 12px;
}

/* Form tweaks */
.form-label { font-weight:600; font-size:13px; color:#344054; }
.form-control {
  border:1px solid #e6eef6;
  padding:10px 12px;
  border-radius:8px;
  background: #fff;
  transition: box-shadow .12s ease, border-color .12s ease;
}
.form-control:focus {
  outline: none;
  border-color:#6366f1;
  box-shadow: 0 6px 20px rgba(99,102,241,0.08);
}
textarea.form-control { min-height:110px; resize:vertical; }

/* Buttons */
.btn-primary {
  background: linear-gradient(90deg,#4f46e5,#06b6d4);
  border:0;
  padding:10px 18px;
  border-radius:10px;
  box-shadow: 0 8px 18px rgba(79,70,229,0.16);
}
.btn-secondary {
  background:#f3f4f6;
  color:#111827;
  border:0;
  padding:10px 18px;
  border-radius:10px;
}

/* footer */
.footer {
  margin-top:30px;
  border-radius:10px;
  background: #0b1220;
  color: #cfe6ff;
  padding:10px 18px;
  font-size:13px;
  text-align:center;
  box-shadow: 0 6px 20px rgba(10,12,18,0.25);
}

/* Responsive: collapse sidebar on small screens */
@media (max-width: 900px) {
  .sidebar {
    position: relative;
    width:100%;
    height:auto;
    display:flex;
    flex-direction:row;
    align-items:center;
    padding:12px;
    gap:10px;
  }
  .sidebar nav { display:flex; gap:8px; }
  .sidebar .nav-link { padding:8px 10px; font-size:13px; border-radius:8px; }
  .main-content { margin-left: 0; padding:18px; }
  .inner { padding:18px; }
}

/* small niceties */
a.nav-link .label {display:inline-block;}