html, body {
    margin: 0;
    height: 100%;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    color: #1e3d59;
    background: #f8fafd;
}

#header {
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#header-text {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

#content {
    height: 90vh;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
}

#sentence {
    width: 100%;
    padding: 1rem 1.2rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;

    border: 1px solid #cfdce6;
    border-radius: 10px;

    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    box-sizing: border-box;
    color: #1e3d59;
}

#sentence:focus {
    outline: none;
    border-color: #7aa8c7;
    box-shadow: 0 0 5px rgba(122,168,199,0.3);
}

#grammar-label {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e3d59;
}

#result {
    flex: 1;
    overflow-y: auto;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #d4e0eb;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

#result:empty::before {
    content: "Suggestions will appear here as you type...";
}

#result::-webkit-scrollbar {
    width: 8px;
}

#result::-webkit-scrollbar-thumb {
    background: #a3bcd8;
    border-radius: 10px;
}

#result::-webkit-scrollbar-thumb:hover {
    background: #8caac0;
}

.token-text {
    color: #1e3d59;
}

.grammar-info {
    color: #7f96ab;
}

.suggestion {
    margin-bottom: 12px;
    padding: 6px;
}