.schema-tool-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 2rem;
}

.schema-inputs-pane {
    flex: 1.2;
    background: rgba(255, 255, 255, 0.4);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #290F0F;
}

.schema-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.full-width { grid-column: span 2; }
.relative { position: relative; }

.generator-hint {
    position: absolute;
    top: -18px;
    right: 0;
    font-size: 0.65rem;
    font-weight: 700;
    color: #bda071;
    text-transform: uppercase;
    white-space: nowrap;
}

.generator-hint a { color: inherit; text-decoration: underline; }

label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #290F0F;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #290F0F;
    font-family: 'Outfit', sans-serif;
    box-sizing: border-box;
}

.divider { border: 0; border-top: 1px solid #290F0F; opacity: 0.2; margin: 10px 0; }

.generate-btn {
    padding: 15px 45px;
    margin-top: 25px;
    background: #290F0F;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.schema-output-pane { flex: 1; position: sticky; top: 20px; }

.code-wrapper {
    background: #290F0F;
    color: #f1f1f1;
    padding: 25px;
    border-radius: 12px;
    min-height: 520px;
    max-height: 850px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border: 2px solid #bda071;
}

#schemaOutput { flex-grow: 1; font-family: 'Courier New', monospace; white-space: pre-wrap; font-size: 0.85rem; margin: 0; }

.hidden-actions { display: none; flex-direction: column; gap: 10px; margin-top: 20px; }

.action-btn { 
    width: 100%; padding: 12px; border-radius: 6px; font-weight: bold; color: #fff; border: none; cursor: pointer; font-family: 'Outfit', sans-serif;
}

.copy-btn { background: #bda071; }
.google-btn { background: #4285F4; }
.schema-btn { background: #77b21d; }

@media (max-width: 1100px) { .schema-tool-container { flex-direction: column; } }