/* Main Layout and Typography */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f7fa;
    color: #2c3e50;
    line-height: 1.6;
}

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

/* Labels */
label {
    display: block;
    margin: 1rem 0 0.5rem;
    font-weight: 500;
    color: #34495e;
}

/* Textareas */
textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #dce4ec;
    border-radius: 8px;
    font-size: 1.1rem;
    line-height: 1.5;
    resize: none;
    transition: border-color 0.3s ease;
}

textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

#inputText {
    background-color: #f8f9fa;
}

#userInput {
    background-color: #fff;
}

/* Buttons */
button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    margin: 0 10px 20px 0;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

button:active {
    transform: translateY(1px);
}

/* Results Section */
#output {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#output h2 {
    color: #2c3e50;
    margin-top: 0;
    font-size: 1.5rem;
}

#output p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    color: #34495e;
}

/* Responsive Design */
@media (max-width: 600px) {
    body {
        padding: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    textarea {
        font-size: 1rem;
        padding: 0.8rem;
    }

    button {
        width: 100%;
        margin: 0 0 10px 0;
    }
}
