body {
  font-family: Arial, sans-serif;
  background: #FBF9E7;
  margin: 0;
  color: #D64E7A;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

* { box-sizing: border-box; }
.nav { background: #D64E7A; padding: 12px; display: flex; gap: 14px; color: #FBF9E7; flex-wrap: wrap; }
.nav a { color: #FBF9E7; text-decoration: none; padding: 6px 10px; border-radius: 6px; }
.nav a:hover { background: #F5C9C0; color: #D64E7A; }
.nav .right { margin-left: auto; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.container { padding: 20px; max-width: 1100px; margin: 0 auto; flex: 1; width: 100%; }

.card {
  background: #F2E9D4;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  margin-bottom: 12px;
}

table { width: 100%; border-collapse: collapse; background: #FBF9E7; border-radius: 10px; overflow: hidden; }
th, td { padding: 12px; border-bottom: 1px solid #E7E7E2; }
th { background: #F5C9C0; text-align: left; color: #D64E7A; }

label { display:block; margin-top: 10px; font-weight: 600; }
input, select {
  width: 100%;
  padding: 10px;
  border: 1px solid #E7E7E2;
  border-radius: 8px;
  margin-top: 6px;
  background: #FBF9E7;
  color: #D64E7A;
}

button {
  margin-top: 12px;
  background: #D64E7A;
  color: #FBF9E7;
  border: 0;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
}
button:hover { background: #F5C9C0; }

.success { color: #D64E7A; }
.error { color: #D64E7A; }

.site-footer {
  margin-top: 24px;
  background: #F2E9D4;
  color: #D64E7A;
  border-top: 1px solid #E7E7E2;
}

.footer-inner {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px 8px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-title {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.footer-subtitle {
  font-size: 0.95rem;
  opacity: 0.85;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #D64E7A;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  background: #FBF9E7;
  border: 1px solid #E7E7E2;
}

.footer-links a:hover {
  background: #F5C9C0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 20px 16px;
  font-size: 0.9rem;
  border-top: 1px dashed #E7E7E2;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .container { padding: 16px; }
  .nav { gap: 10px; }
  .nav .right { margin-left: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .nav { flex-direction: column; align-items: flex-start; }
  .nav .right { width: 100%; justify-content: flex-start; }
  table { display: block; overflow-x: auto; }
  th, td { padding: 10px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  button { width: 100%; }
}
