body {
  margin: 0;
  font-family: sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s, color 0.3s;
}

header {
  background: var(--nav-bg);
  padding: 1rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between; 
  flex-wrap: wrap;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent);
  flex: 0 0 auto; 
}

.menu-toggle {
  font-size: 1.8rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--accent);
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  order: 3;
}

p {
  line-height: 1.6;
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    display: none;
    width: 100%;
    margin-top: 3rem;
    padding: 1rem;
    order: 3;
  }

  nav.show {
    display: flex;
    background: var(--nav-bg);
    border-top: 1px solid #ccc;
  }

  .menu-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  .logo {
    order: 1;
  }
}

main {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
}

label {
  display: block;
  margin-top: 1rem;
}

input, select {
  width: 100%;
  padding: 10px;
  margin-top: 0.25rem;
}

button[type="submit"] {
  margin-top: 1.5rem;
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
}

.result {
  margin-top: 1rem;
  background: #e9ffe9;
  padding: 1rem;
  border: 1px solid #8cd98c;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

th, td {
  padding: 0.75rem;
  border: 1px solid #ccc;
  text-align: left;
}

th {
  background: var(--accent);
  color: white;
}

footer {
  padding: 1.5rem 1rem;
  text-align: center;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-links a {
  margin: 0 1rem;
  text-decoration: none;
  color: black;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}
.form-group-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.form-group-checkbox label.field_text {
    width: 150px;
}

.form-group-checkbox > div {
    display: flex;
    align-items: center;
    gap: 5px;
}
.link-list {
  list-style: none;     
  padding: 0;
  margin: 0;
}

.link-list li {
  margin-bottom: 1em;    
}

.link-list a {
  text-decoration: none;   
  color: #007BFF;         
  font-size: 16px;
}

.link-list a:hover {
  text-decoration: underline;
  color: #0056b3;        
}
input[type="text"], input[type="date"],
select,
.radio-group {
  width: 100%;
  max-width: 200px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.2s ease-in-out;
}

input[type="text"]:focus, input[type="date"]:focus,
select:focus {
  border-color: #007BFF;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
  outline: none;
}

input[type="radio"] {
  margin-right: 8px;
  accent-color: #007BFF;
}

.radio-group label {
  display: block;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 16px;
}

.button-main {
  background-color: #007BFF;
  color: white;
  border: none;
  max-width: 200px;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.button-main:hover {
  background-color: #0056b3;
}

.button-main:active {
  background-color: #004a99;
}

.button-main:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
nav {
  display: flex;
  gap: 1rem;
  flex-grow: 1; 
  justify-content: center; 
  order: 2;
}

nav a {
  text-decoration: none;
  color: var(--text);
  padding: 0.5rem 1rem;
}

nav a:hover {
  background: var(--accent);
  color: white;
  border-radius: 5px;
}
:root {
  --bg: #fff;
  --text: #222;
  --accent: #007acc;
  --nav-bg: #f4f4f4;
}
ul li{padding-bottom:8px;font-size:14px;line-height:30px;}
.tabs{display:flex;cursor:pointer;border-bottom:2px solid #ddd}.tab{padding:10px 20px;margin-right:10px;color:#fff;border:1px solid #ccc;border-radius:5px 5px 0 0;transition:background-color .3s;text-decoration:none;background-color:#ff7f00}a.tab:hover,a.tab:visited{text-decoration:none;color:#ffffff;}