.validator-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.editor-container {
    position: relative;
    display: flex;
    width: 100%;
    height: 300px;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden; /* This is important for the rounded corners */
}

.line-numbers {
    width: 40px;
    padding: 1rem;
    background-color: #f0f0f0;
    font-family: monospace;
    font-size: 1em;
    line-height: 1.5;
    text-align: right;
    color: #999;
    user-select: none;
    box-sizing: border-box;

    /* ** FIX for scrolling ** */
    /* Match the container height and hide overflow */
    /* The scrollTop is controlled by JavaScript */
    height: 100%;
    overflow-y: hidden;
}

#schema-input {
    flex-grow: 1;
    height: 100%;
    padding: 1rem;
    border: none;
    border-left: 1px solid #ccc;
    border-radius: 0 8px 8px 0;
    font-family: monospace;
    font-size: 1em;
    line-height: 1.5;
    box-sizing: border-box;
    resize: none;
}

.button-group {
    display: flex;
    gap: 1rem;
}

#validate-btn,
#ai-validate-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    background-color: var(--accent-color);
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    align-self: flex-start;
}

#results-container {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f8f9fa;
    min-height: 100px;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--accent-color);
    text-decoration: none;
}
