/* Premium UI Container */
    .tutorial-container {
        font-family: 'Segoe UI', Tahoma, sans-serif;
        color: #1e293b;
        max-width: 800px;
        margin: 20px auto;
        padding: 30px;
        background: #ffffff;
        border-radius: 15px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
        border: 1px solid #e2e8f0;
    }

    .step-header {
        color: #7e22ce;
        font-size: 24px;
        font-weight: 800;
        margin-bottom: 20px;
    }

    .info-list {
        margin: 20px 0;
        padding-left: 20px;
    }

    .info-list li {
        margin-bottom: 10px;
        list-style-type: disc;
    }

    /* Editor Box */
    .editor-box {
        background: #1e1e1e;
        border-radius: 10px;
        margin: 25px 0;
        overflow: hidden;
    }

    .editor-header {
        background: #333;
        padding: 8px 15px;
        display: flex;
        gap: 6px;
    }

    .dot { width: 10px; height: 10px; border-radius: 50%; }

    #python-editor {
        height: 180px;
        width: 100%;
        font-size: 15px;
    }

    .console-output {
        background: #000;
        color: #4ade80;
        padding: 15px;
        font-family: 'Consolas', monospace;
        min-height: 50px;
        border-top: 2px solid #333;
        white-space: pre-wrap;
    }

    .btn-run {
        background: #22c55e;
        color: white;
        border: none;
        padding: 12px 25px;
        border-radius: 6px;
        font-weight: bold;
        cursor: pointer;
        margin: 10px 0 25px 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    /* Explanation Section (What's going on here?) */
    .explanation-section {
        background: #f1f5f9;
        padding: 20px;
        border-radius: 10px;
        margin: 20px 0;
    }

    .explanation-section h3 {
        margin-top: 0;
        color: #334155;
    }

    .explanation-item {
        margin-bottom: 15px;
        border-left: 3px solid #7e22ce;
        padding-left: 23px;
    }

    .explanation-item code {
        background: #e2e8f0;
        padding: 2px 6px;
        border-radius: 4px;
        font-weight: bold;
    }

    .challenge-section {
        background: #fffbeb;
        border: 2px dashed #f59e0b;
        padding: 20px;
        border-radius: 10px;
        margin-top: 30px;
    }

    ul li {
    margin-top: 6px !important;
   
}

p {
    margin: 0px 0 13px !important;
}

.code-container{
position:relative;
background:#f6f6f6;
border-radius:8px;
padding:16px;
margin-top:10px;
}

.copy-icon{
position:absolute;
top:10px;
right:10px;
border:none;
background:white;
border-radius:6px;
padding:6px 8px;
cursor:pointer;
font-size:14px;
transition:all .2s;
}

.copy-icon:hover{
background:#e5e5e5;
}

.copy-icon.copied{
background:#22c55e;
color:white;
}

span.error-red {
     color:red;
    font-weight:bold;
}
.error-red {
    color: red;
    font-weight: bold; /* optional */
}