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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.header h1 {
    font-size: 2.2em;
    font-weight: 300;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.1em;
    opacity: 0.9;
}

.content {
    padding: 40px;
}

.instructions {
    list-style: none;
    counter-reset: instruction-counter;
}

.instructions > li {
    counter-increment: instruction-counter;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9ff;
    border-left: 4px solid #667eea;
    border-radius: 5px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instructions > li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.instructions > li::before {
    content: counter(instruction-counter);
    position: absolute;
    left: -2px;
    top: -10px;
    background: #667eea;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.instructions > li strong {
    color: #4a5568;
    font-size: 1.1em;
}

.instructions > li p {
    margin-top: 8px;
    color: #666;
}

.instruction-image {
    max-width: 75%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.instruction-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: border-bottom-color 0.3s ease;
}

.instruction-link:hover {
    border-bottom-color: #667eea;
}

.footer {
    background: #f1f3f4;
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 0.9em;
}

ul.sub-list {
  list-style-position: inside;
}

ul.sub-list > li {
  list-style-type: disc;
  padding-left: 1em;
}

@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    
    .header {
        padding: 20px;
    }
    
    .header h1 {
        font-size: 1.8em;
    }
    
    .content {
        padding: 20px;
    }
    
    .instructions li {
        padding: 15px;
        margin-bottom: 20px;
    }
}
