.app {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.input-form label {
    display: block;
    margin-bottom: 10px;
}

.input-form select {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.help-text {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 2px;
    font-style: italic;
}

.parameters-summary {
    margin: 20px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.parameters-summary h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.parameter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.parameter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: white;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.parameter-label {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.parameter-value {
    font-weight: 700;
    color: #007bff;
    font-size: 14px;
}

@media (max-width: 768px) {
    .parameter-grid {
        grid-template-columns: 1fr;
    }
    
    .parameter-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}

.simulation-result table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.simulation-result th, .simulation-result td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: right;
}

.simulation-result th {
    background-color: #f4f4f4;
}

.positive {
    color: black;
}

.negative {
    color: red;
}

.notice {
    margin-top: 20px;
    font-size: 0.9em;
    color: #555;
    line-height: 1.5;
}

.navigation {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.navigation a:hover {
    background-color: #f0f0f0;
    color: #007bff;
}

.navigation a.active {
    background-color: #007bff;
    color: white;
}

.guide-section, .faq-category, .glossary-section {
    margin-bottom: 3rem;
}

.guide-section h2, .faq-category h2, .glossary-section h2 {
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.content-box {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.content-box h3 {
    color: #007bff;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-box ul {
    list-style-type: none;
    padding-left: 0;
}

.content-box ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.content-box ul li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #007bff;
}

.mistake-table, .comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.mistake-table th, .mistake-table td,
.comparison-table th, .comparison-table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #ddd;
}

.mistake-table th, .comparison-table th {
    background-color: #007bff;
    color: white;
}

.mistake-table tr:nth-child(even),
.comparison-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #f0f8ff;
    border-radius: 8px;
    margin-top: 3rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    margin: 0.5rem;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}

.cta-button.secondary {
    background-color: #6c757d;
}

.cta-button.secondary:hover {
    background-color: #545b62;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.faq-item {
    background-color: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    margin: 0;
    background-color: #f8f9fa;
    cursor: pointer;
    font-size: 1.1rem;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question:after {
    content: "▼";
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #007bff;
    transition: transform 0.3s ease;
}

.faq-question.open:after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    padding: 1.5rem;
    display: none;
    border-top: 1px solid #e9ecef;
}

.faq-answer ul {
    margin-left: 1.5rem;
}

.glossary-navigation {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.glossary-navigation a {
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.glossary-navigation a:hover {
    background-color: #007bff;
    color: white;
}

.term-item {
    background-color: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.term-item h3 {
    color: #007bff;
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.term-item p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

.subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.checklist {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.checklist label {
    display: block;
    padding: 0.75rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e9ecef;
}

.checklist label:last-child {
    border-bottom: none;
}

.checklist input[type="checkbox"] {
    margin-right: 1rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checklist label:hover {
    background-color: #fff;
    padding-left: 0.5rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #ddd;
}

.data-table th {
    background-color: #007bff;
    color: white;
}

.data-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.highlight-box {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.highlight-box h4 {
    color: #856404;
    margin-top: 0;
}

.note {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
}
