/* Privacy policy and terms of use in every app language (built by scripts/legal/build_legal_pages.py).
   Logical properties only: the same sheet serves the RTL (he, ar) and LTR pages. */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: start;
}

h1 {
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

h2 {
    color: #34495e;
    margin-top: 30px;
}

h3 {
    color: #7f8c8d;
}

ul,
ol {
    line-height: 1.8;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.language-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.95em;
}

.language-menu [aria-current="page"] {
    font-weight: 700;
    color: #2c3e50;
}

.date {
    color: #7f8c8d;
    font-style: italic;
}

.highlight,
.important,
.prohibited,
.contact {
    padding: 15px;
    margin: 20px 0;
    border-inline-start: 4px solid;
}

.highlight {
    background-color: #d1ecf1;
    border-color: #17a2b8;
}

.important {
    background-color: #fff3cd;
    border-color: #ffc107;
}

.prohibited {
    background-color: #f8d7da;
    border-color: #dc3545;
}

.contact {
    background-color: #d4edda;
    border-color: #28a745;
}

/* Wide tables scroll inside their own box instead of widening the page on phones. */
.table-scroll {
    overflow-x: auto;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: start;
}

th {
    background-color: #3498db;
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

.cross-list,
.check-list {
    list-style: none;
    padding-inline-start: 0;
}

.cross-list li,
.check-list li {
    position: relative;
    padding-inline-start: 1.5rem;
    margin-bottom: 0.5rem;
}

.cross-list li::before,
.check-list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.3em;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
}

.cross-list li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='15' y1='9' x2='9' y2='15'/%3E%3Cline x1='9' y1='9' x2='15' y2='15'/%3E%3C/svg%3E");
}

.check-list li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");
}

hr {
    margin: 40px 0;
}

.footer {
    text-align: center;
    color: #7f8c8d;
    font-size: 0.9em;
}
