
* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #e8e2d2;
  color: #6b6440;
  font-family: "TT Ramillas", Georgia, serif;
}

a {
  color: inherit;
}

.navbar {
  width: 100%;
  min-height: 58px;
  flex-shrink: 0;
  background: rgba(91, 84, 50, 0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-size: 17px;
  white-space: nowrap;
}

.brand {
  font-size: 29px !important;
  line-height: 1;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-right a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  border-radius: 50px;
}

.navbar-right a:hover {
  background: rgba(0, 0, 0, 0.1);
}

.main-content {
  flex: 1;
  width: 100%;
}

.footer {
  width: 100%;
  flex-shrink: 0;
  margin-top: auto;
  padding: 25px;
  background: rgba(91, 84, 50, 0.7);
  color: white;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.footer-logo {
  font-size: 27px;
}

.footer-brand p {
  margin: 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 15px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copyright {
  margin: 0;
  font-size: 12px;
  opacity: 0.85;
}

.status-message {
  display: none;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.65);
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.status-message.visible {
  display: block;
}

[hidden] {
  display: none !important;
}

@media (max-width: 600px) {
  .navbar {
    padding: 0 10px 0 15px;
  }

  .brand {
    font-size: 24px !important;
  }

  .navbar a {
    font-size: 14px;
  }

  .navbar-right a {
    padding: 8px 6px;
  }

  .footer {
    padding: 22px 15px;
  }

  .footer-links {
    gap: 15px;
  }
}
