body {
    font-family: Arial, sans-serif;
    max-width: 700px;
    margin: 20px auto;
    padding: 0 20px;
    color: #333;
    line-height: 1.6;
}

.back-link {
    display: inline-block;
    margin-bottom: 15px;
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
}

.back-link:hover {
    text-decoration: underline;
}

h1 {
    margin-top: 0;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="text"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
}

textarea {
    height: 100px;
    resize: vertical;
}

.symbols-container {
    display: flex;
    gap: 15px;
}

.symbols-container .form-group {
    flex: 1;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #2980b9;
}

.nav-button {
    display: block;
    width: auto;
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
    margin-bottom: 5px;
}

.nav-button:hover {
    background-color: #2980b9;
}

.result-box {
    margin-top: 20px;
    padding: 15px;
    background-color: #eef7ed;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    display: none;
}

.result-box h3 {
    margin-top: 0;
    color: #155724;
}

.error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.error h3 {
    color: #721c24;
}

details {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

summary {
    font-weight: bold;
    cursor: pointer;
    color: #2c3e50;
}

summary:hover {
    color: #3498db;
}

.explanation {
    margin-top: 10px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
}

code {
    background-color: #eaedd0;
    padding: 2px 5px;
    border-radius: 3px;
}