
/* Variables */
:root {
    --primary-color: #5551FF;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --border-color: #e5e5e5;
    --light-bg: #f9f9f9;
    --white: #ffffff;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.document-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.document-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
}

.document-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.document-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: var(--text-gray);
}

.document-meta p {
    margin: 0;
}

.document-meta strong {
    color: var(--text-dark);
}

/* Content */
.document-content {
    font-size: 15px;
    line-height: 1.8;
}

.document-content h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.document-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 25px;
    margin-bottom: 12px;
}

.document-content p {
    margin-bottom: 15px;
    color: var(--text-gray);
}

.document-content strong,
.document-content b {
    color: var(--text-dark);
    font-weight: 600;
}

.document-content ul,
.document-content ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.document-content li {
    margin-bottom: 10px;
    color: var(--text-gray);
}

/* Important Notice */
.important-notice {
    background: #FFF4E6;
    border-left: 4px solid var(--primary-color);
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.important-notice strong {
    color: var(--primary-color);
}

/* Table */
.document-table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    font-size: 14px;
    overflow-x: auto;
    display: block;
}

.document-table table {
    width: 100%;
    min-width: 500px;
}

.document-table th,
.document-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.document-table th {
    background: var(--light-bg);
    font-weight: 600;
    color: var(--text-dark);
}

.document-table td {
    color: var(--text-gray);
}

/* Example Box */
.example-box {
    background: var(--light-bg);
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    font-size: 14px;
}

.example-box p {
    margin-bottom: 8px;
}

/* Contact Section */
.contact-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.contact-section h2 {
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-section p {
    margin-bottom: 10px;
}

.contact-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-section a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .document-container {
        padding: 15px;
    }

    .document-title {
        font-size: 20px;
    }

    .document-content {
        font-size: 14px;
    }

    .document-content h2 {
        font-size: 18px;
    }

    .document-content h3 {
        font-size: 16px;
    }

    .document-table {
        font-size: 13px;
    }

    .document-table th,
    .document-table td {
        padding: 10px 8px;
    }
}
