@import "global.css";

body {
    background-color: #000000;
    color: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.legal-container {
    max-width: 940px;
    margin: 40px auto;
    padding: 40px;
    background: #111;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.doc-title {
    font-family: "Druk Wide Cyr", serif-sans;
    font-size: 24px;
    color: #99FF00;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.doc-meta {
    color: #666;
    font-family: var(--font-h2);
    font-size: 14px;
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.doc-content {
    line-height: 1.6;
    font-family: var(--font-body);
    font-size: 16px;
    color: #ddd;
}

.doc-content h3, .doc-content h4 {
    color: #fff;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.doc-content p {
    margin-bottom: 15px;
}

.doc-content ol {
    counter-reset: item;
    list-style-type: none; /* Убираем стандартные цифры */
    padding-left: 0;
}

.doc-content ol > li {
    display: block;
    margin-bottom: 15px;
    position: relative;
    padding-left: 40px; /* Место для цифры */
}

.doc-content ol > li::before {
    content: counter(item) ".";
    counter-increment: item;
    position: absolute;
    left: 0;
    top: 0;
    color: #99FF00; /* Ярко-зеленый цвет */
    font-weight: bold;
    font-size: 18px;
    font-family: var(--font-body), sans-serif;
}

.doc-content ol ol {
    padding-left: 20px;
    margin-top: 10px;
}
.doc-content ol ol > li::before {
    font-size: 16px;
    color: #99FF00;
    opacity: 0.8;
}

.spinner-border {
    color: #99ff00;
}

.loading { text-align: center; color: #888; margin-top: 50px; }
.error { text-align: center; color: #ff4444; margin-top: 50px; }