body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 16px;
}

.section {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
}

textarea {
    width: 100%;
    min-height: 150px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

textarea:focus {
    outline: none;
    border-color: #3498db;
}

.button-container {
    text-align: center;
    margin: 25px 0;
}

button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

button:active {
    transform: translateY(0);
}

.error {
    background-color: #ffe6e6;
    border: 1px solid #ff9999;
    color: #cc0000;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.instructions {
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 4px;
}

.instructions h3 {
    margin-top: 0;
    color: #2c3e50;
}

.instructions ol {
    margin: 10px 0;
}

.instructions li {
    margin: 8px 0;
}

.example {
    background-color: #ecf0f1;
    padding: 10px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    margin: 5px 0;
}

#output,
#commands-output {
    background-color: #f8f9fa;
}

.copy-button {
    background: linear-gradient(135deg, #27ae60, #219a52);
    font-size: 14px;
    padding: 8px 20px;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.copy-button:hover {
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}
