/* Shared styles for all labs */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0d1117;
    color: #c9d1d9;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Breadcrumb navigation */
.breadcrumb {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #30363d;
}

.breadcrumb a {
    color: #58a6ff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #8b949e;
}

/* Lab header */
.lab-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #30363d;
}

.lab-number {
    display: inline-block;
    background: #238636;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    margin-right: 10px;
}

.difficulty {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
}

.difficulty.medium {
    background: #d29922;
    color: black;
}

.difficulty.hard {
    background: #da3633;
    color: white;
}

.lab-header h1 {
    font-size: 2.5em;
    margin: 15px 0 10px 0;
    color: #f0f6fc;
}

.lab-subtitle {
    color: #8b949e;
    font-size: 1.2em;
}

/* Objectives */
.objectives {
    list-style: none;
    margin: 20px 0;
}

.objectives li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid #21262d;
}

.objectives li:before {
    content: "○";
    position: absolute;
    left: 0;
    color: #8b949e;
}

.objectives li.completed:before {
    content: "✓";
    color: #238636;
}

.objectives li.completed {
    color: #8b949e;
    text-decoration: line-through;
}

/* Progress bar */
.progress-container {
    margin: 30px 0;
}

.progress-bar {
    height: 10px;
    background: #21262d;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #238636, #2ea043);
    width: 0%;
    transition: width 0.5s;
}

/* Buttons */
.primary-btn {
    display: inline-block;
    background: #238636;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.primary-btn:hover {
    background: #2ea043;
}

.secondary-btn {
    display: inline-block;
    background: #21262d;
    color: #c9d1d9;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #30363d;
    transition: all 0.3s;
}

.secondary-btn:hover {
    background: #30363d;
    border-color: #8b949e;
}

/* Footer */
.lab-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #30363d;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .lab-header h1 {
        font-size: 2em;
    }
    
    .container {
        padding: 10px;
    }
}