﻿:root {
    --primary-color: #005A9C;
    --primary-color-hover: #004578;
    --text-color: #333;
    --border-color: #ccc;
    --background-light: #f9f9f9;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --border-radius: 4px;
}
body {
    counter-reset: h2counter h3counter;
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    margin: 0;
    font-size: 1rem;
    padding: 2rem;
    cursor: default;
}
h2::before {
    counter-increment: h2counter;
    content: counter(h2counter) ". ";
    counter-reset: h3counter;
}
h3::before {
    counter-increment: h3counter;
    content: counter(h2counter) "." counter(h3counter) ". ";
}
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 1rem;
}
h1, h2, h3 {
    line-height: 1.3;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #222;
}
h1 { font-size: 2.2em; margin-top: 0.5em; }
h2 { font-size: 1.8em; border-bottom: 2px solid var(--border-color); padding-bottom: 0.3em; }
h3 { font-size: 1.4em; }
p {
    margin-bottom: 1em;
}
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--primary-color-hover);
    text-decoration: underline;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
th {
    background-color: var(--background-light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.5px;
}
tr:nth-child(even) {
    background-color: var(--background-light);
}
form {
    background: #fdfdfd;
    padding: 2em;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1.5em;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 1em;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.2);
}
button, input[type="submit"] {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1em;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.2s ease;
}
button:hover, input[type="submit"]:hover {
    background-color: var(--primary-color-hover);
}
p {
    line-height: 1.7;
    margin-bottom: 1.2em;
    text-align: justify;
    hyphens: auto;
}
.def {
    background-color: var(--background-light);
    border-left: 4px solid var(--primary-color);
    padding: .1em 1.5em;
    margin: 0.5em 4.5em;
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.def strong {
    color: #222;
    font-weight: 600;
}
.term {
    font-weight: 600;
    color: var(--primary-color-hover);
}
ul, ol {
    padding-left: 20px;
    margin-bottom: 1.5em;
}
li {
    margin-bottom: 0.5em;
}
.inactive-section {
    color: #999;
}
.inactive-section input,
.inactive-section textarea,
.inactive-section select,
.inactive-section button {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}
.inactive-section a {
    color: inherit;
    text-decoration: none;
    cursor: default;
    pointer-events: none;
}
.inactive-section h3 {
    color: inherit;
}
.inactive-section input {
    disabled: true;
}
.back-to-home-link {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: inline-block;
    background-color: var(--background-light);
    color: var(--text-color);
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.9em;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.back-to-home-link:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color-hover);
    cursor: pointer;
    transform: translateY(-2px);
    text-decoration: none;
}
.icon-placeholder {
    float: left;
    font-size: 55px;
    margin-left: 45px;
    margin-right: 25px;
    margin-bottom: 25px;
    line-height: 0.9;
    color: #BBB;
   font-weight: bolder;
}
.site-footer {
    width: 100%;
    margin-top: 4em;
    padding: 1em 0rem;
    background-color: var(--background-light);
    border-top: 1px solid var(--border-color);
    font-size: 0.9em;
    color: #666;
}
.footer-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-copyright {
    margin: 0;
}
.footer-links a {
    color: #555;
    margin-left: 20px;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-copyright {
        margin-bottom: 1em;
    }
    .footer-links a {
        margin: 0 10px;
    }
}
.collapsible {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}
.collapsible.active {
  max-height: 600px;
}
.icon-triangle {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 14px solid #333;
  margin-left: 10px;
  cursor: pointer;
  transition: transform 0.4s ease-in-out;
}
.icon-triangle.active {
  transform: rotate(180deg);
}
