body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
}

/* Login & register*/

.box {
  max-width: 420px;
  margin: 30px auto;
  background: white;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* headings */
h1 {
  font-size: 32px;
  margin-top: 10px;
  text-align: center;
}

h3 {
  text-align: center;
}

h2 {
  font-size: 16px;
  color: #666;
  margin-bottom: 10px;
}

/* form inputs */
input {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

/* button style */
button {
  width: 100%;
  padding: 10px;
  background: #b37cf6;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background: #9b68de;
}
p {
  line-height: 1.5;
}

/* feeding page */
.page {
  max-width: 420px;
  margin: 30px auto;
  min-height: 90vh;
  background: white;
  padding: 20px 20px 90px 20px;
  box-sizing: border-box;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;
}

.welcome-text {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

/* top bar on logout */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #666;
  margin-bottom: 15px;
}

.top-logout {
  color: #b37cf6;
  text-decoration: none;
  font-weight: bold;
}

/* feeding button */
.main-button {
  display: block;
  width: 160px;
  margin: 0 auto 25px auto;
  padding: 12px;
  background: #b37cf6;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

/* info message */
.info-box {
  background: #39b9ee;
  color: white;
  padding: 14px;
  font-size: 14px;
  margin-top: 15px;
  border-radius: 6px;
}

/* bottom navigation bar */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 420px;
  margin: 0 auto;
  height: 70px;
  background: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid #ddd;
}

.bottom-nav a {
  text-decoration: none;
  color: #888;
  font-size: 14px;
  text-align: center;
}

.bottom-nav a.active {
  color: #b37cf6;
  font-weight: bold;
}

.nav-icon {
  display: block;
  font-size: 20px;
  margin-bottom: 4px;
}

/* nappies & walking pages */

/* grouped inputs for forms */
.row {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.input-group {
  flex: 1;
  text-align: left;
}

.input-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #444;
}

/* input types */
select,
textarea,
input[type="text"] {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 6px;
}

textarea {
  min-height: 80px;
  resize: vertical;
  margin-bottom: 15px;
}

/* history of feeds/napies/walks */
.history-title {
  margin-top: 25px;
  margin-bottom: 10px;
  text-align: left;
  font-size: 18px;
}

.history-list {
  margin-top: 10px;
}

.history-item {
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  text-align: left;
  color: #444;
}

.history-date {
  font-size: 12px;
  color: #777;
  margin-bottom: 5px;
}

/* help text */
.small-message {
  margin-top: 10px;
  font-size: 13px;
  color: #666;
}

.line {
  border: none;
  border-top: 1px solid #ddd;
  margin: 15px 0 25px 0;
}

.placeholder-box {
  background: #fafafa;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  color: #444;
}

.logout-link {
  display: inline-block;
  margin-top: 20px;
  color: #b37cf6;
  text-decoration: none;
}