* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
  height: 100vh;
  background: #f4f6f8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  background: #fff;
  width: 350px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card h2 {
  text-align: center;
  margin-bottom: 20px;
}

input {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

button {
  width: 100%;
  padding: 12px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background: #1e40af;
}

.link {
  text-align: center;
  margin-top: 15px;
}

#taskDrawer {
  animation: slideIn 0.2s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Activity Log card */
.activity-log-card {
  max-height: 120px;        /* controls total card height */
  display: flex;
  flex-direction: column;
}

/* Scroll area */
.activity-log {
  overflow-y: auto;
  flex: 1;                  /* THIS is the key */
  padding-right: 6px;
}
