/* Scope tutorial styles inside .tutorial-content */
.tutorial-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
}

/* Ensure tutorial headings don’t affect global ones */
.tutorial-content h1 {
    font-size: 28px;
    font-weight: bold;
    color: #2563eb;
    text-align: center;
    margin-bottom: 20px;
}

.tutorial-content h2 {
    font-size: 22px;
    color: #1e3a8a;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

/* Style for code blocks inside the tutorial */
.tutorial-content pre {
    background: #f8fafc;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #2563eb;
    font-family: monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: auto;
}

/* Inline code styling */
.tutorial-content code {
    font-family: monospace;
    background: #f3f4f6;
    padding: 2px 5px;
    border-radius: 4px;
}

/* Lists should remain left-aligned */
.tutorial-content ul {
    padding-left: 20px;
}

.tutorial-content ul li {
    margin-bottom: 8px;
}

/* Styling for tips and warnings */
.tutorial-content .tip {
    background: #d1fae5;
    padding: 15px;
    border-left: 4px solid #059669;
    border-radius: 6px;
    margin: 20px 0;
}

.tutorial-content .warning {
    background-color: #fee2e2;
    border-left: 4px solid #dc2626;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
}

/* Styling for step-by-step tutorial boxes */
.tutorial-content .step-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* Styling for important notes */
.tutorial-content .note {
    background: #fef3c7;
    padding: 15px;
    border-left: 4px solid #d97706;
    border-radius: 6px;
    margin: 20px 0;
}

/* Call-to-action buttons inside tutorial */
.tutorial-content .cta-button {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 10px 15px;
    text-align: center;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 10px;
}

.tutorial-content .cta-button:hover {
    background: #1e40af;
}

/* Footer styling for the tutorial page */
.tutorial-content footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}



/* Scope tutorial-specific styles */
.tutorial-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
}

/* Ensure tutorial headings don’t affect global ones */
.tutorial-content h1 {
    font-size: 28px;
    font-weight: bold;
    color: #2563eb;
    text-align: center;
    margin-bottom: 20px;
}

.tutorial-content h2 {
    font-size: 22px;
    color: #1e3a8a;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

/* Code block styling */
.tutorial-content pre {
    background: #f8fafc;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #2563eb;
    font-family: monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: auto;
}

/* Styling for steps */
.tutorial-content .step-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* CTA Buttons */
.tutorial-content .cta-button {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 10px 15px;
    text-align: center;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 10px;
}

.tutorial-content .cta-button:hover {
    background: #1e40af;
}



/* Tutorial Page Submenu */
.tutorial-submenu {
    background: #f8fafc;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
}

.tutorial-submenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tutorial-submenu ul li {
    display: inline;
    margin-right: 15px;
}

.tutorial-submenu ul li a {
    text-decoration: none;
    color: #2563eb;
    font-weight: bold;
}

.tutorial-submenu ul li a:hover {
    text-decoration: underline;
}


/* Impact Scale Container */
.impact-scale {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

/* Parameter Labels */
.impact-label {
    width: 20%;
    font-weight: bold;
}

/* Impact Bar */
.impact-bar {
    flex-grow: 1;
    height: 15px;
    background-color: #ddd;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

/* Impact Fill */
.impact-fill {
    height: 100%;
    background-color: #4CAF50; /* Green for high impact */
    transition: width 0.5s ease-in-out;
}

/* Impact Value */
.impact-value {
    width: 10%;
    text-align: right;
    font-weight: bold;
}

/* Quick Tip Section */
.tip {
    background-color: #f9f9f9;
    border-left: 5px solid #4CAF50;
    padding: 10px;
    margin-top: 15px;
    font-style: italic;
}