#grammar-input {
    width: 100%;
    min-height: 150px;
    padding: 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 1rem;
}

#grammar-result {
    display: none;
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.error {
    text-decoration: underline wavy red;
    color: red;
    font-weight: 500;
}

#highlighted-text {
    line-height: 1.8;
    margin-bottom: 1rem;
}

#fix-prompt {
    display: none;
    margin: 1rem 0;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    text-align: center;
}

#fix-prompt p {
    margin-bottom: 1rem;
    font-weight: 500;
}

#corrected-text {
    display: none;
    line-height: 1.8;
    color: var(--dark);
    border-top: 1px solid var(--light-gray);
    padding-top: 1rem;
}

#fix-grammar {
    margin: 0 auto;
    display: block;
}