/* TOOL CONTAINER SETUP */
.schema-tool-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 2rem;
}

/* INPUT PANE (LEFT) */
.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: 15px;
}

.full-width {
    grid-column: span 2;
}

/* FORM ELEMENTS */
label {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
    color: #290F0F;
    font-size: 0.9rem;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #290F0F;
    font-family: 'Outfit', sans-serif;
    box-sizing: border-box;
    background: #fff;
}

.generate-btn {
    width: auto !important;
    padding: 15px 45px !important;
    margin-top: 25px;
    display: inline-block;
    cursor: pointer;
    background: #290F0F;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

/* OUTPUT PANE (RIGHT) */
.schema-output-pane {
    flex: 1;
    position: sticky;
    top: 20px;
}

.code-wrapper {
    background: #290F0F;
    color: #f1f1f1;
    padding: 25px;
    border-radius: 12px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    border: 2px solid #bda071;
}

#schemaOutput {
    flex-grow: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    white-space: pre-wrap;
    word-break: break-all;
    margin: 0 0 20px 0;
}

/* ACTION BUTTONS */
#tool-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-btn {
    text-align: center;
    border: none;
    border-radius: 6px;
    padding: 12px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: filter 0.2s;
}

.action-btn:hover { filter: brightness(1.1); }

.copy-btn { background: #bda071; }
.google-btn { background: #4285F4; }
.schema-btn { background: #77b21d; }

/* RESPONSIVE */
@media (max-width: 1000px) {
    .schema-tool-container { flex-direction: column; }
    .schema-output-pane { position: static; width: 100%; }
}