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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
}

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

.settings {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.setting-item {
    margin-bottom: 0.5rem;
}

.setting-item label {
    display: inline-block;
    width: 150px;
}

.setting-item input {
    padding: 0.3rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.input-area {
    margin-bottom: 2rem;
}

textarea {
    width: 100%;
    height: 150px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
}

button {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

.display-area {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-height: 300px;
}

#textDisplay {
    font-size: 1.2rem;
    line-height: 2;
}

.text-line {
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.text-line.highlight {
    color: #2c3e50;
    font-weight: bold;
}

.text-line.dim {
    color: #95a5a6;
}

.settings-button {
    margin-top: 1rem;
    background-color: #27ae60;
}

.settings-button:hover {
    background-color: #219a52;
} 