textarea { font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace; }

.field-shell {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-shell:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.field-input {
    width: 100%;
    border: 0;
    border-radius: 0.625rem;
    padding: 0.875rem 1rem;
    background: #ffffff;
    color: #0f172a;
    outline: none;
    font-size: 0.875rem;
    line-height: 1.5;
    transition: background-color 0.2s ease;
}

.field-input::placeholder {
    color: #94a3b8;
}

.field-input:focus {
    background: #fefefe;
}

.field-input-readonly {
    background: #f8fafc;
    color: #334155;
}

.toast {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    background: #000;
    color: #fff;
    padding: 0.5rem 0.875rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.history-copy-btn {
    color: #94a3b8;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: color 0.15s ease;
}

.history-copy-btn:hover {
    color: #3b82f6;
}
