
:root {
  --font-main: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  --color-bg: #f9f9f9;
  --color-text: #111;
  --color-primary: #8B0000;
  --color-border: #ccc;
  --color-box: #fff;
  --color-accent: #e8e8e8;
}

body {
  margin: 0;
  padding: 2rem;
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

.form-wrapper {
  max-width: 720px;
  margin: auto;
  background: var(--color-box);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

h1 {
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 1rem;
  background-color: #fff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.field-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.field-group input {
  flex: 1;
}

fieldset {
  margin: 1rem 0;
  border: 1px solid var(--color-border);
  padding: 1rem;
  border-radius: 4px;
}

fieldset legend {
  font-weight: bold;
  padding: 0 0.5rem;
  color: var(--color-primary);
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input[type="checkbox"] {
  margin-right: 0.5rem;
}

button[type="submit"] {
  background-color: var(--color-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin: 2rem auto 0;
}

button[type="submit"]:hover {
  background-color: #a10000;
}

.info-box,
.rodo-box {
  background-color: var(--color-accent);
  padding: 1rem;
  margin: 1rem 0;
  border-left: 4px solid var(--color-primary);
  font-size: 0.95rem;
  border-radius: 4px;
}

a {
  color: var(--color-primary);
  text-decoration: underline;
}

#confirmation {
  background-color: #e6ffea;
  border-left: 4px solid #28a745;
  padding: 1rem;
  margin-top: 2rem;
  border-radius: 4px;
}

.hidden {
  display: none;
}
