body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f7f9fb;
  color: #222;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  background: #1a2332;
  color: #fff;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
}
.lang-switch {
  display: flex;
  gap: 8px;
}
.lang-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.lang-btn.active, .lang-btn:hover {
  background: #2e3a4d;
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 32px 12px 24px 12px;
}
.contract-select {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}
.contract-btn {
  background: #1a2332;
  color: #fff;
  border: none;
  padding: 18px 36px;
  font-size: 1.1rem;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(30,40,60,0.07);
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.contract-btn.active, .contract-btn:hover {
  background: #2e3a4d;
  transform: translateY(-2px) scale(1.03);
}
.back-link {
  margin-bottom: 20px;
  text-align: left;
  width: 100%;
  max-width: 700px;
}
.back-link a {
  color: #1a2332;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  background: #f0f2f5;
  transition: background 0.2s;
}
.back-link a:hover {
  background: #e0e4e8;
}
.contract-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(30,40,60,0.08);
  padding: 32px 24px;
  max-width: 700px;
  width: 100%;
  min-height: 320px;
  font-size: 1.05rem;
  line-height: 1.7;
  display: none;
}
.contract-content.active {
  display: block;
}
footer {
  text-align: center;
  padding: 18px 0 10px 0;
  background: #f0f2f5;
  color: #888;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}
.delete-form {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.delete-form input, .delete-form textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #cfd8dc;
  border-radius: 6px;
  font-size: 1rem;
  background: #f7f9fb;
  margin-top: 2px;
}
.delete-form button {
  background: #1a2332;
  color: #fff;
  border: none;
  padding: 12px 0;
  font-size: 1.05rem;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}
.delete-form button:hover {
  background: #2e3a4d;
}
.delete-form-result {
  margin-top: 12px;
}
@media (max-width: 600px) {
  .topbar {
    flex-direction: column;
    gap: 8px;
    padding: 14px 8px;
  }
  .contract-select {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .contract-btn {
    width: 100%;
    padding: 14px 0;
    font-size: 1rem;
  }
  .contract-content {
    padding: 18px 8px;
    font-size: 0.98rem;
  }
} 